joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareSAMSUNGMULTILOADER
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c45d
mov dword [ebp - 4], 4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x2a0
push eax
push 3
push 0
push str.REG_LED_CONTROL_PORT_NUM
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x280
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x284
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x288
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM3
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x28c
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x290
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM5
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x294
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM6
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x298
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM7
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x29c
push eax
push 3
push 0
push str.REG_MODEM_PORT_NUM8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x40f100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x47aba0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xe4], ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.HARDWAREDEVICEMAPSERIALCOMM
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40f2b4
mov dword [ebp - 0x9c], 0x20
mov dword [ebp - 0x98], 0x80
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xe8], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, dword [ebp - 0x94]
add ecx, 1
mov dword [ebp - 0x94], ecx
test eax, eax
jne 0x40f2aa
mov dword [ebp - 0x9c], 0x20
push 0x46c810
lea edx, [ebp - 0xe0]
push edx
call fcn.00414370
add esp, 8
test eax, eax
je 0x40f2a5
mov dword [ebp - 0x98], 0x80
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
lea edx, [ebp - 0xe0]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
mov cx, word [eax]
mov word [ebp - 0xf2], cx
mov edx, dword [ebp - 0xec]
cmp cx, word [edx]
jne 0x40f274
cmp word [ebp - 0xf2], 0
je 0x40f268
mov eax, dword [ebp - 0xf0]
mov cx, word [eax + 2]
mov word [ebp - 0xf4], cx
mov edx, dword [ebp - 0xec]
cmp cx, word [edx + 2]
jne 0x40f274
add dword [ebp - 0xf0], 4
add dword [ebp - 0xec], 4
cmp word [ebp - 0xf4], 0
jne 0x40f20e
mov dword [ebp - 0xf8], 0
jmp 0x40f27f
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0
jne 0x40f2a5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40f2b6
jmp 0x40f15c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00443e25
mov esp, ebp
pop ebp
ret 4

Function at 0x4143d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x41b730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x46ba30
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b88d
mov dword [ebp - 4], 4
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xb8
push eax
push 0
push 0
push 0x46ba6c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xbc
push eax
push 0
push 0
push 0x46baa0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xc0
push eax
push 0
push 0
push 0x46bac8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xc4
push eax
push 0
push 0
push 0x46baf0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xc8
push eax
push 0
push 0
push 0x46bb18
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xcc
push eax
push 0
push 0
push 0x46bb40
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xd0
push eax
push 0
push 0
push 0x46bb68
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xd4
push eax
push 0
push 0
push 0x46bb90
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xd8
push eax
push 0
push 0
push 0x46bbb8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esp, ebp
pop ebp
ret
Function at 0x41c180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x47aba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0xc], 0x3a
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x31
mov byte [ebp - 9], 0x52
mov byte [ebp - 8], 0x31
mov byte [ebp - 7], 0x4f
mov byte [ebp - 6], 0x4e
mov byte [ebp - 5], 0xde
push 0
push 8
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x44
call fcn.004013d0
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x14], 0x3a
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x31
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x37
mov byte [ebp - 0xf], 0x4f
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0xd], 0xdc
push 0
push 8
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x44
call fcn.004013d0
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x1c], 0x3a
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x31
mov byte [ebp - 0x19], 0x52
mov byte [ebp - 0x18], 0x38
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x46
mov byte [ebp - 0x15], 0xdd
push 0
push 8
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x44
call fcn.004013d0
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0041c0e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443e25
mov esp, ebp
pop ebp
ret 4

Function at 0x41c5a0
Capabilities:
Reference absolute stream path on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x47aba0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], ecx
push 0x1000
push 0x1000
push 0
mov ecx, dword [ebp - 0x30]
call fcn.0041c920
test eax, eax
jne 0x41c5cf
xor al, al
jmp 0x41c63b
mov dword [ebp - 4], 0x46
mov eax, dword [ebp + 8]
push eax
push str..COM_d:115200_N_8_0
lea ecx, [ebp - 0x28]
push ecx
call fcn.0041c850
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.0041aa20
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
call fcn.0041ca60
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41c61e
mov ecx, dword [ebp - 0x30]
call fcn.0041ce20
test eax, eax
je 0x41c61e
mov al, 1
jmp 0x41c63b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
test eax, eax
jne 0x41c5d6
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00443e25
mov esp, ebp
pop ebp
ret 4
Function at 0x41c670
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jae 0x41c6be
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
mov eax, dword [ebp - 4]
and eax, 1
je 0x41c6b4
jmp 0x41c6be
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41c689
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.0041ce40
test eax, eax
je 0x41c6e4
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x41c6e2
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41c6f9
cmp dword [ebp + 0x10], 0
je 0x41c6f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor al, al
jmp 0x41c6fb
mov al, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41ce40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0x2c
push eax
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41cf0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e5
jne 0x41ceea
push 1
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41cee8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e4
je 0x41cee6
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
xor eax, eax
jmp 0x41cf14
jmp 0x41ce9d
jmp 0x41cf0f
cmp dword [ebp - 0x1c], 5
jne 0x41cef6
xor eax, eax
jmp 0x41cf14
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
xor eax, eax
jmp 0x41cf14
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x41cf30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [ebp - 0x10], 0
jne 0x41cf91
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0x18]
jae 0x41cf85
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x28], edx
jmp 0x41cf8b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x18
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], 0
jne 0x41d05d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e5
jne 0x41d024
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41d022
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e4
je 0x41d020
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41d060
jmp 0x41cfcd
jmp 0x41d05d
cmp dword [ebp - 0x20], 5
jne 0x41d03a
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41d060
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41d060
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4260f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42611c
cmp dword [edi + 0x54], 0
jne 0x42611c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00430e71
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004260b9
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42b989
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42b9d0
call fcn.00430e71
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42b9d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42b9ec
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042b501
mov esi, eax
test edi, edi
je 0x42b9ea
test ebx, ebx
je 0x42b9ea
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42c1e7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45e407
call fcn.0044624e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42c20c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42c252
lea ecx, [ebp - 0x10]
call fcn.00401ef0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424830
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401e90
mov eax, esi
call fcn.00446326
ret 8
Function at 0x42e0af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42e0f7
call fcn.00430e71
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42e0f7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42e13a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42e123
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42e123
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42e137
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42fbf4
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x42fc1f
call fcn.00430e71
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x42fc42
push eax
push dword [esi + 4]
call fcn.0042fb7a
push esi
push eax
mov ecx, 0x47e044
call fcn.0042f822
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x430438
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x45e3b3
call fcn.0044624e
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push ebx
call fcn.004303f8
and dword [ebp - 4], 0
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esi], vtable.CFtpConnection.0
call fcn.00401ef0
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00405570
push dword [esi + 8]
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4304bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
call fcn.0042fb7a
push dword [esi + 0xc]
mov ecx, 0x47e044
push eax
call fcn.0042f822
mov eax, esi
call fcn.00446326
ret 0x1c
Function at 0x443e25
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47aba0]
jne 0x443e2f
repz ret
jmp fcn.0044b8ce

Function at 0x456a6f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044b232
and dword [ebp - 4], 0
cmp dword [0x47f12c], 0
mov ebx, eax
jne 0x456b20
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x456bd1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x456bd1
push eax
call fcn.0044b1c0
mov dword [esp], 0x4662f8
push edi
mov dword [0x47f12c], eax
call esi
push eax
call fcn.0044b1c0
mov dword [esp], 0x4662e4
push edi
mov dword [0x47f130], eax
call esi
push eax
call fcn.0044b1c0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47f134], eax
call esi
push eax
call fcn.0044b1c0
pop ecx
mov dword [0x47f13c], eax
test eax, eax
je 0x456b20
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044b1c0
pop ecx
mov dword [0x47f138], eax
mov eax, dword [0x47f138]
cmp eax, ebx
je 0x456b78
cmp dword [0x47f13c], ebx
je 0x456b78
push eax
call fcn.0044b23b
push dword [0x47f13c]
mov esi, eax
call fcn.0044b23b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x456b78
test edi, edi
je 0x456b78
call esi
test eax, eax
je 0x456b6f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x456b6f
test byte [ebp - 0xc], 1
jne 0x456b78
or dword [ebp + 0x10], 0x200000
jmp 0x456bb1
mov eax, dword [0x47f130]
cmp eax, ebx
je 0x456bb1
push eax
call fcn.0044b23b
pop ecx
test eax, eax
je 0x456bb1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x456bb1
mov eax, dword [0x47f134]
cmp eax, ebx
je 0x456bb1
push eax
call fcn.0044b23b
pop ecx
test eax, eax
je 0x456bb1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47f12c]
call fcn.0044b23b
pop ecx
test eax, eax
je 0x456bd1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x456bd3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x459528
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x459559
call fcn.0044479b
mov dword [eax], esi
call fcn.00444788
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00445505
add esp, 0x14
push 0x16
pop eax
jmp 0x4595ae
test dword [ebp + 0xc], 0xfffffff9
jne 0x459535
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x459586
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004447ae
pop ecx
call fcn.00444788
mov eax, dword [eax]
jmp 0x4595ae
test al, 0x10
jne 0x4595ac
test al, 1
je 0x4595ac
test byte [ebp + 0xc], 2
je 0x4595ac
call fcn.0044479b
mov dword [eax], 5
call fcn.00444788
mov dword [eax], 0xd
jmp 0x45957d
xor eax, eax
pop esi
pop ebp
ret
Function at 0x54c291
Capabilities:
Resolve function by parsing pe exports

Disassembly:
enter 8, 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, dword [edi + 0x3c]
mov eax, dword [edi + 0x78]
test eax, eax
je 0x54c2fc
add eax, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
mov edi, dword [eax + 0x1c]
add edi, dword [ebp + 8]
mov esi, dword [eax + 0x20]
add esi, dword [ebp + 8]
mov ebx, dword [eax + 0x24]
add ebx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dl, byte [edx]
cmp dl, byte [eax]
jb 0x54c2fc
push ecx
push dword [ebp + 0xc]
push eax
call fcn.0054c25f
pop ecx
test eax, eax
jne 0x54c2f0
add esi, 4
inc ecx
cmp ecx, dword [ebp - 8]
jb 0x54c2c8
jmp 0x54c2fc
movzx eax, word [ebx + ecx*2]
mov eax, dword [edi + eax*4]
add eax, dword [ebp + 8]
jmp 0x54c2fe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x408530
Capabilities:
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, dword [ebx + 0x10]
mov eax, 0xcccccccd
mul edi
shr edx, 3
xor ecx, ecx
inc edx
mov esi, 0x811c9dc5
test edi, edi
je 0x40856e
jmp 0x408550
cmp dword [ebx + 0x14], 8
jb 0x40855a
mov eax, dword [ebx]
jmp 0x40855c
mov eax, ebx
movzx eax, word [eax + ecx*2]
imul esi, esi, 0x1000193
add ecx, edx
xor esi, eax
cmp ecx, edi
jb 0x408550
pop edi
mov eax, esi
pop esi
ret