joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433550
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ax, word [0x4a0ad4]
mov word [ebp - 8], ax
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0xffffffff
jne 0x433599
push str.socket__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00433750
xor eax, eax
jmp 0x4336a0
push 1
push 0x8039
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4335d8
push str.WSAAsyncSelect__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00433750
xor eax, eax
jmp 0x4336a0
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x14], 2
push 0x25
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x16], ax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
push 0x10
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x433631
push str.bind__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00433750
xor eax, eax
jmp 0x4336a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov word [edx + 0x14], 2
push 0x25
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x16], ax
push 0x10
mov edx, dword [ebp - 0xc]
add edx, 0x14
push edx
push 0
push 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43369b
push str.sendto__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00433750
xor eax, eax
jmp 0x4336a0
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4336e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
push ecx
push 0
push 0x10
mov edx, dword [ebp - 0xc]
add edx, 0x24
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x433734
push str.recvfrom__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00433750
xor eax, eax
jmp 0x433743
mov edx, dword [ebp - 0xc]
add edx, 0x24
push edx
call fcn.004336b0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4410f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4d13f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], ecx
call fcn.004045f0
mov dword [ebp - 0xc], eax
push 0x10
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.0047ba50
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00427350
add esp, 4
mov dword [ebp - 0x24], eax
mov word [ebp - 0x20], 2
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x441174
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x441165
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x441174
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
jmp 0x4411f1
mov dx, word [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x18], 1
jne 0x4411a3
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x54]
call edx
jmp 0x4411f1
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x18], 2
jne 0x4411c3
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x58]
call edx
jmp 0x4411f1
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x18], 3
jne 0x4411e3
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x5c]
call edx
jmp 0x4411f1
push 0x10
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00441ed0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ac28
mov esp, ebp
pop ebp
ret 8
Function at 0x442a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00442a90
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442a44
mov eax, dword [ebp + 0x24]
jmp 0x442a82
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x442a7f
mov eax, dword [ebp - 0x14]
jmp 0x442a82
mov eax, dword [ebp + 0x24]
mov esp, ebp
pop ebp
ret

Function at 0x442bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497932
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d13f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00442a90
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x442c32
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403ca0
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
jmp 0x442cf6
lea ecx, [ebp - 0x1c]
call fcn.004112b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x442c96
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00403d80
push eax
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00411320
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], 0
jne 0x442ccf
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004112d0
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403d20
mov eax, dword [ebp + 8]
jmp 0x442cf6
mov edx, dword [ebp + 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403ca0
mov eax, dword [ebp - 0x24]
or eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403d20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4430c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49799a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d13f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.QuoteServer.ini
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00443b60
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0040df30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403d20
lea ecx, [ebp - 0x10]
call fcn.00411270
push eax
push 0
push str.AccessType
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
call fcn.00403d20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x443250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4979f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d13f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.QuoteServer.ini
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00443b60
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0040df30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403d20
lea ecx, [ebp - 0x10]
call fcn.00411270
push eax
push 3
push str.ProxyType
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
call fcn.00403d20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4433e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497a51
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4d13f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], 0
push str.QuoteServer.ini
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x128]
call fcn.00443b60
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x130]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0040df30
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00403d20
push 0x102
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0047ba50
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00411270
push eax
push 0x100
lea edx, [ebp - 0x11c]
push edx
push 0x4a1b77
push str.ProxyAddress
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x128]
add ecx, 0xc
call fcn.00403d60
mov ecx, dword [ebp - 0x128]
add ecx, 0xc
push ecx
mov ecx, dword [ebp + 8]
call fcn.004112d0
mov edx, dword [ebp - 0x124]
or edx, 1
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403d20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047ac28
mov esp, ebp
pop ebp
ret 4

Function at 0x4435d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497aa4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4d13f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.QuoteServer.ini
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00443b60
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0040df30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403d20
lea ecx, [ebp - 0x10]
call fcn.00411270
push eax
push 0x50
push str.ProxyPort
push str.Proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x1c]
mov word [ecx + 0x10], ax
mov edx, dword [ebp - 0x1c]
mov ax, word [edx + 0x10]
mov word [ebp - 0x16], ax
lea ecx, [ebp - 0x10]
call fcn.00403d20
mov ax, word [ebp - 0x16]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x444330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497ca1
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4d13f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], 0
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0047ba50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov byte [ebp - 0x19], 0
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x120]
call fcn.00403ca0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00403da0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4443e5
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
lea ecx, [ebp - 0x120]
call fcn.00444930
movsx ecx, al
cmp ecx, 0x5c
je 0x4443e5
push 0x5c
lea ecx, [ebp - 0x120]
call fcn.00445880
push str.NetTSAlias
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040df30
add esp, 0xc
mov ecx, dword [ebp - 0x124]
or ecx, 1
mov dword [ebp - 0x124], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00403d20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047ac28
mov esp, ebp
pop ebp
ret

Function at 0x44d0be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x44d0de
cmp dword [edi + 0x54], 0
jne 0x44d0de
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00456268
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 [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044d085
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x450dc7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x450e00
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004112f0
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00411320
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x452b4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x452b91
call fcn.00456268
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x452b91
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x452bac
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00452705
test ebx, ebx
mov esi, eax
je 0x452baa
test edi, edi
je 0x452baa
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x45393e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x498ef1
call fcn.0048189c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x453963
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4539af
call fcn.0044c615
push eax
lea ecx, [ebp - 0x10]
call fcn.00403fe0
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.0044be3b
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.00404070
mov eax, esi
call fcn.00481974
ret 8

Function at 0x45d21b
Capabilities:
Create http request

Disassembly:
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]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x45d244
call fcn.00456268
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]
test eax, eax
mov dword [esi + 8], eax
jne 0x45d267
push eax
push dword [esi + 4]
call fcn.0045d1a6
push esi
push eax
mov ecx, 0x4d4f38
call fcn.0045ce80
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x460904
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00456268
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x46092f
xor eax, eax
jmp 0x4609d3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x460928
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x460928
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044bca0
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x460984
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x460973
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0045f6ab
push edi
mov ebx, eax
call fcn.0044bcd0
test ebx, ebx
pop ecx
je 0x4609c6
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0045fd62
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0045fe14
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x4613a9
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x4613c1
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x461469
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x464185
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4641cb
call fcn.00456268
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4641cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x46420e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4641f7
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 0x4641f7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x46420b
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 0x46d05c
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x46d065
xor eax, eax
jmp 0x46d0ce
cmp dword [esp + 8], 0
jne 0x46d071
call fcn.0044c428
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00482e10
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x46d0ac
push dword [esi + 0x10]
call fcn.00482b55
test eax, eax
pop ecx
jne 0x46d0ac
mov esi, dword [esi + 0xc]
call fcn.0047ec9f
push esi
push dword [eax]
push 1
call fcn.0046b3cb
push dword [esi + 0x10]
call fcn.00482b84
test eax, eax
pop ecx
je 0x46d0cb
push dword [esi + 0x10]
call fcn.00482aa9
push eax
call fcn.00404970
pop ecx
pop ecx
jmp 0x46d09a
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x46d0d7
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x46d0e1
call fcn.0044c428
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00482f45
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x46d10e
mov esi, dword [esi + 0xc]
call fcn.0047ec9f
push esi
push dword [eax]
push 1
call fcn.0046b3cb
pop esi
ret 8

Function at 0x47ac28
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d13f4]
jne 0x47ac32
repz ret
jmp fcn.00484f2c