joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40db30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f398
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40db70
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40db7c
mov al, 1
jmp 0x40dd1f
mov dword [ebp - 0x10], 8
call fcn.00407920
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00407920
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00407900
add esp, 8
movzx eax, al
test eax, eax
je 0x40dbbf
xor al, al
jmp 0x40dd1f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040bf80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040c040
mov ecx, eax
call fcn.0040e180
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00409cb0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040c040
mov ecx, eax
call fcn.0040e180
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040fc50
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40dc3a
cmp dword [ebp - 0x6c], 1
je 0x40dc41
cmp dword [ebp - 0x6c], 3
je 0x40dcdb
jmp 0x40dcf3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040c040
mov ecx, eax
call fcn.0040e180
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40dca4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040c040
mov ecx, eax
call fcn.0040e180
push eax
call fcn.00443bb6
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40dca4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406a40
mov al, byte [ebp - 0x61]
jmp 0x40dd1f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40dcc7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406a40
mov al, byte [ebp - 0x62]
jmp 0x40dd1f
cmp dword [ebp - 0x38], 0
jne 0x40dcd9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040bfc0
jmp 0x40dd0b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406a40
mov al, byte [ebp - 0x63]
jmp 0x40dd1f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406a40
mov al, byte [ebp - 0x64]
jmp 0x40dd1f
jmp 0x40dbd2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret
Function at 0x412c80
Capabilities:
Check if file exists
Delete file
Download url
Get common file path
Read .ini file
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push edi
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.00446170
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x118]
add edx, 0xffffffff
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x11d], cl
add dword [ebp - 0x11c], 1
cmp byte [ebp - 0x11d], 0
jne 0x412cd2
mov edi, dword [ebp - 0x11c]
mov edx, dword [str.FTISSETUP.ini]
mov dword [edi], edx
mov eax, dword [0x469770]
mov dword [edi + 4], eax
mov ecx, dword [0x469774]
mov dword [edi + 8], ecx
mov dx, word [0x469778]
mov word [edi + 0xc], dx
mov al, byte [0x46977a]
mov byte [edi + 0xe], al
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x412d53
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x412d76
xor eax, eax
jmp 0x412db1
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x46977c
push str.version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x412da8
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jbe 0x412dac
xor eax, eax
jmp 0x412db1
mov eax, 1
pop edi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret

Function at 0x412dc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x412e0c
cmp dword [ebp - 0x9c], 5
jne 0x412e0c
cmp dword [ebp - 0x98], 0
jne 0x412e0c
mov eax, 1
jmp 0x412e0e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret

Function at 0x412e20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x412e6c
cmp dword [ebp - 0x9c], 5
jne 0x412e6c
cmp dword [ebp - 0x98], 2
jne 0x412e6c
mov eax, 1
jmp 0x412e6e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret
Function at 0x413170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f2b6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4785c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.OSVersion.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00406990
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00406990
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xc], 0
push 0x46900c
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00406a80
push 0x469014
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00406a80
mov ecx, dword [ebp - 0x10]
call fcn.004134a0
mov ecx, dword [ebp - 0x10]
call fcn.004132c0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], al
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4158e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x4158e9
xor ecx, ecx
jne 0x4158e9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x41590a
mov eax, 0xd
jmp 0x415936
xor eax, eax
jne 0x4158f1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x415940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x415949
xor ecx, ecx
jne 0x415949
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41596a
mov eax, 0xd
jmp 0x4159bf
xor eax, eax
jne 0x415951
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_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x41597b
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x4159d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x14]
call fcn.00408d80
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00415850
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x415a3b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x124], edx
lea ecx, [ebp - 0x14]
call fcn.004156b0
mov eax, dword [ebp - 0x124]
jmp 0x415acc
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x415aa1
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004159d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x415a98
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x14]
call fcn.004156b0
mov eax, dword [ebp - 0x128]
jmp 0x415acc
mov dword [ebp - 4], 0x100
jmp 0x415a42
lea ecx, [ebp - 0x14]
call fcn.00415790
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
call fcn.00415730
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x14]
call fcn.004156b0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret 4
Function at 0x422dd0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.00403d70
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x422dee
xor al, al
jmp 0x422ecd
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x422ec7
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x422ec1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422ebb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x422eab
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x422e9b
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x422ecd
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x422ecd
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x422ecd
xor al, al
jmp 0x422ecd
xor al, al
jmp 0x422ecd
xor al, al
jmp 0x422ecd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423050
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x1000
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0x7a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42314c
cmp dword [ebp - 0x34], 0x7a
je 0x4230ab
cmp dword [ebp - 0x34], 0x103
je 0x42313c
jmp 0x42319d
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.0042380c
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.00423801
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], 0
jne 0x423107
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov dword [ebp - 0xc], eax
xor ecx, ecx
cmp dword [ebp - 0xc], 0
setne cl
mov dword [ebp - 0x20], ecx
jmp 0x42311c
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42312b
mov dword [ebp - 0x18], 0
jmp 0x42313a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x4231a4
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 1
jmp 0x4231a4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x100000
jne 0x423167
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x42318c
mov dword [ebp - 0x18], 0
jmp 0x42319b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
jmp 0x4231a4
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x4231cc
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042380c
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4231cc
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
cmp dword [ebp - 0x1c], 0
je 0x423083
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4231e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x134], ecx
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x423218
xor eax, eax
jmp 0x42339c
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 0x8004667e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x423390
mov edx, 2
mov word [ebp - 0x124], dx
push 0x25
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x122], ax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x120], eax
push 0x10
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x130], 0
jmp 0x42329d
mov eax, dword [ebp - 0x130]
add eax, 1
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [ebp - 0x110]
jae 0x4232c1
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp + edx*4 - 0x10c]
cmp eax, dword [ebp - 4]
jne 0x4232bf
jmp 0x4232c1
jmp 0x42328e
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [ebp - 0x110]
jne 0x4232f7
cmp dword [ebp - 0x110], 0x40
jae 0x4232f7
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x10c], eax
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
xor edx, edx
jne 0x423282
mov dword [ebp - 0x12c], 5
mov dword [ebp - 0x128], 0
lea eax, [ebp - 0x12c]
push eax
push 0
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jne 0x423390
mov dword [ebp - 0x12c], 1
lea edx, [ebp - 0x12c]
push edx
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jne 0x423390
push 0
push 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
jne 0x423390
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
jmp 0x42339c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov ecx, dword [ebp - 0x114]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret 8
Function at 0x4252a3
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 0x4252ce
call fcn.0042679f
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 0x4252f1
push eax
push dword [esi + 4]
call fcn.00425229
push esi
push eax
mov ecx, 0x482220
call fcn.00424edd
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x427936
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 0x42795a
cmp dword [edi + 0x54], 0
jne 0x42795a
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042679f
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.004278f7
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 0x42d448
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 0x42d48f
call fcn.0042679f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42d48f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42d4ab
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042cfc2
mov esi, eax
test edi, edi
je 0x42d4a9
test ebx, ebx
je 0x42d4a9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42dc22
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45d4d2
call fcn.00445beb
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42dc47
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42dc8d
lea ecx, [ebp - 0x10]
call fcn.00402210
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.00414ce0
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.00401600
mov eax, esi
call fcn.00445cc3
ret 8
Function at 0x438aa5
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 0x438aed
call fcn.0042679f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x438aed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x438b30
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 0x438b19
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 0x438b19
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x438b2d
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 0x441de6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4785c0]
jne 0x441df0
repz ret
jmp fcn.0044992b
Function at 0x456bfd
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.0044b135
and dword [ebp - 4], 0
cmp dword [0x484b10], 0
mov ebx, eax
jne 0x456cae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x456d5f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x466d68
push edi
call esi
test eax, eax
je 0x456d5f
push eax
call fcn.0044b0c3
mov dword [esp], 0x466d58
push edi
mov dword [0x484b10], eax
call esi
push eax
call fcn.0044b0c3
mov dword [esp], 0x466d44
push edi
mov dword [0x484b14], eax
call esi
push eax
call fcn.0044b0c3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x484b18], eax
call esi
push eax
call fcn.0044b0c3
pop ecx
mov dword [0x484b20], eax
test eax, eax
je 0x456cae
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044b0c3
pop ecx
mov dword [0x484b1c], eax
mov eax, dword [0x484b1c]
cmp eax, ebx
je 0x456d06
cmp dword [0x484b20], ebx
je 0x456d06
push eax
call fcn.0044b13e
push dword [0x484b20]
mov esi, eax
call fcn.0044b13e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x456d06
test edi, edi
je 0x456d06
call esi
test eax, eax
je 0x456cfd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x456cfd
test byte [ebp - 0xc], 1
jne 0x456d06
or dword [ebp + 0x10], 0x200000
jmp 0x456d3f
mov eax, dword [0x484b14]
cmp eax, ebx
je 0x456d3f
push eax
call fcn.0044b13e
pop ecx
test eax, eax
je 0x456d3f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x456d3f
mov eax, dword [0x484b18]
cmp eax, ebx
je 0x456d3f
push eax
call fcn.0044b13e
pop ecx
test eax, eax
je 0x456d3f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x484b10]
call fcn.0044b13e
pop ecx
test eax, eax
je 0x456d5f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x456d61
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret