joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418700
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bd4a
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x47a480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1a8], esi
mov dword [esi], vtable.NetworkController.0
call fcn.0041d226
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418756
push 0x80004005
call fcn.00402fa0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x60], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x64], eax
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x68], eax
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x6c], eax
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x70], eax
call edi
mov dword [esi + 0x74], eax
mov dword [esi + 0x10], 0xffffffff
mov byte [esi + 0x28], 0
mov byte [esi + 0x29], 0
mov byte [esi + 0x2a], 0
mov byte [esi + 4], 0
push 0x44
mov dword [0x47ba70], esi
call fcn.0041b77c
push 0x100020
mov dword [esi + 0x24], eax
call fcn.0041b77c
push 0x100020
mov edi, eax
call fcn.0041b77c
push 0xc
mov ebx, eax
call fcn.0041b77c
add esp, 0x10
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x418813
mov ecx, eax
call fcn.00417dc0
jmp 0x418815
xor eax, eax
mov ecx, dword [esi + 0x24]
push 0xc
mov byte [ebp - 4], 0
mov dword [ecx + 0xc], eax
call fcn.0041b77c
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x418840
mov ecx, eax
call fcn.00417dc0
jmp 0x418842
xor eax, eax
mov edx, dword [esi + 0x24]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [eax], 0xffffffff
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x18], ecx
xor ecx, ecx
mov dword [ebx + 0x10001c], ecx
mov eax, 0x100000
mov dword [ebx + 0x14], eax
mov edx, dword [esi + 0x24]
mov dword [edx + 8], ebx
mov dword [edi + 0x10001c], ecx
lea edx, [edi + 0x1c]
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add ecx, 0x14
push ecx
call edi
mov edx, dword [esi + 0x24]
add edx, 0x2c
push edx
call edi
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [esi + 0x48]
push ecx
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044471a
mov esp, ebp
pop ebp
ret
Function at 0x418e30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x471240
push 0x446910
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x47a480]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edx, ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], eax
cmp dword [edx + 0x10], 0xffffffff
jne 0x418eb1
push 0xffffffffffffffff
push str.INVALID_SOCKET:__d
push 0x104
lea eax, [ebp - 0x120]
push eax
call fcn.004447a6
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
push 0x47a480
call fcn.00447440
add esp, 0x1c
xor eax, eax
jmp 0x418f56
mov ecx, dword [edx + 0x24]
mov ecx, dword [ecx + 4]
mov esi, dword [ecx + 0x10001c]
lea esi, [esi + ecx + 0x1c]
mov dword [ecx + 0x18], esi
mov ecx, dword [edx + 0x24]
mov ecx, dword [ecx + 4]
mov esi, 0x100000
sub esi, dword [ecx + 0x10001c]
mov dword [ecx + 0x14], esi
mov ecx, dword [edx + 0x24]
mov ecx, dword [ecx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [edx + 0x24]
mov eax, dword [edx + 4]
push 0x418d50
push eax
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x124]
push ecx
push 1
add eax, 0x14
push eax
mov edx, dword [edx]
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x418f3e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x418f3e
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x47a480
call fcn.00447440
add esp, 0xc
xor eax, eax
jmp 0x418f56
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
push 0x47a480
call fcn.00447440
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044471a
mov esp, ebp
pop ebp
ret
Function at 0x419040
Capabilities:
Connect socket
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004181b0
mov ecx, esi
call fcn.00417b80
movzx ecx, word [esi + 0x44]
mov eax, 2
lea ebx, [esi + 0x14]
push ecx
mov word [ebx], ax
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esi + 0x2b]
push edx
mov word [esi + 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x18], eax
xor edi, edi
mov eax, dword [esi + 0x10]
push 0
push 0
push 0
push 0
push 0x10
push ebx
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
jne 0x4190b8
mov byte [esi + 0x28], 0
cmp edi, 2
je 0x419162
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x419080
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x2c]
mov dword [eax], ecx
push edx
mov byte [esi + 0x28], 1
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4186e0
push 0
push 0
call fcn.00446741
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
push eax
call edi
cmp byte [esi + 0x29], 0
jne 0x419123
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0x418e10
push 0
push 0
call fcn.00446741
add esp, 0x18
push eax
call edi
cmp byte [esi + 0x2a], 0
jne 0x419144
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x419020
push 0
push 0
call fcn.00446741
add esp, 0x18
push eax
call edi
mov eax, dword [esi + 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
push eax
call edi
mov ecx, dword [esi + 0x6c]
push ecx
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.SOCKET_ERROR
add esi, 0x60
push esi
call fcn.00403c40
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419a00
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x47a480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x478c84]
mov edx, dword [0x478c88]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [0x478c8c]
push 1
sub ecx, eax
push ecx
mov ecx, dword [0x478c80]
sub edx, ecx
push edx
push eax
lea edi, [esi + 0xf0]
push ecx
mov ecx, edi
call fcn.0042489f
push 0x4011
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x80
push str..txt
lea ebx, [esi + 0x258]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
mov ecx, ebx
call fcn.0042d88e
test ebx, ebx
je 0x419a7c
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 0x110]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x1003
push ecx
call ebx
push eax
call fcn.0042d859
lea ecx, [esi + 0x258]
call fcn.0042d818
push 0
push 0xeeeeee
mov ecx, edi
call fcn.004087b0
push 1
mov ecx, edi
call fcn.00408800
mov edx, dword [esi + 0x110]
push 0
push 1
push 0x100b
push edx
mov dword [esi + 0x1c8], 2
call ebx
mov eax, dword [esi + 0x110]
push 0
push 0
push 0x1037
push eax
call ebx
mov ecx, dword [esi + 0x110]
or eax, 0x120
push eax
push 0
push 0x1036
push ecx
call ebx
push 0
push 0xffffff
push 0xffffff
push 0
push 0
push 0xffffff
push 0x40cc
push 0xffffff
push 0
push 0xffffff
push 0
mov ecx, edi
call fcn.00408740
push 0xffffffffffffffff
push 0x190
push 0
push 0x463f74
push 0
mov ecx, edi
mov dword [esi + 0x234], 0x626262
call fcn.0042d5b7
push 0xffffffffffffffff
push 0x78
push 1
push 0x463f6c
push 1
mov ecx, edi
call fcn.0042d5b7
push 0xffffffffffffffff
push 0x66
push 2
push 0x463f64
push 2
mov ecx, edi
call fcn.0042d5b7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0044471a
mov esp, ebp
pop ebp
ret

Function at 0x419b90
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
mov esi, ecx
mov eax, dword [esi + 0x110]
push 0x100c
push eax
call edi
cmp eax, 0xffffffff
jne 0x419bc6
mov ecx, dword [esi + 0x20]
push 1
push 0x463fdc
push 0x7e9
push ecx
call edi
pop edi
pop esi
ret
push eax
lea ecx, [esi + 0xf0]
call fcn.0042d41e
mov edx, dword [eax + 0x38]
or edx, dword [eax + 0x3c]
push 1
jne 0x419bef
mov eax, dword [esi + 0x20]
push 0x463f88
push 0x7e9
push eax
call edi
pop edi
pop esi
ret
mov ecx, dword [esi + 0x20]
push 0
push 0
add eax, 0x944
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
ret
Function at 0x419c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
call esi
sub eax, dword [edi + 0x5b4]
cmp eax, 0xa
jbe 0x419cee
push ebx
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
push esi
push esi
mov dword [edi + 0x5b4], eax
mov eax, dword [edi + 0x110]
push 0x1004
push eax
mov dword [ebp - 4], esi
call ebx
test eax, eax
jle 0x419ca5
jmp 0x419c60
push esi
lea ecx, [edi + 0xf0]
call fcn.0042d41e
test eax, eax
je 0x419c88
mov eax, dword [eax]
test eax, eax
je 0x419c85
cmp eax, 1
je 0x419c85
cmp eax, 2
je 0x419c85
cmp eax, 8
jne 0x419c88
inc dword [ebp - 4]
mov ecx, dword [edi + 0x110]
push 0
push 0
push 0x1004
push ecx
inc esi
call ebx
cmp esi, eax
jl 0x419c60
cmp dword [ebp - 4], 0
jne 0x419cbe
mov edx, dword [edi + 0x20]
push 1
push 0x464000
push 0x7e9
push edx
call ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x744]
cmp byte [eax + 0x28], 0
je 0x419cda
push 1
mov ecx, edi
call fcn.00411e20
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x20]
push 0
push 0x3e8
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a6c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x47a480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x5b4]
cmp eax, 0xa
jbe 0x419dec
call edi
mov dword [esi + 0x5b4], eax
mov eax, dword [esi + 0x260]
test eax, eax
je 0x419de3
mov dword [eax], 2
push 2
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004137b0
mov eax, dword [eax]
mov ecx, dword [esi + 0x5d0]
push eax
push 2
push ecx
lea ecx, [esi + 0xf0]
mov dword [ebp - 4], 0
call fcn.0042d3f1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419de3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
mov ecx, esi
call fcn.00411e20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a300
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45be48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47a480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsA]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403e60
xor edi, edi
push 0x808
mov dword [ebp - 4], edi
call fcn.0041b77c
mov esi, eax
add esp, 4
cmp esi, edi
je 0x41a36f
push 0x4612e8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esi + 0x804], edi
jmp 0x41a371
xor esi, esi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x41a389
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403040
mov eax, dword [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00414b30
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0044634b
add esp, 8
cmp eax, edi
jl 0x41a50f
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41a50f
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx], 0
mov eax, dword [esi + 0x804]
cmp eax, 3
je 0x41a42a
mov ecx, esi
call fcn.00414a80
push esi
call fcn.0041b7ab
mov edx, dword [ebx + 0x20]
add esp, 4
push 1
push 0x464264
push 0x7e9
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a416
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
mov edi, dword [0x478adc]
jbe 0x41a437
mov edi, dword [esi + 0x34]
add ebx, 0x584
test edi, edi
jne 0x41a445
xor eax, eax
jmp 0x41a459
mov eax, edi
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a450
sub eax, ecx
push eax
push edi
mov ecx, ebx
call fcn.004032e0
cmp dword [esi + 0x804], 1
mov edi, dword [0x478adc]
jbe 0x41a474
mov edi, dword [esi + 0x38]
mov ebx, dword [ebp - 0x14]
add ebx, 0x588
test edi, edi
jne 0x41a485
xor eax, eax
jmp 0x41a499
mov eax, edi
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a490
sub eax, ecx
push eax
push edi
mov ecx, ebx
call fcn.004032e0
cmp dword [esi + 0x804], 2
mov eax, dword [0x478adc]
jbe 0x41a4b3
mov eax, dword [esi + 0x3c]
push eax
call fcn.004451fe
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x5d8], eax
add esp, 4
mov ecx, esi
call fcn.00414a80
push esi
call fcn.0041b7ab
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a4fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402fa0
int3
Function at 0x41b120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
mov esi, ecx
mov eax, dword [esi + 0x110]
push 0x100c
push eax
call edi
test eax, eax
jge 0x41b15c
mov ecx, dword [esi + 0x20]
push 1
push 0x464350
push 0x7e9
push ecx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [esi + 0xf0]
call fcn.0042d41e
add eax, 0x144
push eax
lea ecx, [ebp - 4]
call fcn.00403e60
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x20]
push 1
push 0
push 0
push edx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b1ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x424619
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 0x424660
call fcn.00425c40
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x424660
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42467c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00424193
mov esi, eax
test edi, edi
je 0x42467a
test ebx, ebx
je 0x42467a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x424e9e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45c32a
call fcn.00447986
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x424ec3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x424f09
lea ecx, [ebp - 0x10]
call fcn.00403260
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.0041cac3
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402fc0
mov eax, esi
call fcn.00447a5e
ret 8
Function at 0x42c8f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00425c40
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42c92d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042c545
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42c98b
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 0x42c9af
cmp dword [edi + 0x54], 0
jne 0x42c9af
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00425c40
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.0042c94c
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 0x42ebb0
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 0x42ebdb
call fcn.00425c40
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_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x42ebfe
push eax
push dword [esi + 4]
call fcn.0042eb36
push esi
push eax
mov ecx, 0x47d608
call fcn.0042e7c4
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x42f3d4
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x45cbbc
call fcn.00447986
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042f394
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403260
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x42f43a
push eax
push dword [esi + 8]
call fcn.0042eb36
push dword [esi + 0xc]
mov ecx, 0x47d608
push eax
call fcn.0042e7c4
mov eax, esi
call fcn.00447a5e
ret 0x18
Function at 0x42fadd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x47a480]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x42fb7b
push 0x467794
push 4
push eax
call fcn.00445688
push eax
call fcn.0040ce00
add esp, 0x10
push ebx
push edi
call fcn.00447d55
mov edi, dword [eax]
call fcn.00447d55
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004447c4
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00447d55
cmp dword [eax], ebx
je 0x42fb92
call fcn.00447d55
push dword [eax]
call fcn.0041cca2
pop ecx
jmp 0x42fb99
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42fb23
jmp 0x42fc20
call fcn.00447d55
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x42fc1c
cmp dword [ebp - 0x11c], esi
jae 0x42fc1c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.004446a0
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x42fc0b
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42fc0b
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42fc0b
push ebx
push ebx
push esi
jmp 0x42fc14
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x42fc1e
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044471a
leave
ret

Function at 0x43143a
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 0x431482
call fcn.00425c40
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x431482
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4314c5
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 0x4314ae
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 0x4314ae
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4314c2
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