joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4be2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push edi
push 3
push eax
lea ecx, [esp + 0x38]
call fcn.00446ec0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
xor edi, edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x64], edi
call fcn.00446a50
test al, al
jne 0x404f57
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], 0xffffffff
call fcn.00446f40
xor al, al
pop edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
push ebx
push ebp
push esi
push 0x1000
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x24]
xor ebp, ebp
xor esi, esi
xor bl, bl
call fcn.00441fd0
mov edx, dword [esp + 0x1c]
push 1
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call dword [edx + 4]
cmp eax, 1
jne 0x405036
test edi, edi
mov al, byte [esp + 0x13]
jne 0x404fb3
cmp esi, 0xa
jne 0x404fa6
test al, al
jne 0x405002
mov edi, ebp
cmp al, byte [esi + 0x4e935c]
jne 0x404fb1
inc esi
jmp 0x404fb3
xor esi, esi
mov edx, dword [esp + 0x1c]
add bl, al
push 1
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x24]
inc ebp
call dword [edx + 4]
cmp eax, 1
je 0x404f93
test edi, edi
je 0x405036
push 0
push edi
lea ecx, [esp + 0x44]
call fcn.00446b00
test eax, eax
je 0x405036
mov edx, dword [esp + 0x3c]
push 1
lea eax, [esp + 0x18]
neg bl
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x1c], bl
call dword [edx + 8]
cmp eax, 1
jne 0x405036
mov bl, al
jmp 0x405038
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.00442040
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00446f40
pop esi
pop ebp
pop ebx
xor al, al
pop edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
xor bl, bl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.00442040
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00446f40
mov ecx, dword [esp + 0x68]
pop esi
pop ebp
mov al, bl
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x405840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4be3d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push esi
mov ecx, 0x4f2fec
mov dword [esp + 0xc], 0x4f2fec
call fcn.00442890
mov eax, dword [esp + 0x13c]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
mov ecx, 0x4e9370
mov dword [esp + 0x140], ebx
call fcn.00401a00
lea ecx, [esp + 0x2c]
call fcn.0045c990
push 0x4e9370
lea ecx, [esp + 0x30]
call fcn.0045cf60
call fcn.00404ee0
call fcn.00404ed0
test al, al
je 0x4058fa
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.00405250
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4e938c
mov byte [esp + 0x140], 1
call fcn.00401a00
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x134], bl
jb 0x40598f
mov edx, dword [esp + 0x14]
push edx
call fcn.00442830
add esp, 4
jmp 0x40598f
mov eax, dword [0x4e93a4]
mov edx, 0x10
push ecx
cmp eax, edx
mov eax, dword [0x4e9390]
mov ecx, esp
jae 0x405915
mov eax, 0x4e9390
mov esi, dword [0x4e93a0]
add eax, esi
mov dword [ecx], eax
push ecx
cmp dword [0x4e93a4], edx
mov ecx, dword [0x4e9390]
mov eax, esp
jae 0x405935
mov ecx, 0x4e9390
mov dword [eax], ecx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x4e938c
call fcn.00405120
cmp dword [0x4f2fe8], ebx
jne 0x40598f
push 0x24
call fcn.00442820
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebx
mov byte [esp + 0x134], 2
je 0x405971
mov ecx, eax
call fcn.004052a0
jmp 0x405973
xor eax, eax
push 1
push 0xea60
push eax
mov byte [esp + 0x140], bl
call fcn.00446a00
add esp, 0xc
mov dword [0x4f2fe8], eax
push 0x24
call fcn.00442820
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebx
mov byte [esp + 0x134], 3
je 0x4059b2
mov ecx, eax
call fcn.00405440
jmp 0x4059b4
xor eax, eax
push ebx
push 0x6ddd00
push eax
mov byte [esp + 0x140], bl
call fcn.00446a00
add esp, 0xc
call fcn.00404ed0
mov ecx, 0x4f2fec
mov bl, al
mov dword [esp + 0x134], 0xffffffff
call fcn.004428a0
mov ecx, dword [esp + 0x12c]
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret
Function at 0x4156b8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00442840
lea eax, [esp + 7]
push eax
lea ecx, [esp + 0xb]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0
call fcn.00414fc0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], 0xe10
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41d340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c0b07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 8], ebx
push esi
push edi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x78], 1
call fcn.00409730
mov edi, eax
mov ecx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.00442890
xor esi, esi
mov byte [esp + 0x78], 2
xor ebp, ebp
lea esp, [esp]
mov eax, dword [edi + 0x40]
cmp eax, ebx
je 0x41d4b6
mov ecx, dword [edi + 0x44]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x41d4b6
mov eax, dword [edi + 0x40]
cmp eax, ebx
je 0x41d3f6
mov ecx, dword [edi + 0x44]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jae 0x41d3f6
mov eax, dword [edi + 0x40]
lea ecx, [eax + ebp]
jmp 0x41d3f8
xor ecx, ecx
lea edx, [esp + 0x54]
push edx
call fcn.0040c770
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp esi, edx
sete dl
push ecx
mov byte [esp + 0x7c], 3
push edx
push eax
lea eax, [esp + 0x44]
push esi
push eax
call fcn.0041cf90
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 4
call fcn.00401720
cmp dword [esp + 0x50], 0x10
jb 0x41d454
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00442830
add esp, 4
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x78], 2
jb 0x41d47d
mov edx, dword [esp + 0x58]
push edx
call fcn.00442830
add esp, 4
mov eax, 0x4e946c
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d495
sub eax, edx
push eax
push 0x4e946c
lea ecx, [esp + 0x24]
call fcn.00401810
inc esi
add ebp, 0x38
jmp 0x41d3a0
mov esi, dword [esp + 0x80]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401a00
mov ecx, edi
mov dword [esp + 0x10], 1
mov byte [esp + 0x78], 1
call fcn.004428a0
cmp dword [esp + 0x34], 0x10
jb 0x41d501
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x70]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x42aa20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.0042a9c0
add esp, 4
push 1
call fcn.004b2198
int3

Function at 0x43b3a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c3f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
call fcn.00447f10
mov eax, dword [esp + 0x4c]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00401a00
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], ebx
call fcn.0043b240
mov esi, dword [eax]
cmp dword [esp + 0x30], 0x10
jb 0x43b427
mov edx, dword [esp + 0x1c]
push edx
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x4434e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c4a17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov esi, ecx
mov edi, 0xf
mov eax, 0x4f2fc0
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea ebp, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x443520
sub eax, ebp
push eax
push 0x4f2fc0
lea ecx, [esp + 0x1c]
call fcn.00401ab0
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [esi], 0x4cf99c
push ebx
lea eax, [esp + 0x1c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x44], ebx
mov byte [ecx + 4], bl
call fcn.00401a00
mov eax, 1
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], al
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x38], 2
jb 0x44357f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00442830
add esp, 4
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [esi + 0x28]
mov dword [esi], 0x4cfac4
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [ecx + 4], bl
call fcn.00401a00
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], ebx
mov byte [esi + 0x48], bl
mov eax, dword [esp + 0x44]
lea ecx, [esi + 0x64]
mov byte [esp + 0x38], 4
mov dword [esi + 0x60], eax
call fcn.00446e80
lea edi, [esi + 0x94]
mov ecx, edi
mov byte [esp + 0x38], 5
call fcn.00442840
mov bl, 6
mov ecx, edi
mov byte [esp + 0x38], bl
mov dword [esp + 0x40], edi
call fcn.00442890
mov ecx, esi
mov byte [esp + 0x38], 7
call fcn.00442cb0
mov ecx, esi
call fcn.00443470
mov ecx, edi
mov byte [esp + 0x38], bl
call fcn.004428a0
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x4436c0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4a88
push eax
mov dword fs:[0], esp
push ebp
mov ebp, dword [esp + 0x14]
mov dword [ebx], 0
cmp byte [ebp], 0x2a
push esi
push edi
jne 0x4436ef
mov al, byte [ebp + 1]
test al, al
je 0x443723
mov esi, 0x4ee42c
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x44371a
test cl, cl
je 0x443716
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x44371a
add eax, 2
add esi, 2
test cl, cl
jne 0x4436f6
xor eax, eax
jmp 0x44371f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44373d
mov dword [ebx], 0
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push ebp
call edi
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x4437e9
mov esi, 0x4ec894
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x44377c
test cl, cl
je 0x443778
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x44377c
add eax, 2
add esi, 2
test cl, cl
jne 0x443758
xor eax, eax
jmp 0x443781
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x443793
push 0x4ec8a0
call edi
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x4437e9
mov al, byte [esp + 0x20]
test al, al
jne 0x4437b2
mov eax, 0xffffffff
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov ecx, 0x5132e8
call fcn.00442890
push ebp
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4437fd
cmp word [eax + 8], 2
jne 0x4437fd
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, 0x5132e8
mov dword [ebx], edx
mov dword [esp + 0x14], 0xffffffff
call fcn.004428a0
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push 0xfff0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, 0x5132e8
mov dword [esp + 0x14], 0xffffffff
call fcn.004428a0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret

Function at 0x443930
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4b7b
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
push 0x100
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
xor esi, esi
test eax, eax
jne 0x4439f0
mov ecx, 0x5132e8
mov dword [esp + 8], 0x5132e8
call fcn.00442890
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x118], esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
je 0x4439db
mov edx, dword [eax + 0xc]
mov dword [esp + 4], esi
mov eax, dword [edx]
push eax
lea ecx, [esp + 8]
call fcn.00448d00
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x11c]
mov dword [esi], ecx
mov ecx, 0x5132e8
mov dword [esp + 0x114], 0xffffffff
call fcn.004428a0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
add esp, 0x114
ret
mov ecx, 0x5132e8
mov dword [esp + 0x114], 0xffffffff
call fcn.004428a0
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x10c]
mov dword [eax], esi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x443a10
Capabilities:
Get socket status

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x10c
xor eax, eax
cmp edx, 0xffffffff
je 0x443a77
push esi
mov eax, edx
xor edx, edx
mov esi, 0x3e8
div esi
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 1
imul edx, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
mov dword [esp + 0x10], edx
push 0
lea edx, [esp + 0x18]
push edx
inc ecx
push ecx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
pop esi
jne 0x443a77
push 0x274c
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
add esp, 0x10c
ret

Function at 0x443a80
Capabilities:
Get socket status

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x10c
xor eax, eax
cmp edx, 0xffffffff
je 0x443ae7
push esi
mov eax, edx
xor edx, edx
mov esi, 0x3e8
div esi
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 1
imul edx, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x14]
push edx
push 0
inc ecx
push ecx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
pop esi
jne 0x443ae7
push 0x274c
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
add esp, 0x10c
ret

Function at 0x443b90
Capabilities:
Create udp socket

Disassembly:
push esi
push edi
push ecx
mov esi, ecx
mov ecx, dword [esi + 0xc]
xor eax, eax
test ecx, ecx
setne al
mov edi, esp
push 0
inc eax
push eax
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, esi
mov dword [edi], eax
call fcn.00443b70
pop edi
pop esi
ret

Function at 0x443f10
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4c4ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push edi
mov dword [ecx + 0xc], eax
mov edi, edx
mov word [esi], 2
mov eax, dword [edi]
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esi + 2], ax
lea ebx, [esi + 4]
call dword [sym.imp.WS2_32.dll_htonl]
lea edx, [esp + 0xc]
push edx
mov ecx, edi
mov dword [ebx], eax
call fcn.004a2c80
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
mov dword [esp + 0x30], 0
jb 0x443f80
mov eax, dword [eax + 4]
jmp 0x443f83
add eax, 4
push 1
push eax
call fcn.004436c0
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, edi
jb 0x443fa5
mov eax, dword [esp + 0x10]
push eax
call fcn.00442830
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x443fc0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
call fcn.00443bc0
test al, al
je 0x444027
mov edx, dword [esp + 0x18]
lea ecx, [esp + 4]
call fcn.00443f10
push eax
mov ecx, esi
call fcn.004438d0
test al, al
je 0x444027
mov eax, dword [esi + 4]
push 0x10
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
push eax
mov ecx, esi
call fcn.004438d0
test al, al
je 0x44400e
mov al, 1
pop esi
add esp, 0x10
ret 4
push edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x20]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x34]
pop edi
xor al, al
pop esi
add esp, 0x10
ret 4

Function at 0x444030
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 4], 1
call fcn.00443bc0
test al, al
je 0x4440c5
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 8]
call fcn.00443f10
push eax
mov ecx, esi
call fcn.004438d0
test al, al
je 0x4440c5
mov eax, dword [esi + 4]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push eax
mov ecx, esi
call fcn.004438d0
test al, al
je 0x4440c5
mov eax, dword [esi + 4]
push 0x10
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_bind]
push eax
mov ecx, esi
call fcn.004438d0
test al, al
je 0x4440c5
mov eax, dword [esi + 4]
push 0x1e
push eax
call dword [sym.imp.WS2_32.dll_listen]
push eax
mov ecx, esi
call fcn.004438d0
test al, al
je 0x4440c5
mov eax, 1
pop esi
add esp, 0x14
ret 4
xor eax, eax
pop esi
add esp, 0x14
ret 4

Function at 0x444290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4b47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
xor ebx, ebx
mov ecx, 0x5132e8
mov dword [esp + 0xc], ebx
push edi
mov dword [esp + 0x14], ecx
call fcn.00442890
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x40], 1
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
mov ecx, esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea ebp, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x4442f0
sub ecx, ebp
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00401ab0
xor ecx, ecx
mov cx, word [edi + 2]
mov byte [esp + 0x3c], 2
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov esi, dword [esp + 0x44]
movzx edx, ax
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [esi], edx
push ebx
lea eax, [esp + 0x20]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401a00
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x10], 1
jb 0x444359
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00442830
add esp, 4
mov ecx, 0x5132e8
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x3c], bl
call fcn.004428a0
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4447a0
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4b7b
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebp
push edi
mov edi, dword [esp + 0x120]
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebp
je 0x4447d6
push eax
call fcn.00442830
add esp, 4
push 0x100
lea eax, [esp + 0x14]
push eax
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x444864
mov ecx, 0x5132e8
push ebx
mov dword [esp + 0x10], ecx
call fcn.00442890
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x120], ebp
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
cmp ebx, ebp
je 0x44484e
mov eax, dword [ebx + 0xc]
cmp dword [eax], ebp
je 0x44484e
push esi
xor esi, esi
mov dword [esp + 0x10], ebp
mov edx, dword [eax]
push edx
lea ecx, [esp + 0x14]
call fcn.00448d00
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00444730
mov ecx, dword [ebx + 0xc]
add esi, 4
lea eax, [ecx + esi]
cmp dword [eax], ebp
jne 0x444824
pop esi
mov ecx, 0x5132e8
mov dword [esp + 0x11c], 0xffffffff
call fcn.004428a0
pop ebx
mov eax, dword [edi + 4]
cmp eax, ebp
jne 0x44486f
xor edi, edi
jmp 0x444877
mov edi, dword [edi + 8]
sub edi, eax
sar edi, 2
mov ecx, dword [esp + 0x110]
xor eax, eax
cmp edi, ebp
pop edi
setne al
pop ebp
mov dword fs:[0], ecx
add esp, 0x114
ret

Function at 0x4458c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4d27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4cfba0
mov eax, dword [esi + 0x4c]
push eax
mov dword [esp + 0x20], 4
call fcn.00446a20
add esp, 4
mov ecx, esi
call fcn.004456d0
lea ecx, [esi + 0x38]
call fcn.004113d0
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x2c]
xor ebx, ebx
cmp eax, ebx
jne 0x44591a
xor ecx, ecx
jmp 0x44591c
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00444a10
mov eax, dword [edi + 4]
push eax
call fcn.00442830
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x20]
add esp, 4
cmp eax, ebx
jne 0x44594a
xor ecx, ecx
jmp 0x44594c
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.00444a10
mov eax, dword [edi + 4]
push eax
call fcn.00442830
add esp, 4
lea ecx, [esi + 0x1c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x1c], bl
call fcn.004428d0
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00442860
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret