joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d5a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.0055ed50
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x1808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1806]
push ecx
call fcn.0055ca00
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1808]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebp - 0x1008], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1006]
push edx
call fcn.0055ca00
add esp, 0xc
push 0x400
lea eax, [ebp - 0x1008]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x7fe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.0055ca00
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2008]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.0055ca00
add esp, 0xc
lea edx, [ebp - 0x1808]
push edx
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x5b83e4
lea ecx, [ebp - 0x2008]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0x5b57f2
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x808]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005562bb
mov esp, ebp
pop ebp
ret
Function at 0x444080
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x446640
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585038
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.004465c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.00446600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401890
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x58]
call fcn.00401660
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [ebp - 0x44], eax
push 0
lea ecx, [ebp - 0x18]
call fcn.00401660
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [ebp - 0x40], eax
xor edx, edx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], 0
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
movzx eax, byte [ebp - 0x11]
mov dword [ebp - 0x3c], eax
movzx ecx, byte [ebp - 0x12]
mov dword [ebp - 0x38], ecx
movzx edx, byte [ebp - 0x13]
mov dword [ebp - 0x34], edx
movzx eax, byte [ebp - 0x14]
mov dword [ebp - 0x30], eax
movzx ecx, byte [ebp - 0x59]
mov dword [ebp - 0x2c], ecx
movzx edx, byte [ebp - 0x5a]
mov dword [ebp - 0x28], edx
movzx eax, byte [ebp - 0x5b]
mov dword [ebp - 0x24], eax
movzx ecx, byte [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x3c]
and edx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x30]
and edx, dword [ebp - 0x20]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
push 0x5b729c
lea ecx, [ebp - 0x10]
push ecx
call fcn.004011f0
add esp, 0x18
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403130
mov eax, dword [ebp - 0x60]
or eax, 1
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401720
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005562bb
mov esp, ebp
pop ebp
ret 4
Function at 0x448da0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp - 0x1a0]
mov dword [eax + 0x14], 0
push str.ICMP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x1a0]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1a0]
cmp dword [edx + 0xc], 0
jne 0x448ded
push 0
call fcn.0055930c
push str.IcmpCreateFile
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1a0]
mov dword [edx], eax
push str.IcmpCloseHandle
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1a0]
mov dword [edx + 4], eax
push str.IcmpSendEcho
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1a0]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1a0]
cmp dword [eax], 0
je 0x448e69
mov ecx, dword [ebp - 0x1a0]
cmp dword [ecx + 4], 0
je 0x448e69
mov edx, dword [ebp - 0x1a0]
cmp dword [edx + 8], 0
jne 0x448e70
push 0
call fcn.0055930c
lea eax, [ebp - 0x198]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x448ea9
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x448edc
movzx eax, word [ebp - 0x198]
cmp eax, 0x101
je 0x448ecf
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x448edc
mov eax, dword [ebp - 0x1a0]
mov dword [eax + 0x14], 1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005562bb
mov esp, ebp
pop ebp
ret
Function at 0x448f10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
call edx
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x10], eax
mov byte [ebp - 0x14], 0x40
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 0
jmp 0x448f71
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 4
jge 0x448fb4
push 0x1f4
push 0x1c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
jmp 0x448f68
mov eax, dword [ebp - 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x2c], 0
jne 0x449008
cmp dword [ebp - 0xc], 4
jne 0x448fed
cmp dword [ebp - 8], 0x64
jge 0x448fed
mov eax, 1
jmp 0x44900b
cmp dword [ebp - 8], 0x12c
jge 0x448fff
mov eax, 2
jmp 0x44900b
mov eax, 3
jmp 0x44900b
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4

Function at 0x449020
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
call edx
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x10], eax
mov byte [ebp - 0x18], 0x40
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x320
push 0x1c
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x30], 0
jne 0x4490b6
mov eax, 1
jmp 0x4490b9
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x44a130
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xbc]
test ecx, ecx
jne 0x44a1c9
push 0
mov edx, dword [0x5f1388]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44a176
jmp 0x44a1c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
push 0x64
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x154]
call fcn.00410ee0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x154]
call fcn.0040f0d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x1f4
jae 0x44a1c7
mov eax, 0x1f4
sub eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44a14e
mov esp, ebp
pop ebp
ret
Function at 0x450900
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5875c8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5e8e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x288], 0
jle 0x450a93
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x28c]
test edx, edx
je 0x450a93
movzx eax, byte [0x5ea318]
test eax, eax
je 0x450a93
push 0x5b55a9
lea ecx, [ebp - 0x10]
call fcn.00403900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x290
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.00403130
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x294
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, edx
call fcn.00403130
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
call fcn.00452600
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x450a5f
mov ecx, dword [ebp - 0x2c]
add ecx, 0x29c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00403130
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x290
push ecx
mov edx, esp
mov dword [ebp - 0x28], esp
push ecx
mov ecx, edx
call fcn.00403130
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x298]
call fcn.00407800
mov byte [ebp - 0x49], al
mov cl, byte [ebp - 0x49]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x288]
sub eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x288], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5f138c], eax
mov edx, dword [ebp - 0x2c]
add edx, 0x29c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x450a7f
cmp dword [ebp - 0x14], 0xfffffffe
jne 0x450a7f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x5f138c]
cmp eax, 0x2710
jbe 0x450a7f
mov byte [0x5ea318], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401720
jmp 0x450928
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x454220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa1c], ecx
mov al, byte [0x5b53af]
mov byte [ebp - 0x808], al
push 0x3ff
push 0
lea ecx, [ebp - 0x807]
push ecx
call fcn.0055ca00
add esp, 0xc
mov dl, byte [0x5b542e]
mov byte [ebp - 0xa18], dl
push 0x208
push 0
lea eax, [ebp - 0xa17]
push eax
call fcn.0055ca00
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0xa1c]
call fcn.00454180
mov dl, byte [0x5b542f]
mov byte [ebp - 0x408], dl
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.0055ca00
add esp, 0xc
lea ecx, [ebp - 0x808]
push ecx
push str._sWifiModuleTest.ini
lea edx, [ebp - 0x408]
push edx
call fcn.0040c920
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x5b550c
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xcc
push ecx
call fcn.004011f0
add esp, 0xc
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xcc
call fcn.00403740
push eax
push 0x209
lea edx, [ebp - 0xa18]
push edx
push 0x5b545b
push 0x5b5510
push 0x5b5520
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa20], eax
mov ecx, dword [ebp - 0xa20]
add ecx, 1
mov dword [ebp - 0xa24], ecx
mov edx, dword [ebp - 0xa20]
mov al, byte [edx]
mov byte [ebp - 0xa25], al
add dword [ebp - 0xa20], 1
cmp byte [ebp - 0xa25], 0
jne 0x45433f
mov ecx, dword [ebp - 0xa20]
sub ecx, dword [ebp - 0xa24]
mov dword [ebp - 0xa2c], ecx
je 0x45438f
lea edx, [ebp - 0xa18]
push edx
push 0x487
mov ecx, dword [ebp - 0xa1c]
call fcn.0045f6ea
mov ecx, eax
call fcn.0045f82a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005562bb
mov esp, ebp
pop ebp
ret

Function at 0x4571e6
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.0046a0a3
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 0x45721f
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.00456e28
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 0x45727d
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x4572a1
cmp dword [edi + 0x74], 0
jne 0x4572a1
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0046a0a3
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.0045723e
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 0x45f608
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 0x45f64f
call fcn.0046a0a3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45f64f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45f66b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045f10d
mov esi, eax
test edi, edi
je 0x45f669
test ebx, ebx
je 0x45f669
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45fe6f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x579cb0
call fcn.0055c34f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x45fe94
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x45fee6
call fcn.00454edb
push eax
lea ecx, [ebp - 0x10]
call fcn.004017a0
mov ecx, dword [esi + 0x6c]
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.0055c459
push eax
call fcn.0040d5e0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401830
mov eax, esi
call fcn.0055c427
ret 8

Function at 0x46384a
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 0x463875
call fcn.0046a0a3
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 0x463898
push eax
push dword [esi + 4]
call fcn.004637d0
push esi
push eax
mov ecx, 0x5ec914
call fcn.00463439
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4642ae
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x578c2c
call fcn.0055c34f
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046426e
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00454edb
push eax
lea ecx, [esi + 0x18]
call fcn.004017a0
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00403890
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x464325
push eax
push dword [esi + 8]
call fcn.004637d0
push dword [esi + 0xc]
mov ecx, 0x5ec914
push eax
call fcn.00463439
mov eax, esi
call fcn.0055c427
ret 0x18

Function at 0x464ac5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00464784
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x464b0f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045d5d0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403220
jmp 0x464b1a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004720a8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x464b20
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0045f714
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x464b5d
call fcn.00464784
mov dword [esi + 0xc], 1
jmp 0x464b62
call fcn.00464784
cmp dword [esi], 0
je 0x464bab
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x464b83
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045d5d0
jmp 0x464b95
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401600
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403220
jmp 0x464bcf
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x464bcf
push dword [esi]
push dword [ebp + 8]
call fcn.004720a8
pop esi
pop ebp
ret 0xc
Function at 0x4660b5
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 0x4660fd
call fcn.0046a0a3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4660fd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x466140
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 0x466129
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 0x466129
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x46613d
mov ecx, dword [esi + 0x68]
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