joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427d20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x427d33
xor eax, eax
jmp 0x427e24
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.004c659c
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x427d51
xor eax, eax
jmp 0x427e24
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c635a
add esp, 4
mov edx, dword [ebp + 8]
lea eax, [edx + eax*2]
mov dword [ebp - 4], eax
push 0x5c
mov ecx, dword [ebp - 8]
add ecx, 2
push ecx
call fcn.004c659c
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x427df4
mov edx, dword [ebp - 8]
add edx, 2
cmp edx, dword [ebp - 4]
jae 0x427df4
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
sar eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00412170
push 0
lea ecx, [ebp - 0xc]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427dd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x427dd6
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.00413a40
mov eax, dword [ebp - 0x10]
jmp 0x427e24
push 0x5c
mov edx, dword [ebp - 8]
add edx, 2
push edx
call fcn.004c659c
add esp, 8
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
call fcn.00413a40
jmp 0x427d7a
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x427e1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x427e1a
mov dword [ebp - 0x14], 0
jmp 0x427e21
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4281c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x260], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004c62e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
mov dword [ebp - 0x25c], 0
xor edx, edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x234], 0
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x25c]
push ecx
push 0
push 0x4fa584
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x498]
push eax
call fcn.004123a0
add esp, 0xc
mov ecx, eax
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea ecx, [ebp - 0x498]
call fcn.00413a40
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
je 0x4283c7
mov dword [ebp - 0x490], 0
push 0x228
push 0
lea ecx, [ebp - 0x48c]
push ecx
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x490], 0x22c
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x238]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x494], eax
cmp dword [ebp - 0x494], 0
je 0x4283ba
mov ecx, dword [ebp - 0x488]
cmp ecx, dword [ebp - 4]
je 0x42839c
push 0x104
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x488]
push eax
call fcn.00425690
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x214]
jne 0x42839c
lea ecx, [ebp + 8]
call fcn.00413b50
push eax
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x42839c
mov dword [ebp - 0x260], 1
jmp 0x4283ba
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x238]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x494], eax
jmp 0x428316
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x49c], edx
lea ecx, [ebp + 8]
call fcn.00413a40
mov eax, dword [ebp - 0x49c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x428690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea ecx, [ebp - 0x64]
call fcn.004139c0
cmp dword [ebp + 0xc], 0
je 0x4286bf
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4fa640
lea edx, [ebp - 0x64]
push edx
call fcn.00415220
add esp, 0x10
jmp 0x4286d4
mov eax, dword [ebp + 8]
push eax
push 0x4fa650
lea ecx, [ebp - 0x64]
push ecx
call fcn.00415220
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x64]
call fcn.00413b30
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0
push 0x40
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x60], 0x44
mov ecx, 5
mov word [ebp - 0x30], cx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42878f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0x3e8
jbe 0x428785
push 0x3e8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x428785
mov edx, dword [ebp + 0x14]
sub edx, 0x3e8
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.00413b70
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x64]
call fcn.00413a40
mov eax, dword [ebp - 0x68]
mov esp, ebp
pop ebp
ret
Function at 0x4293d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3400
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
lea eax, [ebp - 0x1ec]
push eax
call fcn.0042fcd0
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1ec]
call fcn.00413a40
cmp dword [ebp - 0x18], 0xffffffff
jne 0x429453
xor eax, eax
jmp 0x4295b2
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4fa698
lea eax, [ebp - 0x128]
push eax
call fcn.0042fcb0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x429598
cmp dword [ebp - 0x14], 0
je 0x429598
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
call fcn.004c8b71
add esp, 4
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
call fcn.004c8b71
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x1e8], 0
push 0xa8
push 0
lea edx, [ebp - 0x1e4]
push edx
call fcn.004c62e0
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x1e8]
imul eax, eax, 0x3c
cdq
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00428a30
add esp, 0xc
movzx eax, word [ebp - 0x12e]
push eax
movzx ecx, word [ebp - 0x130]
push ecx
movzx edx, word [ebp - 0x132]
push edx
movzx eax, word [ebp - 0x136]
push eax
movzx ecx, word [ebp - 0x138]
push ecx
push 0x4fa6ac
mov edx, dword [ebp + 0x10]
push edx
call fcn.00415220
add esp, 0x1c
mov eax, 1
jmp 0x4295b2
xor eax, eax
jmp 0x4295b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x4295d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3428
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
lea eax, [ebp - 0x1ec]
push eax
call fcn.0042fd10
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1ec]
call fcn.00413a40
cmp dword [ebp - 0x18], 0xffffffff
jne 0x429653
xor eax, eax
jmp 0x4297b2
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Update_time_GMT:
lea eax, [ebp - 0x128]
push eax
call fcn.0042fcb0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x429798
cmp dword [ebp - 0x14], 0
je 0x429798
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
call fcn.004c8b71
add esp, 4
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
call fcn.004c8b71
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x1e8], 0
push 0xa8
push 0
lea edx, [ebp - 0x1e4]
push edx
call fcn.004c62e0
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x1e8]
imul eax, eax, 0x3c
cdq
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00428a30
add esp, 0xc
movzx eax, word [ebp - 0x12e]
push eax
movzx ecx, word [ebp - 0x130]
push ecx
movzx edx, word [ebp - 0x132]
push edx
movzx eax, word [ebp - 0x136]
push eax
movzx ecx, word [ebp - 0x138]
push ecx
push str._4d__02d__02d__02d:_02d
mov edx, dword [ebp + 0x10]
push edx
call fcn.00415220
add esp, 0x1c
mov eax, 1
jmp 0x4297b2
xor eax, eax
jmp 0x4297b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x42ad30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
je 0x42ad4e
cmp dword [ebp + 0xc], 0
je 0x42ad4e
cmp dword [ebp + 0x10], 0
je 0x42ad4e
cmp dword [ebp + 0x14], 0
jne 0x42ad55
xor eax, eax
jmp 0x42ade2
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 2
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42adcf
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42adcf
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x42addf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x42af90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x42afae
cmp dword [ebp + 0xc], 0
je 0x42afae
cmp dword [ebp + 0x10], 0
je 0x42afae
cmp dword [ebp + 0x14], 0
jne 0x42afb5
xor eax, eax
jmp 0x42b10c
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42afd0
xor eax, eax
jmp 0x42b10c
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c8058
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x42b010
jmp 0x42b0f7
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4faedc
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x42b02f
jmp 0x42b0f7
lea ecx, [ebp - 0x14]
call fcn.004139c0
mov dword [ebp - 0x1c], 0
jmp 0x42b049
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jae 0x42b0e0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x14]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
and eax, 0xffff
movzx ecx, ax
push ecx
push str.StringFileInfo_04x_04x_s
lea edx, [ebp - 0x14]
push edx
call fcn.00415220
add esp, 0x14
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00413b50
push eax
lea ecx, [ebp - 0x14]
call fcn.00413b30
push eax
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42b0db
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00413a60
jmp 0x42b040
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x14]
call fcn.00413a40
xor ecx, ecx
jne 0x42afe6
cmp dword [ebp - 0xc], 0
je 0x42b109
mov edx, dword [ebp - 0xc]
push edx
call fcn.004c6b64
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42b590
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x460]
push ecx
call fcn.00413890
push str..
push 0x104
lea edx, [ebp - 0x460]
push edx
call fcn.00432250
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
jne 0x42b5f6
jmp 0x42b75a
mov edx, dword [ebp + 0xc]
push edx
call fcn.00427d20
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x878]
push ecx
call fcn.00413890
lea edx, [ebp - 0x878]
push edx
call fcn.004c635a
add esp, 4
movzx eax, word [ebp + eax*2 - 0x878]
cmp eax, 0x5c
je 0x42b649
push 0x4fb004
push 0x104
lea ecx, [ebp - 0x878]
push ecx
call fcn.00432250
lea edx, [ebp - 0x22c]
push edx
push 0x104
lea eax, [ebp - 0x878]
push eax
call fcn.00432250
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x670]
push edx
call fcn.00413890
lea eax, [ebp - 0x670]
push eax
call fcn.004c635a
add esp, 4
movzx ecx, word [ebp + eax*2 - 0x670]
cmp ecx, 0x5c
je 0x42b6a8
push 0x4fb008
push 0x104
lea edx, [ebp - 0x670]
push edx
call fcn.00432250
lea eax, [ebp - 0x22c]
push eax
push 0x104
lea ecx, [ebp - 0x670]
push ecx
call fcn.00432250
mov edx, dword [ebp - 0x258]
and edx, 0x10
je 0x42b71b
cmp dword [ebp + 0x10], 0
je 0x42b719
push 0x4fb00c
lea eax, [ebp - 0x22c]
push eax
call fcn.004c8835
add esp, 8
test eax, eax
je 0x42b719
push 0x4fb010
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004c8835
add esp, 8
test eax, eax
je 0x42b719
push 1
lea edx, [ebp - 0x878]
push edx
lea eax, [ebp - 0x670]
push eax
call fcn.0042b590
add esp, 0xc
jmp 0x42b731
push 0
lea ecx, [ebp - 0x878]
push ecx
lea edx, [ebp - 0x670]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42b602
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x42b9f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42ba25
xor eax, eax
jmp 0x42bab4
mov dword [ebp - 0x438], 0x428
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x42ba51
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42bab4
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.004c8f2d
add esp, 8
test eax, eax
jne 0x42ba93
lea eax, [ebp - 0x218]
push eax
call fcn.004c635a
add esp, 4
add eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00413890
jmp 0x42baa7
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x42ba51
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x42bf00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x517d98]
and eax, 1
jne 0x42bf43
mov ecx, dword [0x517d98]
or ecx, 1
mov dword [0x517d98], ecx
mov ecx, 0x517d94
call fcn.004139c0
push 0x4f5240
call fcn.004c7553
add esp, 4
mov ecx, 0x517d94
call fcn.00413b50
test eax, eax
jne 0x42c03f
xor edx, edx
mov word [ebp - 0x88], dx
push 0x7e
push 0
lea eax, [ebp - 0x86]
push eax
call fcn.004c62e0
add esp, 0xc
push str.updatecfg.ini
push 0
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0040d0e0
add esp, 8
push eax
lea edx, [ebp - 0x90]
push edx
call fcn.004123a0
add esp, 0xc
mov ecx, eax
call fcn.00413b20
push eax
push 0x40
lea eax, [ebp - 0x88]
push eax
push 0
push 0x4fb168
push 0x4fb170
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x90]
call fcn.00413a40
lea ecx, [ebp - 0x8c]
call fcn.00413a40
movzx ecx, word [ebp - 0x88]
test ecx, ecx
jne 0x42c02e
push 0x517d94
push str.SDVersion.dll
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.0040d0e0
add esp, 8
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004123a0
add esp, 0xc
mov ecx, eax
call fcn.00413b20
push eax
call fcn.0041cc80
add esp, 8
lea ecx, [ebp - 0x98]
call fcn.00413a40
lea ecx, [ebp - 0x94]
call fcn.00413a40
jmp 0x42c03f
lea ecx, [ebp - 0x88]
push ecx
mov ecx, 0x517d94
call fcn.00413a60
push 0x517d94
mov ecx, dword [ebp + 8]
call fcn.004139e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x42dcf0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.004c62e0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x628], dx
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call fcn.004c62e0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.004c62e0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x630], eax
push 0x104
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [ebp - 0x62c], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x630], 0
je 0x42de3a
mov ecx, dword [ebp - 0x630]
sub ecx, 1
push ecx
mov ecx, dword [ebp + 8]
call fcn.00413b20
push eax
lea edx, [ebp - 0x418]
push edx
call fcn.004c64f6
add esp, 0xc
test eax, eax
jne 0x42de3a
mov ecx, dword [ebp + 8]
call fcn.00413b50
sub eax, dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x634]
push eax
mov ecx, dword [ebp + 8]
call fcn.00430520
push eax
push 0x4fc618
lea ecx, [ebp - 0x638]
push ecx
call fcn.00413ac0
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.004121a0
lea ecx, [ebp - 0x638]
call fcn.00413a40
lea ecx, [ebp - 0x634]
call fcn.00413a40
jmp 0x42df3e
cmp dword [ebp - 0x62c], 0
je 0x42debd
mov edx, dword [ebp - 0x62c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00413b20
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004c64f6
add esp, 0xc
test eax, eax
jne 0x42debd
mov ecx, dword [ebp + 8]
call fcn.00413b50
sub eax, dword [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x63c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00430520
push eax
push str._temp__
lea edx, [ebp - 0x640]
push edx
call fcn.00413ac0
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.004121a0
lea ecx, [ebp - 0x640]
call fcn.00413a40
lea ecx, [ebp - 0x63c]
call fcn.00413a40
jmp 0x42df3e
cmp dword [ebp - 0x41c], 0
je 0x42df3e
mov eax, dword [ebp - 0x41c]
sub eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.00413b20
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004c64f6
add esp, 0xc
test eax, eax
jne 0x42df3e
mov ecx, dword [ebp + 8]
call fcn.00413b50
sub eax, dword [ebp - 0x41c]
push eax
lea edx, [ebp - 0x644]
push edx
mov ecx, dword [ebp + 8]
call fcn.00430520
push eax
push str._userprofile__
lea eax, [ebp - 0x648]
push eax
call fcn.00413ac0
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.004121a0
lea ecx, [ebp - 0x648]
call fcn.00413a40
lea ecx, [ebp - 0x644]
call fcn.00413a40
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret