Function at 0x43a305
Capabilities:
Create thread
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65b968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2044
call fcn.005fc660
mov dword [ebp - 0x2050], ecx
mov dword [ebp - 0x2038], 1
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x2034]
call fcn.0043a890
mov dword [ebp - 4], 0
mov ax, word [ebp + 8]
push eax
push 0
call fcn.00439cc9
add esp, 8
mov dword [ebp - 0x2044], eax
cmp dword [ebp - 0x2044], 0
ja 0x43a373
jmp 0x43a554
mov cx, word [ebp + 0xc]
push ecx
push 0
call fcn.00439cc9
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
ja 0x43a390
jmp 0x43a54a
push 0x10
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.005fb270
add esp, 0xc
mov dword [ebp - 0x2048], 0x10
lea eax, [ebp - 0x2048]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x2044]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov ax, word [ebp - 0x22]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
and eax, 0xffff
mov ecx, dword [ebp - 0x2050]
mov dword [ecx + 4], eax
push 0x10
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.005fb270
add esp, 0xc
mov dword [ebp - 0x2048], 0x10
lea eax, [ebp - 0x2048]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
mov ax, word [ebp - 0x22]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
and eax, 0xffff
mov ecx, dword [ebp - 0x2050]
mov dword [ecx + 8], eax
push 0
push 0
mov edx, dword [ebp - 0x2044]
push edx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x2040], eax
cmp dword [ebp - 0x2040], 0xffffffff
jne 0x43a448
jmp 0x43a53d
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2038]
push ecx
push 8
push 0xffff
mov edx, dword [ebp - 0x2040]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x43a471
jmp 0x43a53d
mov eax, dword [ebp - 0x2040]
mov dword [ebp - 0x2030], eax
xor ecx, ecx
mov cl, byte [0x784c38]
test ecx, ecx
je 0x43a53d
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x43a4b1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43a47d
mov eax, dword [0x783c34]
add eax, 1
mov dword [0x783c34], eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x202c]
call fcn.0043a6a0
lea edx, [ebp - 0x203c]
push edx
push 0
lea eax, [ebp - 0x2034]
push eax
push 0x43a243
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x784c3c]
add ecx, 1
mov dword [0x784c3c], ecx
mov edx, dword [0x784c3c]
mov dword [edx*4 + 0x783c38], eax
mov eax, dword [0x784c3c]
cmp dword [eax*4 + 0x783c38], 0
je 0x43a52d
mov ecx, dword [0x784c3c]
mov edx, dword [ecx*4 + 0x783c38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43a538
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43a47d
mov eax, dword [ebp - 0x2040]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x2044]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x204c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2034]
call fcn.0043a8d0
mov eax, dword [ebp - 0x204c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8