joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4279d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x49dee0
mov dword [esi + 4], ebx
mov ecx, eax
jne 0x427a08
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x427a14
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esp + 0x14], ebx
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x427b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], esi
mov dword [esi], 0x49dee0
jne 0x427b33
mov eax, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ecx, eax
jne 0x427b45
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x427b51
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esp + 0x14], ebx
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x427bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x49dee4
mov dword [esi + 4], ebx
mov ecx, eax
jne 0x427be8
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x427bf4
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esp + 0x14], ebx
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x427df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], esi
mov dword [esi], 0x49dee4
jne 0x427e23
mov eax, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ecx, eax
jne 0x427e35
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x427e41
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esp + 0x14], ebx
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x430020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0042fe60
mov ecx, dword [esp + 0x1c]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], ecx
je 0x43005b
call fcn.004309b0
jmp 0x43005d
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x28], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4300d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0042fe60
mov ecx, dword [esp + 0x1c]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], ecx
je 0x43010b
call fcn.004309b0
jmp 0x43010d
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x38], edi
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x3c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x430a20
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
mov ax, word [esp + 4]
sub esp, 0x10
push esi
mov esi, ecx
mov word [esi + 0x174], ax
mov eax, dword [esp + 0x1c]
test eax, eax
push edi
je 0x430a6e
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x430a40
sub ecx, edi
cmp ecx, 0x10
jae 0x430a6e
lea edi, [esi + 0x176]
mov edx, edi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x430a60
jmp 0x430a8e
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edi, [esi + 0x176]
mov edx, edi
nop
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x430a80
cmp dword [esi + 0x170], 0xffffffff
jne 0x430ad4
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x170], eax
cmp dword [esi + 0x170], 0xffffffff
je 0x430ad4
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
cmp byte [edi], cl
mov dword [esp + 0x14], ecx
je 0x430adf
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x430ae1
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x10
ret 8
xor eax, eax
mov dx, word [esi + 0x174]
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x170]
mov word [esp + 0xa], ax
push 0x10
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x430b24
pop edi
mov eax, 0xfffffffe
pop esi
add esp, 0x10
ret 8
mov edx, dword [esi + 0x170]
push closesocket
push edx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x430b47
pop edi
mov eax, 0xfffffffd
pop esi
add esp, 0x10
ret 8
mov ecx, dword [esi + 0x170]
lea eax, [esp + 0x1c]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x430b77
pop edi
mov eax, 0xfffffffc
pop esi
add esp, 0x10
ret 8
pop edi
mov byte [esi + 0x16c], 0
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x430b90
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x430bc4
mov ax, word [esp]
cmp al, 2
jne 0x430bbe
cmp ah, al
jne 0x430bbe
xor eax, eax
add esp, 0x190
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
add esp, 0x190
ret
Function at 0x43132f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4909ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x49e3f8
mov dword [esi + 4], ebx
mov ecx, eax
jne 0x431348
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x431354
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x431460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4909ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x49e3fc
mov dword [esi + 4], ebx
mov ecx, eax
jne 0x431498
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x4314a4
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x431570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4909ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], esi
mov dword [esi], 0x49e3fc
jne 0x4315a3
mov eax, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ecx, eax
jne 0x4315b5
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x4315c1
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x431610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4909ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x49e400
mov dword [esi + 4], ebx
mov ecx, eax
jne 0x431648
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x431654
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x431720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4909ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], esi
mov dword [esi], 0x49e400
jne 0x431753
mov eax, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ecx, eax
jne 0x431765
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x431771
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4317c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4909ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x49e404
mov dword [esi + 4], ebx
mov ecx, eax
jne 0x4317f8
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x431804
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4319e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4909ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 8], esi
mov dword [esi], 0x49e404
jne 0x431a13
mov eax, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov ecx, eax
jne 0x431a25
mov ecx, 1
cmp eax, ebx
mov dword [esi + 8], ecx
jne 0x431a31
mov eax, 1
mov dword [esi + 0xc], eax
push 0x80000fa0
lea eax, [esi + 0x18]
push eax
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], 0xfa0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [esi + 0x10], 1
mov dword [esi + 0x30], ebx
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x34], ebx
call fcn.0042c730
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x434630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490ce1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00430020
push 0x400
mov ecx, 0x4c0f08
mov dword [esp + 0x4c], 1
call fcn.00430300
push eax
lea ecx, [esp + 0xc]
call fcn.0042fc50
mov esi, dword [esp + 0x50]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004086f0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x28], edx
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x34], edx
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x48], 0
call fcn.004028b0
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x4351a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x160]
test eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
jne 0x43533c
lea esi, [edi + 0x164]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0042c760
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
mov word [ebp - 0x30], 2
call dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [ebp + 8]
push ebx
mov word [ebp - 0x2e], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x2c], eax
jne 0x435234
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x435264
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43524b
mov dword [eax], ebx
push 0x10
lea edx, [ebp - 0x30]
push edx
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43526b
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
jmp 0x435330
lea eax, [ebp - 0x18]
push eax
push 0x8004667e
push ebx
mov dword [ebp - 0x18], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x435264
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 8
push 0xffff
push ebx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x435264
push eax
mov ecx, 0x4c0ed8
call fcn.00434860
mov edx, dword [ebp + 0xc]
push 0
push edi
mov esi, eax
mov eax, dword [ebp - 0x2c]
push edx
push eax
mov dword [ebp + 8], esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push ebx
mov ecx, esi
call fcn.004358e0
mov edx, dword [edi]
push esi
mov ecx, edi
mov byte [ebp + 0xf], 0
mov byte [ebp - 4], 1
call dword [edx]
jmp 0x4352ef
test al, al
mov dword [ebp - 4], 0
je 0x435326
push esi
mov ecx, edi
call fcn.00431eb0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0042c780
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0042c780
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 0xc
Function at 0x4358e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
mov esi, ecx
mov cl, byte [esp + 0x28]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x24]
mov byte [esi + 0x9c], cl
mov dword [esi + 0x88], eax
cmp dword [eax + 0x14], 0
je 0x43593f
push 0x48
call fcn.0045f550
add esp, 4
test eax, eax
je 0x435921
mov ecx, eax
call fcn.00435790
jmp 0x435923
xor eax, eax
mov dword [esi + 0xc8], eax
cmp dword [esi + 0xc8], 0
jne 0x43593f
push str.rpc_failed__n
call fcn.00462209
add esp, 4
mov dx, word [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov word [esi + 0xc6], dx
lea edx, [esi + 0xb4]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x435957
mov edx, dword [esi + 0xa0]
push edi
mov edi, dword [sym.imp.WS2_32.dll_getsockopt]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0x1001
push 0xffff
push edx
mov dword [esp + 0x30], 4
mov dword [esp + 0x40], 0
call edi
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x1002
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0xa0]
push 0xffff
push eax
call edi
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
lea eax, [esp + 0x1c]
mov dword [esi + 0x98], ecx
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0xa0]
push ecx
push edx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esi + 0xa4]
pop edi
jmp 0x435a10
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x435a10
mov ecx, dword [esp + 6]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esi + 0x90]
mov word [esi + 0xc4], ax
call fcn.0043fe90
mov ecx, dword [esi + 0x8c]
call fcn.0043bb10
pop esi
add esp, 0x10
ret 0x14
Function at 0x437380
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 1
lea ecx, [esi + 4]
call fcn.0042c7b0
push 1
lea ecx, [esi + 8]
call fcn.0042c7b0
xor edi, edi
cmp dword [esi + 0x24], edi
je 0x437478
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebx]
mov eax, dword [esi + 0x24]
cmp dword [eax], 0
je 0x4373ca
cmp edi, 0x28
jge 0x4373ca
push 0x64
call ebx
add edi, 1
cmp dword [esi + 0x24], 0
jne 0x4373b0
cmp dword [esi + 0x24], 0
je 0x437478
mov eax, dword [esi + 0x24]
add eax, 0x24
cmp byte [eax], 0
je 0x4373e9
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x24], 0
je 0x437463
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x24]
cmp dword [ecx], 0
je 0x437463
mov edx, dword [esi + 0x24]
mov edi, dword [edx]
test edi, edi
je 0x43745d
mov eax, dword [edi + 4]
test eax, eax
je 0x43745d
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [esi + 0x24]
cmp dword [edi + 0x14], 0
je 0x437424
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [edx + 0x10], ecx
cmp dword [edi + 0x10], 0
je 0x437433
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov dword [edx + 0x14], ecx
cmp dword [eax], edi
jne 0x43743c
mov ecx, dword [edi + 0x14]
mov dword [eax], ecx
mov edx, dword [esi + 0x18]
sub edx, 1
xor eax, eax
mov dword [esi + 0x18], edx
cmp byte [edi], al
mov ecx, dword [esi + 0x1c]
setne al
push edi
sub ecx, eax
mov dword [esi + 0x1c], ecx
call fcn.004610de
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x4373f5
mov eax, dword [esi + 0x24]
add eax, 0x24
cmp byte [eax], 0
je 0x437478
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
pop esi
pop ebx
ret

Function at 0x437dd0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490fd8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov esi, ecx
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x437cc0
push 0
mov byte [esi], 1
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
jne 0x437ead
push 0x494594
lea ecx, [esp + 8]
call fcn.00406c80
push 0x49ec44
push eax
mov dword [esp + 0x58], 0
call fcn.00401380
push 0x494520
push eax
call fcn.00401380
push 0xa
lea edx, [esp + 0x30]
push edx
push 0
push 0x2bc
mov esi, eax
call fcn.004612fc
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00401380
push 0x494518
push eax
call fcn.00401380
push 0x49ec24
push eax
call fcn.00401380
add esp, 0x38
cmp dword [eax], 0
jne 0x437e87
mov eax, 0x494380
jmp 0x437e8c
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x10]
call fcn.00401030
push 0x4b4ea4
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x49eb70
call fcn.00461767
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x18]
add edx, 1
mov dword [eax + 0x18], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x1c]
add ecx, 1
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret 4