joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449160
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x118], 0
jmp 0x449194
mov eax, dword [ebp - 0x118]
add eax, 1
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [ebp - 0x108]
jae 0x4491be
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp + edx*4 - 0x104]
cmp ecx, dword [eax + 4]
jne 0x4491bc
jmp 0x4491be
jmp 0x449185
mov edx, dword [ebp - 0x118]
cmp edx, dword [ebp - 0x108]
jne 0x4491fa
cmp dword [ebp - 0x108], 0x40
jae 0x4491fa
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
mov dword [ebp + eax*4 - 0x104], edx
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
xor ecx, ecx
jne 0x449179
cmp dword [ebp + 0x10], 0
je 0x44924c
mov eax, dword [ebp + 0x10]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x10]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x10c], edx
lea edx, [ebp - 0x110]
push edx
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0x40
call dword [sym.imp.WSOCK32.dll_select]
mov dword [ebp - 0x114], eax
jmp 0x449267
push 0
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0x40
call dword [sym.imp.WSOCK32.dll_select]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jle 0x4492b3
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WSOCK32.dll_recv]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x4492a2
cmp dword [ebp - 0x114], 0
jne 0x4492a9
or eax, 0xffffffff
jmp 0x4492b6
mov eax, dword [ebp - 0x114]
jmp 0x4492b6
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x449335
push 0
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WSOCK32.dll_send]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44932a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
push 0xa
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004305f3
add esp, 0xc
or eax, 0xffffffff
jmp 0x449338
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x4492da
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret 8
Function at 0x449350
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0042c9a0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x10], eax
mov edx, 2
mov word [ebp - 0x14], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x12], ax
push 0
push 0
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret 8

Function at 0x4493d0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0042c9a0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x10], eax
mov edx, 2
mov word [ebp - 0x14], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WSOCK32.dll_connect]
mov dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebp - 0x18], 0xffffffff
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret 8

Function at 0x4494e0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.004494a0
push 0
mov eax, dword [ebp + 8]
push eax
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 4], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret 4

Function at 0x449520
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
push 0x10
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0042c9a0
add esp, 0xc
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WSOCK32.dll_getsockname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44958c
push 0x46921f
mov ecx, dword [ebp + 8]
call fcn.00402f90
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
jmp 0x4495ab
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402f90
mov ecx, dword [ebp - 0x20]
or ecx, 1
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret 4
Function at 0x44a1c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.00406d00
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x44a1f1
xor eax, eax
jmp 0x44a2a4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44a220
xor eax, eax
jmp 0x44a2a4
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0042cba0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040a680
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44c920
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fda4
mov eax, dword fs:[0]
push eax
mov eax, 0xc0d8
call fcn.004310e0
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0e4], ecx
push 0
push 0x481138
push 0x480ff0
call sub.gdiplus.dll_GdiplusStartup
mov eax, 0x202
mov word [ebp - 0xc0d8], ax
lea ecx, [ebp - 0x1a4]
push ecx
movzx edx, word [ebp - 0xc0d8]
push edx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov dword [ebp - 0xc0dc], eax
cmp dword [ebp - 0xc0dc], 0
je 0x44c99d
xor eax, eax
jmp 0x44ca39
mov dword [ebp - 0x1b0], 8
mov dword [ebp - 0x1ac], 0xff
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0xc0e4]
call fcn.0041b473
push 0
call fcn.0041c566
add esp, 4
push 0x46a5b4
mov ecx, dword [ebp - 0xc0e4]
call fcn.0041ca39
push 0
lea ecx, [ebp - 0xc0d4]
call fcn.00454e10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc0e4]
lea edx, [ebp - 0xc0d4]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0xc0d4]
call fcn.00417f6d
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0xc0e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0d4]
call fcn.00454c50
mov eax, dword [ebp - 0xc0e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret

Function at 0x44cfe0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
push 0
call dword [sym.imp.WSOCK32.dll_htonl]
mov dword [ebp - 0x10], eax
mov edx, 2
mov word [ebp - 0x14], dx
push 0x101b
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WSOCK32.dll_bind]
push 5
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.WSOCK32.dll_listen]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret

Function at 0x44d1e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push str.SeDebugPrivilege
mov ecx, dword [ebp - 4]
call fcn.0044d140
test eax, eax
jne 0x44d208
push 0
push 0
push 0x46a778
call fcn.00417753
mov esp, ebp
pop ebp
ret
Function at 0x44d780
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f307
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x46a73c
lea ecx, [ebp - 0x22c]
call fcn.004024c0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x224], eax
push 4
push 0
lea ecx, [ebp - 0x234]
push ecx
call fcn.0042c9a0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.0042c9a0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 4
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call sub.PSAPI.DLL_EnumProcessModules
mov dword [ebp - 0x230], eax
push 0x208
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00401550
push 0x46a740
lea ecx, [ebp - 0x228]
call fcn.004024c0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00402d30
push eax
call fcn.00409930
add esp, 8
movzx eax, al
test eax, eax
je 0x44d8a5
push str.SYSTEM
mov ecx, dword [ebp + 0xc]
call fcn.00401550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00401ec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00401ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret
Function at 0x44e4e0
Capabilities:
List tcp connections and listeners
List udp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1cc
call fcn.0045aa30
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1cc
call fcn.0045aa80
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
push 0
push 8
push 2
push 1
lea eax, [ebp - 0xc]
push eax
push 0
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x44e57c
cmp dword [ebp - 0x18], 0
je 0x44e541
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042d4eb
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042d421
add esp, 4
mov dword [ebp - 0x18], eax
push 0
push 8
push 2
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44e57a
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042d4eb
add esp, 4
jmp 0x44e529
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0
push 2
push 2
push 1
lea ecx, [ebp - 0xc]
push ecx
push 0
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x44e5f9
cmp dword [ebp - 0x18], 0
je 0x44e5be
mov edx, dword [ebp - 4]
push edx
call fcn.0042d4eb
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042d421
add esp, 4
mov dword [ebp - 4], eax
push 0
push 2
push 2
push 1
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.IPHLPAPI.DLL_GetExtendedUdpTable
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44e5f7
mov eax, dword [ebp - 4]
push eax
call fcn.0042d4eb
add esp, 4
jmp 0x44e5a6
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
push 0
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0044dc40
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0044d8e0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042d4eb
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.0042d4eb
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x44fa90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [0x481258], 8
mov byte [0x481259], 0
xor eax, eax
mov word [0x48125a], ax
mov cx, word [0x47e1e4]
mov word [0x48125c], cx
mov edx, dword [0x47e1e4]
add edx, 1
mov dword [0x47e1e4], edx
mov ax, word [0x47e1e8]
mov word [0x48125e], ax
mov ecx, dword [0x47e1e8]
add ecx, 1
mov dword [0x47e1e8], ecx
mov dword [ebp - 4], 0
jmp 0x44faf9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x20
jge 0x44fb10
mov eax, dword [ebp - 4]
add eax, 0x20
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x481265], al
jmp 0x44faf0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x481261], eax
push 0x2d
push 0x481258
mov ecx, dword [ebp - 8]
call fcn.0044f9a0
mov word [0x48125a], ax
push 0x10
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x2d
push 0x481258
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_sendto]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x141
lea edx, [ebp - 0x158]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44fbe1
or eax, 0xffffffff
jmp 0x44fc63
mov ecx, dword [ebp - 0x14c]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004054e0
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x168]
add eax, 4
push eax
call fcn.00406250
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x44fc3b
mov edx, dword [ebp - 0x13b]
mov dword [ebp - 0x160], edx
lea ecx, [ebp - 0x15c]
call fcn.00401ec0
mov eax, dword [ebp - 0x160]
jmp 0x44fc63
mov dword [ebp - 0x164], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.00401ec0
mov eax, dword [ebp - 0x164]
jmp 0x44fc63
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret 8
Function at 0x450190
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e84d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x47c860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402020
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402020
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.00402d30
push eax
call fcn.0040f307
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
call fcn.00401350
push eax
call fcn.0044a0e0
add esp, 4
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x34], 0
jne 0x450271
fld qword [0x46e288]
fstp qword [ebp - 0x44]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401ec0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401ec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401ec0
fld qword [ebp - 0x44]
jmp 0x4502ca
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x4c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401ec0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401ec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401ec0
fld qword [ebp - 0x4c]
jmp 0x4502ca
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x451c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x44ed90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov esp, ebp
pop ebp
ret
Function at 0x452610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ee67
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47c860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
add eax, 0x88
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
call fcn.004058c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x1c]
push ecx
push 0
push 0
push 1
push 2
push 1
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00407230
mov ecx, dword [ebp + 0x24]
sub esp, 0x10
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x48]
call fcn.00452310
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x10], eax
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.004169db
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x30]
call edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004069a0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406a80
mov ecx, dword [ebp + 0x24]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004071f0
push 1
mov ecx, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004069f0
mov ecx, dword [ebp - 0x48]
call fcn.00405f00
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x28]
call eax
lea ecx, [ebp - 0x18]
call fcn.004173b6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x453070
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
mov dword [ebp - 0x228], ecx
mov eax, 0x4e4
mov ecx, dword [ebp - 0x228]
mov word [ecx + 0x3e], ax
cmp dword [ebp - 0x228], 0
je 0x4530b4
mov edx, dword [ebp - 0x228]
add edx, 4
mov dword [ebp - 0x22c], edx
jmp 0x4530be
mov dword [ebp - 0x22c], 0
push 0x34
push 0
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0042c9a0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.0042c9a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.0042ca1a
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.0042fe35
add esp, 0xc
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x220]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x453127
xor eax, eax
jmp 0x45320d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040c18f
add esp, 4
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
mov dword [edx + 0x38], eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 0x220]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x45316f
xor eax, eax
jmp 0x45320d
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 4]
push eax
push 0x46b060
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x38]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x453193
xor eax, eax
jmp 0x45320d
cmp dword [ebp - 0x228], 0
je 0x4531ad
mov eax, dword [ebp - 0x228]
add eax, 4
mov dword [ebp - 0x230], eax
jmp 0x4531b7
mov dword [ebp - 0x230], 0
mov esi, dword [ebp - 4]
mov ecx, 0xd
mov edi, dword [ebp - 0x230]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0x46b064
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x38]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4531fb
cmp dword [ebp - 0x10], 4
jb 0x4531fb
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x228]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0x228]
xor eax, eax
cmp dword [edx + 4], 0xfeef04bd
sete al
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret 4