joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d750
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044d8a0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44d770
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44d751
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044d8a0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44d770
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44d7a0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44d7f7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44d80d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044d830
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44d830
Capabilities:
Connect socket

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

Function at 0x44d8c0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44d909
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44dd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044d930
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044d9b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044d9b0
lea ecx, [esi + 0xc]
call fcn.004661b6
lea ecx, [esi + 0x10]
call fcn.004661b6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004501e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004501e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004501e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046622b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046622b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44ea28
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4748b8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44ea38
call fcn.0044ef50
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44eb1b
cmp byte [edi], 0
je 0x44eb1b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44ea5d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044d750
test eax, eax
jne 0x44ea7d
push 0x4b3488
lea ecx, [esi + 0x38]
call fcn.00466368
jmp 0x44eb1b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044d7a0
test eax, eax
jne 0x44eaac
mov ecx, esi
call fcn.0044d8a0
push edi
add esi, 0x38
push 0x4b3464
push esi
call fcn.004641c7
add esp, 0xc
jmp 0x44eb1b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044f7d0
test eax, eax
je 0x44eb14
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044ebf0
test eax, eax
jne 0x44eb30
push edi
lea eax, [esi + 0x38]
push 0x4b3440
push eax
call fcn.004641c7
add esp, 0xc
mov ecx, esi
call fcn.0044ef50
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44ebd8
mov ecx, dword [0x4b3abc]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.004641c7
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044d850
test eax, eax
jne 0x44eb9a
push 0x4b3424
lea ecx, [esi + 0x38]
call fcn.00466368
jmp 0x44ebaa
push 0xfa
mov ecx, esi
call fcn.0044f7d0
test eax, eax
jne 0x44ebc7
mov ecx, esi
call fcn.0044ef50
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046622b
jmp 0x44eb1b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046622b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4508a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x49c0e0
push 1
push 0
push 0x49c0d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4508ce
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x49c180
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x450902
xor eax, eax
add esp, 0x210
ret 8
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
add esp, 0x210
ret 8
Function at 0x4685d2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46860a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00466686
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046665e
jmp 0x468616
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x469cc5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x469d07
call fcn.0046f8d3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469d07
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469cfe
xor eax, eax
jmp 0x469d0f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469d15
pop edi
pop esi
pop ebx
ret 4

Function at 0x46fe03
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46fe31
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46fe4f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046fd69
jmp 0x46fe4f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46fe4f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046fd69
test edi, edi
mov eax, edi
jne 0x46fe39
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401430
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44d010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
cmp esi, 0xffffffff
je 0x401468
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [ebp - 4]
mov eax, ebx
mov dword [edi + 8], esi
xor ecx, ebp
mov dword [edi + 0xc], 0
pop edi
pop esi
pop ebx
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret 8

Function at 0x4014c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44d010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
je 0x4015c0
mov edx, dword [sym.imp.WS2_32.dll_getsockopt]
xor eax, eax
test ebx, ebx
je 0x401552
mov eax, dword [ebx]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x1006
push 0xffff
push ecx
mov dword [ebp - 0x10], 4
call edx
test eax, eax
jne 0x401525
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x1006
push 0xffff
push dword [esi + 8]
call ebx
test eax, eax
jne 0x4015aa
mov edx, dword [sym.imp.WS2_32.dll_getsockopt]
jmp 0x401558
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
test edi, edi
je 0x4015aa
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x1005
push 0xffff
push dword [esi + 8]
mov dword [ebp - 8], 4
call edx
test eax, eax
jne 0x40158f
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x1005
push 0xffff
push dword [esi + 8]
call ebx
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 0x15
pop edi
mov dword [esi + 0xc], 0x15
xor ecx, ebp
pop esi
pop ebx
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x401622
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x401605
mov dword [ecx], eax
test eax, eax
jne 0x40161a
mov dword [esi + 0xc], 0x2745
mov eax, 0x2745
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0xc]
pop esi
pop ebp
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0xc], eax
pop esi
pop ebp
ret 0x10
Function at 0x401630
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
push edi
push dword [ebp + 0xc]
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_send]
xor esi, esi
test eax, eax
jle 0x401671
add esi, eax
cmp esi, edi
jae 0x401675
push 0
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x401651
jne 0x40167e
cmp esi, edi
sbb eax, eax
and eax, 0x2745
jmp 0x401684
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x401690
mov dword [eax], esi
mov eax, dword [ebx + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x402ce0
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dc20
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x44d010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x6c], edx
mov edx, 0x15
je 0x402e3d
test edi, edi
je 0x402dd6
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
push str.Cookie:
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
call fcn.00407990
push edi
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
call fcn.00407110
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
push 0x40000000
cmovae eax, dword [ebp - 0x84]
push 0xffffffffffffffff
push eax
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x402dd6
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402dcc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e5f
push ecx
push edx
call fcn.0041e43c
add esp, 8
push dword [ebx + 0xc]
push dword [ebp - 0x6c]
push 0
push 0
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x402e35
push 0x50
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00420150
add esp, 0xc
mov dword [ebp - 0x6c], 0x50
lea eax, [ebp - 0x6c]
push 0
push eax
lea eax, [ebp - 0x68]
push eax
push 0x13
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x402e35
lea eax, [ebp - 0x68]
push eax
call fcn.00426558
xor edx, edx
add esp, 4
cmp eax, 0xc8
cmovne edx, eax
jmp 0x402e3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e3f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004267cc
int3
Function at 0x404150
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push esi
xor esi, esi
mov dword [ebp - 4], eax
cmp dword [eax + 8], esi
jne 0x4041c6
push ebx
push edi
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4041b4
cmp word [edi + 8], 2
jne 0x4041b4
cmp word [edi + 0xa], 4
jne 0x4041b4
cmp esi, 0xc
jge 0x4041b2
mov eax, dword [edi + 0xc]
mov eax, dword [esi + eax]
test eax, eax
je 0x4041b2
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [ebp + 0xc]
push 0
push ecx
mov ecx, eax
call fcn.00406930
mov ebx, eax
add esp, 8
add esi, 4
test ebx, ebx
je 0x404182
xor esi, esi
mov eax, dword [ebp - 4]
test ebx, ebx
pop edi
mov dword [eax + 8], ebx
mov eax, 0x4b1
cmove esi, eax
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x405a40
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44d010]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edx
push eax
mov edi, ecx
mov dword [ebp - 0x10], 1
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jne 0x405abe
push 0x10
push dword [ebp - 0xc]
mov dword [ebp - 0x118], edi
push edi
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_connect]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
call dword [sym.imp.WS2_32.dll_select]
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 0x5b4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret
Function at 0x405af0
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x44d010]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
push 6
push 1
push 2
mov dword [esp + 0x24], edx
mov edi, ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x405bdb
cmp dword [esp + 0x14], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
je 0x405b6b
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
push eax
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x405bbe
push 0x10
push dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x405bbe
push dword [esp + 0x18]
xorps xmm0, xmm0
mov eax, 2
movlpd qword [esp + 0x2c], xmm0
mov word [esp + 0x24], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x22], ax
test edi, edi
je 0x405ba1
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x405ba9
mov dword [esp + 0x24], 0
sub esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.00405a40
add esp, 0xc
test eax, eax
je 0x405bd9
mov ecx, esi
call fcn.00405970
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret
Function at 0x4067e0
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dfb5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x44d010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x48
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00420150
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.00401730
test esi, esi
mov dword [ebp - 4], 0
mov edx, 0x447c5c
cmovne edx, esi
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406850
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x6c]
call fcn.00406fe0
push 0x43
push str.Mozilla_5.0__Windows_NT_5.1__AppleWebKit_537.36__KHTML__like_Gecko_
lea ecx, [ebp - 0x54]
call fcn.00406fe0
lea ecx, [ebp - 0x78]
mov word [ebp - 0x3c], 0x100
call fcn.00402830
mov esi, eax
test esi, esi
jne 0x4068f3
sub esp, 0xc
lea ecx, [ebp - 0x78]
push edi
call fcn.004024c0
mov esi, eax
test esi, esi
jne 0x4068f3
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
push 0x447c5c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.00407990
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.00402740
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4068f3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4068e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40691b
push ecx
push edx
call fcn.0041e43c
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.004017e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e3f9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004267cc
int3
Function at 0x408d70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x44d010]
xor eax, esp
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x408df3
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 2
push eax
push 0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x408f60
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov edx, 0x26
lea ecx, [esp + 0x10]
call fcn.0040f790
mov ecx, dword [0x44f154]
cmp ecx, 8
jb 0x408e4c
mov edx, dword [0x44f140]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408e42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408f57
push ecx
push edx
call fcn.0041e43c
add esp, 8
movups xmm0, xmmword [esp + 0x10]
push 0x1f
push str.Internet_Exploreriexplore.exe
movups xmmword [0x44f140], xmm0
mov ecx, 0x44f140
movq xmm0, qword [esp + 0x28]
movq qword [0x44f150], xmm0
call fcn.004072d0
mov ecx, 0x44f140
call fcn.0040fb30
push 0x50
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00420150
add esp, 0xc
xor ecx, ecx
lea eax, [ecx + 0x41]
mov byte [esp + ecx + 0x38], al
inc ecx
cmp ecx, 0x1a
jl 0x408e94
xor ecx, ecx
lea eax, [ecx + 0x61]
mov byte [esp + ecx + 0x52], al
inc ecx
cmp ecx, 0x1a
jl 0x408ea3
xor eax, eax
lea ecx, [eax + 0x30]
mov byte [esp + eax + 0x6c], cl
inc eax
cmp eax, 0xa
jl 0x408eb2
lea eax, [esp + 0x38]
mov word [esp + 0x76], 0x5f2d
push eax
mov ecx, 0x44dca8
call fcn.004175b0
movaps xmm0, xmmword [0x4489c0]
movups xmmword [0x44f23c], xmm0
movaps xmm0, xmmword [0x448960]
movups xmmword [0x44f228], xmm0
movaps xmm0, xmmword [0x448980]
movups xmmword [0x44f264], xmm0
movaps xmm0, xmmword [0x4489c0]
movups xmmword [0x44f1ec], xmm0
movaps xmm0, xmmword [0x4489a0]
movups xmmword [0x44f250], xmm0
movaps xmm0, xmmword [0x448990]
movups xmmword [0x44f214], xmm0
movaps xmm0, xmmword [0x4489b0]
movups xmmword [0x44f200], xmm0
call fcn.0040afb0
call fcn.0040e0b0
mov ecx, dword [esp + 0x8c]
xor eax, eax
xor ecx, esp
call fcn.0041e3f9
mov esp, ebp
pop ebp
ret 0x10
call fcn.004267cc
int3