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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x412529
xor ecx, ecx
jne 0x412529
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41254a
mov eax, 0xd
jmp 0x4125a5
xor eax, eax
jne 0x412531
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x41255b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x413fa0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00425bfa
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x414050
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004255c5
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.00425bfa
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x413fef
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push 0
push 0x4391f8
push 0x439200
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00416b20
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x417fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x442730]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0xc], 1
mov ecx, 0x443bc4
call fcn.004031b0
mov dword [ebp - 8], eax
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41814b
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41814b
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41814b
cmp dword [ebp - 0xc], 0
je 0x41814b
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
test eax, eax
je 0x41814b
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
movzx ecx, word [ebp - 0x20]
cmp ecx, 0x403
jne 0x4180c9
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x130]
call fcn.004182c0
lea ecx, [ebp - 0x130]
call fcn.0040bf00
push eax
push 0
push 0x143
movzx eax, word [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x25c]
add ecx, 4
call fcn.00418160
cmp eax, 0xffffffff
jne 0x4180bc
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x130]
call fcn.004182f0
jmp 0x41813d
movzx ecx, word [ebp - 0x20]
cmp ecx, 0x1234
jne 0x41813d
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x150], 0xffffffff
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x258]
call fcn.004182c0
mov ecx, eax
call fcn.0040bf00
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x258]
call fcn.004182f0
lea eax, [ebp - 0x154]
push eax
push 0
push 0x40b
movzx ecx, word [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x25c]
add ecx, 4
call fcn.00418160
cmp eax, 0xffffffff
jne 0x41813d
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
jmp 0x418020
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00425ae5
mov esp, ebp
pop ebp
ret 4
Function at 0x41e010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x442730]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
mov byte [ebp - 0x211], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00425b80
add esp, 0xc
mov edx, dword [ebp - 0x218]
add edx, 0xaec
push edx
push 0x439af0
lea eax, [ebp - 0x210]
push eax
call fcn.0041f530
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41e0ae
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x439b08
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41e0ae
mov byte [ebp - 0x211], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x211]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00425ae5
mov esp, ebp
pop ebp
ret 4

Function at 0x41e710
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 5
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 4
Function at 0x41e740
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
push 0x104
mov eax, dword [ebp - 0x18]
add eax, 0x1d0
push eax
call fcn.00428142
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0x1d0
push ecx
call fcn.00427e7a
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
jmp 0x41e7a6
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x41e7d3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2 + 0x1d0]
cmp eax, 0x5c
jne 0x41e7d1
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov word [eax + edx*2 + 0x1d0], cx
jmp 0x41e7d3
jmp 0x41e79d
mov ecx, dword [ebp - 0x18]
add ecx, 0x1d0
push ecx
push str._slander.ini
push 0x104
mov edx, dword [ebp - 0x18]
add edx, 0x3d8
push edx
call fcn.0041fe70
add esp, 0x10
mov dword [ebp - 0x14], 1
jmp 0x41e80b
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 4]
jge 0x41e8fd
push 0x439dbc
call fcn.00427e7a
add esp, 4
push eax
push str._ShowDeskTop
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0042809c
add esp, 0xc
test eax, eax
jne 0x41e852
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1c0], 1
jmp 0x41e8f8
push 0x439df4
call fcn.00427e7a
add esp, 4
push eax
push str._Setup
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.0042809c
add esp, 0xc
test eax, eax
jne 0x41e88a
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x1cc], 1
jmp 0x41e8f8
push 0x439e14
call fcn.00427e7a
add esp, 4
push eax
push str._Uninstall
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0042809c
add esp, 0xc
test eax, eax
jne 0x41e8c2
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1c4], 1
jmp 0x41e8f8
push 0x439e44
call fcn.00427e7a
add esp, 4
push eax
push str._NotRun
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0042809c
add esp, 0xc
test eax, eax
jne 0x41e8f8
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1c8], 1
jmp 0x41e802
mov esp, ebp
pop ebp
ret
Function at 0x420940
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00425c54
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x420a22
mov dword [ebp - 0x14], 0
jmp 0x4209a6
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x190]
jge 0x420a13
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x194]
push ecx
call fcn.004208c0
add esp, 8
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x190]
sub ecx, 1
cmp dword [ebp - 0x14], ecx
jge 0x4209ff
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov byte [edx], 0x3a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x420a11
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov byte [ecx], 0x23
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x42099d
jmp 0x420a22
mov edx, dword [ebp - 8]
push edx
call fcn.00425d4c
add esp, 4
cmp dword [ebp - 0x10], 0
jle 0x420a4c
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov al, 1
jmp 0x420a4e
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x420a60
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x442730]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0x288
push 0x288
call fcn.00425c54
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420a98
xor al, al
jmp 0x420bb5
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x420ad2
mov edx, dword [ebp - 4]
push edx
call fcn.00425d4c
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.00425c54
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420ad2
xor al, al
jmp 0x420bb5
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x420ba6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jmp 0x420af7
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x420ba6
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1a0], 6
je 0x420b0f
jmp 0x420aef
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x190], 6
je 0x420b1d
jmp 0x420aef
mov byte [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov word [ebp - 0x17], dx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x194]
push edx
push 0x43a414
lea eax, [ebp - 0x28]
push eax
call fcn.004281b1
add esp, 0x20
push 0x14
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00425780
add esp, 0xc
mov byte [ebp - 5], 1
jmp 0x420ba6
mov eax, dword [ebp - 4]
push eax
call fcn.00425d4c
add esp, 4
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00425ae5
mov esp, ebp
pop ebp
ret
Function at 0x420bd0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x442730]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0x170
mov eax, dword [ebp - 0xc]
push eax
call fcn.00425c54
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420c07
xor al, al
jmp 0x420d0e
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x420c47
mov eax, dword [ebp - 4]
push eax
call fcn.00425d4c
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00425c54
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420c47
xor al, al
jmp 0x420d0e
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x420cff
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
jmp 0x420c73
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x420cff
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x34], 6
je 0x420c88
jmp 0x420c6a
mov byte [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov word [ebp - 0x17], dx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x31]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x30]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x2f]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x2e]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x2d]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x2c]
push edx
push str._02X:_02X:_02X:_02X:_02X:_02X
lea eax, [ebp - 0x28]
push eax
call fcn.004281b1
add esp, 0x20
push 0x14
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00425780
add esp, 0xc
mov byte [ebp - 5], 1
jmp 0x420cff
mov eax, dword [ebp - 4]
push eax
call fcn.00425d4c
add esp, 4
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00425ae5
mov esp, ebp
pop ebp
ret
Function at 0x420d20
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x442730]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x420d58
xor al, al
jmp 0x420dc0
push 0x100
lea ecx, [ebp - 0x2a0]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0xffffffff
jne 0x420d7d
xor al, al
jmp 0x420dc0
lea edx, [ebp - 0x2a0]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x420d9d
xor al, al
jmp 0x420dc0
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00428230
add esp, 8
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425ae5
mov esp, ebp
pop ebp
ret
Function at 0x423110
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x442730]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
call fcn.0041f570
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jbe 0x42321d
mov eax, dword [ebp - 0x24]
call fcn.00425d20
mov dword [ebp - 0x118], esp
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42321d
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x34]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x2c]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42321d
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 0xa0], 0
push 0x63
push 0
lea edx, [ebp - 0x9f]
push edx
call fcn.00425b80
add esp, 0xc
mov eax, dword [ebp - 0xa4]
movzx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0xa4]
movzx eax, word [edx]
push eax
push str.StringFileInfo_04x_04xProductVersion
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00424580
add esp, 0x10
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42321d
cmp dword [ebp - 0x30], 0
jbe 0x42321d
lea ecx, [ebp - 0x20]
call fcn.00421490
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004213c0
push 0x43a8c4
lea ecx, [ebp - 0xc0]
call fcn.00420880
push 0x43a8c8
lea ecx, [ebp - 0xdc]
call fcn.00420880
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004221a0
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.0041f5a0
lea ecx, [ebp - 0xc0]
call fcn.0041f5a0
push 0x43a87f
lea ecx, [ebp - 0xf8]
call fcn.00420880
push 0x43a8cc
lea ecx, [ebp - 0x114]
call fcn.00420880
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004221a0
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0041f5a0
lea ecx, [ebp - 0xf8]
call fcn.0041f5a0
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
call fcn.004205c0
lea ecx, [ebp - 0x20]
call fcn.0041f5a0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425ae5
mov esp, ebp
pop ebp
ret
Function at 0x42528a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x443c28], 0
push esi
jne 0x4251fd
call fcn.00425123
test eax, eax
je 0x425240
mov eax, dword [0x443c28]
cmp eax, 1
jne 0x42521e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x425240
pop esi
ret
push eax
call dword [0x443c30]
test eax, eax
jne 0x425288
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x425244
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x443c28]
call dword [0x443c30]
mov edi, eax
test edi, edi
je 0x425269
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x425285
mov edi, esi
add esi, 0xff0
push edi
push dword [0x443c28]
call dword [0x443c2c]
add edi, 0x10
cmp edi, esi
jb 0x425271
mov eax, edi
pop edi
pop esi
ret
jmp 0x4251ea

Function at 0x425ae5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442730]
jne 0x425aef
repz ret
jmp fcn.0042ad27

Function at 0x43216c
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.00429a36
and dword [ebp - 4], 0
cmp dword [0x44474c], 0
mov ebx, eax
jne 0x43221d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4322ce
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4322ce
push eax
call fcn.004299c4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44474c], eax
call esi
push eax
call fcn.004299c4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444750], eax
call esi
push eax
call fcn.004299c4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444754], eax
call esi
push eax
call fcn.004299c4
pop ecx
mov dword [0x44475c], eax
test eax, eax
je 0x43221d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004299c4
pop ecx
mov dword [0x444758], eax
mov eax, dword [0x444758]
cmp eax, ebx
je 0x432275
cmp dword [0x44475c], ebx
je 0x432275
push eax
call fcn.00429a3f
push dword [0x44475c]
mov esi, eax
call fcn.00429a3f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x432275
test edi, edi
je 0x432275
call esi
test eax, eax
je 0x43226c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43226c
test byte [ebp - 0xc], 1
jne 0x432275
or dword [ebp + 0x10], 0x200000
jmp 0x4322ae
mov eax, dword [0x444750]
cmp eax, ebx
je 0x4322ae
push eax
call fcn.00429a3f
pop ecx
test eax, eax
je 0x4322ae
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4322ae
mov eax, dword [0x444754]
cmp eax, ebx
je 0x4322ae
push eax
call fcn.00429a3f
pop ecx
test eax, eax
je 0x4322ae
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44474c]
call fcn.00429a3f
pop ecx
test eax, eax
je 0x4322ce
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4322d0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx