joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411780
Capabilities:
Get socket status

Disassembly:
sub esp, 0x110
mov eax, dword [0x46ed38]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x10
je 0x411828
mov ebx, dword [esp + 0x128]
mov edi, dword [esp + 0x124]
mov ebp, dword [sym.imp.WS2_32.dll_select]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push 0
push 0
push ecx
push 0x40
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 1
call ebp
test eax, eax
je 0x41181f
jl 0x411828
lea edx, [esp + 0x1c]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41181f
push 0
lea eax, [esp + 0x14]
push 0
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_WSAAccept]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411837
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x411828
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x46ed38]
test eax, eax
jne 0x4117bf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 8
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 8

Function at 0x411850
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push 0
push 0
push 0x10
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAConnect]
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x414d70
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
sub esp, 0x14
push esi
push edi
push 1
push 0
push 0
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x24], eax
call edi
test eax, eax
jne 0x414dd8
mov eax, dword [esp + 0x20]
mov word [esp + 0xc], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0xc]
push 0x10
push ecx
push edx
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_bind]
call edi
test eax, eax
je 0x414de2
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 4
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0
push esi
push 0x414d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x414dd8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 4
Function at 0x415350
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
sub esp, 0x14
push esi
push edi
push 1
push 0
push 0
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
call edi
test eax, eax
jne 0x4153b8
mov eax, dword [esp + 0x20]
mov word [esp + 0xc], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0xc]
push 0x10
push ecx
push edx
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_bind]
call edi
test eax, eax
je 0x4153c2
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 4
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0
push esi
push 0x415340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4153b8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 4
Function at 0x415b90
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
sub esp, 0x14
push esi
push edi
push 1
push 0
push 0
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x14], eax
call edi
test eax, eax
jne 0x415bf8
mov eax, dword [esp + 0x20]
mov word [esp + 0xc], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0xc]
push 0x10
push ecx
push edx
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_bind]
call edi
test eax, eax
je 0x415c02
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 4
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0
push esi
push 0x415b80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x415bf8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 4
Function at 0x416340
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
sub esp, 0x14
push esi
push edi
push 1
push 0
push 0
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x18], eax
call edi
test eax, eax
jne 0x4163a8
mov eax, dword [esp + 0x20]
mov word [esp + 0xc], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0xc]
push 0x10
push ecx
push edx
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_bind]
call edi
test eax, eax
je 0x4163b2
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 4
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0
push esi
push 0x416330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4163a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 4
Function at 0x416b30
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
sub esp, 0x14
push esi
push edi
push 1
push 0
push 0
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x1c], eax
call edi
test eax, eax
je 0x416b62
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 4
mov eax, dword [esp + 0x20]
mov word [esp + 0xc], 2
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push 0x10
push ecx
push edx
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_bind]
call edi
test eax, eax
je 0x416bac
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 4
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0
push esi
push 0x416b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
test esi, esi
setne al
pop esi
add esp, 0x14
ret 4
Function at 0x41db00
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x46f4b4]
mov ecx, dword [0x46f468]
sub esp, 8
cmp eax, ecx
jle 0x41db19
mov eax, ecx
mov dword [0x46f4b4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebp
push esi
xor ebp, ebp
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebp
jle 0x41db52
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push ebp
push esi
push 0x41dea0
push ebp
push ebp
call ebx
push eax
call edi
mov eax, dword [0x46f4b4]
inc esi
cmp esi, eax
jl 0x41db31
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push ebp
push ebp
push 0x41e650
push ebp
push ebp
call ebx
push eax
call edi
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push edx
push ebp
push ebp
push 0x41d9c0
push ebp
push ebp
call ebx
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x41e500
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [0x51a84c]
sub esp, 0x14
test eax, eax
je 0x41e583
mov edx, dword [esp + 0x18]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push edx
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [0x502144]
test eax, eax
je 0x41e55c
mov eax, dword [0x502114]
test eax, eax
je 0x41e583
call fcn.0041e4e0
cmp eax, 1
jle 0x41e583
mov eax, dword [esp + 8]
mov ecx, dword [0x502114]
cmp eax, ecx
jne 0x41e583
mov eax, 1
add esp, 0x14
ret
mov edx, dword [esp + 8]
mov ecx, 0x502118
mov eax, dword [ecx]
test eax, eax
je 0x41e57a
cmp edx, eax
je 0x41e583
add ecx, 4
cmp ecx, 0x502140
jl 0x41e565
mov eax, 1
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret

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

Disassembly:
mov eax, 0x2020
call fcn.0043ae00
push ebp
push esi
push edi
push 0x46fe28
push 0x502148
lea ecx, [esp + 0x28]
call fcn.0042c2f0
lea ecx, [esp + 0x20]
call fcn.0042c3b0
test eax, eax
je 0x41e609
mov edi, dword [sym.imp.WS2_32.dll_socket]
mov ebp, dword [sym.imp.WS2_32.dll_closesocket]
push 0
push 1
push 2
call edi
push 1
push 0x50
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x14], 0x10
call fcn.0042c350
mov ecx, dword [0x4f4390]
push eax
push esi
call fcn.00419740
test eax, eax
jne 0x41e61f
push esi
call ebp
lea ecx, [esp + 0x20]
call fcn.0042c3b0
test eax, eax
jne 0x41e5c9
pop edi
pop esi
mov dword [0x502114], 0
xor eax, eax
pop ebp
add esp, 0x2020
ret
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x14]
push esi
mov dword [0x502114], edx
call ebp
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x2020
ret
Function at 0x4237c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x51a834]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
jne 0x423805
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], ebx
xor edi, edi
mov eax, dword [0x51a834]
mov dword [ebp - 0x14], edi
cmp edi, eax
jge 0x423911
lea eax, [edi*8]
push 1
sub eax, edi
push ebx
push ebx
push ebx
lea esi, [eax + eax*4]
shl esi, 3
cmp dword [esi + 0x517188], ebx
jne 0x42383a
push 1
jmp 0x42383c
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [esi + 0x517184], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x423869
lea eax, [ebp - 0x18]
push 0x467aa8
push eax
mov dword [ebp - 0x18], 0xffffffff
call fcn.0043c293
mov cx, word [esi + 0x517298]
mov word [ebp - 0x34], 2
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x32], ax
mov eax, dword [esi + 0x517184]
lea edx, [ebp - 0x34]
push 0x10
push edx
push eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.WS2_32.dll_bind]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x42390b
mov ecx, dword [esi + 0x517184]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea edx, [ebp - 0x1c]
push 0x467aa8
push edx
mov dword [ebp - 0x1c], 0xffffffff
call fcn.0043c293
mov eax, dword [ebp - 0x14]
lea edi, [eax - 1]
test edi, edi
jle 0x4238e6
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
mov esi, 0x517184
mov ecx, dword [esi]
push ecx
call ebx
add esi, 0x118
dec edi
jne 0x4238d8
mov eax, dword [ebp - 0x14]
or edx, 0xffffffff
sub edx, eax
mov eax, 0x4238f7
mov dword [ebp - 0x14], edx
ret
inc edi
jmp 0x42380a
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push ebx
push ecx
push 0x423780
push ebx
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x42394b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424140
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, 0x201c
call fcn.0043ae00
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x1a
mov esi, str.HTTP_1.0_200_OK_r_nServer:_Youngzsoft.com_r_nContent_Type:_application_octet_stream_r_nAccept_Ranges:_bytes_r_n_r_n
lea edi, [esp + 0x1024]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x3e5
lea edi, [esp + 0x108e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x503160
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4241a8
mov eax, dword [esp + 0x202c]
push 0x503160
push eax
mov ecx, ebx
call fcn.00411160
pop edi
pop esi
pop ebx
add esp, 0x201c
ret 4
mov cl, byte [0x473aa0]
xor eax, eax
mov byte [esp + 0x20], cl
mov ecx, 0x400
lea edi, [esp + 0x21]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
push ebp
mov ebp, dword [esp + 0x2030]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x1b]
mov ecx, dword [0x4f77b4]
mov eax, dword [esp + 0x1a]
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x1d]
push edx
mov edx, dword [esp + 0x20]
and eax, 0xff
and ecx, 0xff
push eax
and edx, 0xff
push ecx
push edx
lea eax, [esp + 0x38]
push str.function_FindProxyForURL_url__host__r_n_r_nreturn__PROXY__d._d._d._d:_d__
push eax
call fcn.0043afc4
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1028]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1028]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebp
mov ecx, ebx
call fcn.00411160
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x201c
ret 4
Function at 0x4243a0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov eax, 0x4020
call fcn.0043ae00
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x4030]
push edi
lea eax, [ecx + ecx*2]
lea esi, [eax + eax*4]
mov eax, dword [0x51a850]
lea esi, [esi + esi*4]
shl esi, 2
mov edx, dword [esi + eax]
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], edx
push eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x202c]
push edx
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x3038], 0
mov dword [esp + 0x20], 0x1000
mov dword [esp + 0x2c], 0
call fcn.00424280
test eax, eax
jne 0x424412
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4020
ret 0x10
mov cl, byte [0x473aa0]
xor eax, eax
mov byte [esp + 0x20], cl
mov ecx, 0x400
lea edi, [esp + 0x21]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x2030]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x28], 0x50
call fcn.00410970
mov edi, eax
test edi, edi
jne 0x424467
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x4020
ret 0x10
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ebx, eax
mov eax, dword [0x51a850]
cmp edi, 1
mov dword [esi + eax + 4], ebx
jne 0x42458c
mov ecx, dword [esp + 0x4040]
mov edx, dword [esp + 0x4038]
push 0
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.00419740
test eax, eax
jne 0x4244b8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4020
ret 0x10
mov al, byte [0x473aa0]
mov ecx, 0x400
mov byte [esp + 0x1024], al
xor eax, eax
lea edi, [esp + 0x1025]
push 0x46e14c
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x202c]
push ecx
call fcn.0043ad80
mov esi, eax
push 0x46e14c
inc esi
push esi
call fcn.0043ad80
push 0x46e148
lea edx, [esp + 0x34]
push 0x46efe8
push edx
mov byte [eax], 0
call fcn.0042e770
push 0x470f40
push 0x470f3c
push esi
call fcn.0042e770
mov eax, dword [esp + 0x4060]
mov edx, dword [esp + 0x4064]
push eax
lea ecx, [esp + 0x4c]
push esi
push ecx
push edx
lea eax, [esp + 0x105c]
push str.GET__s_host_surl_s_HTTP_1.0_r_nHost:__s_r_n_r_n
push eax
call fcn.0043afc4
lea edi, [esp + 0x1064]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1028]
push ecx
push ebx
mov ecx, ebp
call fcn.00411190
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4034]
push 0
push edx
push ebx
push eax
mov ecx, ebp
call fcn.00417ca0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4020
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0x4020
ret 0x10

Function at 0x4245a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x110]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0xffffffffffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
add esp, 0x10c
ret 4
Function at 0x4256b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
mov esi, dword [esp + 0x424]
push edi
mov ebp, ecx
mov eax, dword [esi]
test eax, 0x800000
je 0x4256db
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x414
ret 0xc
and eax, 0xf0ffffff
lea ebx, [ebp + 0xa0]
mov dword [esi], eax
lea edi, [esi + 0xc]
mov dword [ebx], esi
mov eax, dword [esi]
add ebx, 4
test eax, 0x780000
jne 0x4258a2
mov ax, word [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 1
jne 0x42588c
test dword [esi + 4], 0xffff0000
jne 0x42588c
test dword [esi + 8], 0xffffffff
jne 0x42588c
test byte [edi], 0xc0
jne 0x425736
mov dword [ebx], edi
add ebx, 4
mov edx, dword [esp + 0x42c]
lea ecx, [esp + 0x20]
mov dword [ebx], 0
push 0x401
push ecx
lea ebx, [esi + edx]
push edi
push ebx
push esi
mov ecx, ebp
call fcn.00424cc0
test eax, eax
jl 0x425894
add edi, eax
xor eax, eax
xor ecx, ecx
mov ah, byte [edi]
mov ch, byte [edi + 2]
mov al, byte [edi + 1]
mov cl, byte [edi + 3]
add edi, 2
mov dword [esp + 0x14], eax
add edi, 2
mov dword [esp + 0x18], ecx
cmp edi, ebx
jbe 0x42579a
mov edx, dword [esi]
and edx, 0xf1ffffff
or edx, 0x1000000
mov dword [esi], edx
jmp 0x4258a2
cmp eax, 0xfc
jne 0x4257b4
mov dword [ebp + 0xa0], 0
mov eax, dword [esi]
and eax, 0xfffeffff
mov dword [esi], eax
mov eax, dword [esp + 0x42c]
mov ecx, dword [esp + 0x430]
sub ecx, eax
lea edx, [esp + 0x20]
mov dword [esp + 0x430], ecx
lea ecx, [esp + 0x20]
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4257f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret 0xc
push eax
mov ecx, ebp
call fcn.00425670
mov ebx, eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x430]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
push eax
sub edi, esi
push ecx
push ebx
mov ecx, ebp
mov dword [esp + 0x2c], edi
call fcn.00425460
mov edx, dword [ebx]
mov edi, eax
push edx
call fcn.0043ca77
mov eax, dword [ebx + 0xc]
push eax
call fcn.0043ca77
push ebx
call fcn.0043ca77
add esp, 0xc
test edi, edi
je 0x4258a2
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x430]
mov ebx, dword [esp + 0x42c]
mov ecx, eax
and eax, 0xffff
and ecx, 0xffff0000
sub ebp, edi
shl edx, 0x10
add ecx, edx
add ebx, edi
xor ecx, eax
mov dword [esp + 0x430], ebp
mov dword [esp + 0x42c], ebx
mov dword [esi + 4], ecx
jmp 0x4258a2
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [esi]
and eax, 0xf1ffffff
or eax, 0x1000000
mov dword [esi], eax
mov ecx, dword [esi + 4]
mov edi, dword [esi]
shr ecx, 0x10
or edi, 0x80800000
push ecx
mov dword [esi], edi
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 4]
and eax, 0xffff
shl eax, 0x10
and edx, 0xffff
pop edi
or eax, edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x428]
pop esi
pop ebp
pop ebx
add esp, 0x414
ret 0xc
Function at 0x425e80
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xa4], 0
mov ecx, dword [esi + 0x7c]
push 0
push 0
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x4be
mov ecx, esi
call fcn.004508ba
mov ecx, eax
call fcn.00450aed
push 0
push 0x3e9
mov ecx, esi
call fcn.004508ba
mov ecx, eax
call fcn.00450aed
pop esi
ret

Function at 0x426980
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45c2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x426a2a
mov eax, dword [0x471a34]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0045125d
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004512ac
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00451209
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x426a11
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x426a11
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00450e93
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x426a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x426aa2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x426cb0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x426da2
lea ecx, [esp + 0x10]
push ecx
push str..htm
push bind
mov ecx, edi
call fcn.00426a40
test eax, eax
jne 0x426da2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push bind
mov ecx, edi
call fcn.00426a40
test eax, eax
jne 0x426da2
lea edx, [esp + 0x10]
push 0x47143c
push edx
call fcn.0043cabf
mov esi, eax
add esp, 8
test esi, esi
jne 0x426d73
lea eax, [esp + 0x10]
push 0x471438
push eax
call fcn.0043ad80
mov esi, eax
add esp, 8
test esi, esi
jne 0x426d73
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x426d76
mov byte [esi], 0
push 0x46e14c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8