joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ca0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4667d8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x430cd9
inc eax
mov dword [esi + 0x10], eax
jmp 0x430dec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x430ced
mov eax, 0xffffffc7
jmp 0x430dee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x430cfe
cmp dword [esi + 8], eax
jne 0x430ced
cmp dword [esi + 8], eax
jne 0x430d17
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x430d17
mov eax, 0xffffffc7
jmp 0x430dee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x430d2b
push eax
mov ecx, ebx
call fcn.004304d0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004041f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x430d5c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404210
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042fc40
test eax, eax
mov dword [esp + 0x38], eax
je 0x430d8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53bf10
call fcn.004043f0
mov eax, dword [esp + 0x38]
jmp 0x430dee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00430b00
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x430dd3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00430b20
mov esi, eax
test esi, esi
jne 0x430e03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00430b00
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x430da5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53bf10
call fcn.004043f0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53bf10
call fcn.004043f0
mov eax, esi
jmp 0x430dee

Function at 0x433f30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x433f90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x433f90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x433f90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x433f90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x433fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x439ee0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00460002
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00439880
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045ff30
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045c7f4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045c7f4
push 1
push 0
push 0
mov ecx, esi
call fcn.0045c79c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045c79c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460074
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43a060
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00460002
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00439880
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045ff30
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43a124
cmp dword [esp + 0x40], 1
jne 0x43a122
cmp ecx, eax
jge 0x43a124
mov eax, ecx
cmp eax, 0xc8
jge 0x43a130
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00439ee0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00460074
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43a8b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466e93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ac14
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004602aa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004617c6
test eax, eax
je 0x43a9cc
mov ecx, dword [esp + 0x3c]
call fcn.004602d7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43a990
push edi
mov ecx, esi
call fcn.0045d93b
mov ecx, esi
call fcn.0043ab30
cmp dword [esp + 0x38], 1
jne 0x43a9c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045da76
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43d3f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43d423
push esi
call fcn.004404e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d41c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43d4a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43d492
mov eax, dword [esi + 8]
test eax, eax
je 0x43d447
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43d48e
cmp eax, 2
je 0x43d492
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d43a
cmp eax, 3
je 0x43d46d
cmp eax, 1
jne 0x43d43a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43d43a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43d43a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043d4d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43d4b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043d4d0
add esp, 4
pop esi
ret

Function at 0x45ba0a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45ba42
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00459abe
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00459a96
jmp 0x45ba4e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45d0f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45d13a
call fcn.00462bb1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45d13a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45d131
xor eax, eax
jmp 0x45d142
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045d148
pop edi
pop esi
pop ebx
ret 4

Function at 0x4630e1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46310f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46312d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00463047
jmp 0x46312d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46312d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00463047
test edi, edi
mov eax, edi
jne 0x463117
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x4b5c782f
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x381f48ba
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x401ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
cmp edi, 4
jle 0x401b14
lea esi, [edi - 1]
mov ecx, dword [esp + 0x10]
shr esi, 2
mov eax, esi
push ebx
neg eax
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x18]
mov ebx, dword [ecx]
mov ebp, dword [eax]
xor ebx, ebp
mov ebp, dword [eax + 4]
add eax, 4
add ecx, 4
or edx, ebx
add eax, 4
mov ebx, dword [ecx]
add ecx, 4
xor ebx, ebp
mov ebp, dword [eax]
or edx, ebx
mov ebx, dword [ecx]
xor ebx, ebp
mov ebp, dword [eax + 4]
add eax, 4
add ecx, 4
or edx, ebx
add eax, 4
mov ebx, dword [ecx]
add ecx, 4
xor ebx, ebp
or edx, ebx
dec esi
jne 0x401ad4
pop ebx
jmp 0x401b1c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test edi, edi
jle 0x401b33
mov esi, edi
mov edi, dword [ecx]
mov ebp, dword [eax]
xor edi, ebp
add eax, 4
or edx, edi
add ecx, 4
dec esi
jne 0x401b22
xor eax, eax
pop edi
test edx, edx
pop esi
pop ebp
setne al
ret
Function at 0x4017d0
Capabilities:
Check if file exists
Create directory
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
push edi
lea edi, [ebp - 0x224]
mov ecx, 0x89
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0040172c
add esp, 4
mov esi, esp
push 0x40f180
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.00401e50
test eax, eax
jne 0x401892
push 0x100
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.00402c10
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004015dc
add esp, 4
mov esi, esp
push 0x40f194
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.00401e50
test eax, eax
jne 0x401892
xor eax, eax
jmp 0x4019c2
push 0x104
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.00402c10
add esp, 0xc
mov esi, esp
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
push 0x40f1a8
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
push 0x40f1b0
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
push 1
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
cmp esi, esp
call fcn.00401e50
mov esi, esp
push 0
push 0
push 1
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp esi, esp
call fcn.00401e50
mov dword [ebp - 0xc], 0xc
lea ecx, [ebp - 0x120]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov esi, esp
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.00401e50
test eax, eax
jne 0x40197c
xor eax, eax
jmp 0x4019c2
mov esi, esp
push 0x40f1c0
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.00401e50
cmp eax, 1
jne 0x4019c0
mov eax, 1
jmp 0x4019c2
xor eax, eax
pop edi
pop esi
add esp, 0x224
cmp ebp, esp
call fcn.00401e50
mov esp, ebp
pop ebp
ret
Function at 0x4019d5
Capabilities:
Check if file exists
Delete directory
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push esi
push edi
lea edi, [ebp - 0x30c]
mov ecx, 0xc3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x104
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.00402c10
add esp, 0xc
mov esi, esp
push 0x104
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
push str.Temp
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
push str.Index_BackUp
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.00401e50
test eax, eax
jne 0x401a7a
xor eax, eax
jmp 0x401b8d
push 0x104
push 0
lea edx, [ebp - 0x30c]
push edx
call fcn.00402c10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x30c]
push ecx
call fcn.00402c70
add esp, 0xc
mov esi, esp
push 0x40f1ec
lea edx, [ebp - 0x30c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.00401e50
test eax, eax
jne 0x401ae7
xor eax, eax
jmp 0x401b8d
push 0x104
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00402c10
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
call fcn.004015dc
add esp, 4
mov esi, esp
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.00401e50
test eax, eax
jne 0x401b35
lea ecx, [ebp - 0x104]
push ecx
call fcn.00401ba0
add esp, 4
mov esi, esp
push str.IndexDBList.xml
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.00401e50
mov esi, esp
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp esi, esp
call fcn.00401e50
call fcn.00401cc9
mov eax, 1
pop edi
pop esi
add esp, 0x30c
cmp ebp, esp
call fcn.00401e50
mov esp, ebp
pop ebp
ret
Function at 0x401ba0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
push edi
lea edi, [ebp - 0x12c]
mov ecx, 0x4b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
cmp esi, esp
call fcn.00401e50
mov esi, esp
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp esi, esp
call fcn.00401e50
mov dword [ebp - 0x10], 0xc
lea edx, [ebp - 0x24]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
push 0x104
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00402c10
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.00402c70
add esp, 0xc
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0x5c
mov esi, esp
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp esi, esp
call fcn.00401e50
test eax, eax
jne 0x401cb6
mov esi, esp
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00401e50
cmp eax, 1
jne 0x401c8b
push 0x104
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00402c70
add esp, 0xc
jmp 0x401c38
mov dword [ebp - 0x28], 0
push 0x5c
lea edx, [ebp - 0x12c]
push edx
call fcn.00402fb0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x401cae
jmp 0x401cb6
mov eax, dword [ebp - 0x28]
mov byte [eax], 0
jmp 0x401c38
pop edi
pop esi
add esp, 0x12c
cmp ebp, esp
call fcn.00401e50
mov esp, ebp
pop ebp
ret
Function at 0x401050
Capabilities:
Create process on windows

Disassembly:
call fcn.0040e540
test eax, eax
je 0x4010ce
mov eax, dword [0x42b48c]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x7d0
push str.Now_installing_files.
push 0x17
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x34
push str.EXEpress_CX
push str.Now_installing_files.
push esi
call ebx
cmp eax, 6
jne 0x4010cc
push 1
push 0
push 0
push str.http:__www.webtech.co.jp_onlinesoft_exepress_
push 0
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4010cc
mov ecx, dword [0x42b48c]
push 0x7d0
push str.Now_installing_files.
push 2
push ecx
call edi
push 0x30
push str.EXEpress_CX
push str.Now_installing_files.
push esi
call ebx
pop edi
pop ebx
ret

Function at 0x401580
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ecx, dword [0x42afac]
xor eax, eax
test ecx, ecx
mov dword [0x42aed0], 1
je 0x401640
mov eax, dword [esp + 4]
push ebx
push ecx
push 0xfffffffffffffff8
push eax
mov dword [0x42afa8], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [0x42afac]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x42afac]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call ebx
test dword [0x42ee40], 0x800
je 0x40162f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x7d0
jae 0x40160a
mov edi, edi
mov edx, dword [0x42afac]
push edx
call fcn.00407720
add esp, 4
call esi
sub eax, edi
cmp eax, 0x7d0
jb 0x4015f0
mov eax, dword [0x42afac]
push 1
push 0
push eax
mov dword [0x42aed0], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x42afac]
push ecx
call ebx
pop edi
pop esi
mov eax, 1
mov dword [0x42aed0], 0
pop ebx
ret
mov dword [0x42aed0], eax
ret

Function at 0x401ae0
Capabilities:
Get disk information
Get file size

Disassembly:
sub esp, 0x114
mov eax, dword [0x4292b4]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [esp + 0x14]
cmp al, 0x5c
jne 0x401b17
mov edi, 4
jmp 0x401b37
lea ecx, [esp + 8]
push ecx
mov byte [esp + 0xc], al
mov byte [esp + 0xd], 0x3a
mov byte [esp + 0xe], 0x5c
mov byte [esp + 0xf], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401b74
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0040ffc4
add esp, 0x114
ret
push ebx
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 3
je 0x401ba7
cmp edi, 6
je 0x401ba7
mov eax, 0x1e8480
cmp eax, ebx
jmp 0x401bae
mov ecx, 0x989680
cmp ecx, ebx
mov ecx, dword [esp + 0x11c]
pop ebx
pop edi
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.0040ffc4
add esp, 0x114
ret