Function at 0x426c00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x234
mov eax, dword [0x45c530]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
mov ebx, dword [esp + 0x23c]
push ebp
mov ebp, dword [esp + 0x244]
push esi
push edi
or edi, 0xffffffff
push 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
call fcn.00430526
mov dword [0x45fda8], eax
mov eax, dword [0x45c3ec]
xor ecx, ecx
add esp, 4
cmp eax, 0x45c3e8
mov dword [0x45fdac], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x128], ecx
mov edx, eax
je 0x426cb0
xor eax, eax
test ecx, ecx
jbe 0x426c7d
mov esi, dword [edx + 0xc]
lea ebx, [ebx]
cmp dword [esp + eax*4 + 0x28], esi
je 0x426c7d
add eax, 1
cmp eax, ecx
jb 0x426c70
cmp eax, ecx
jne 0x426c98
cmp ecx, 0x40
jae 0x426c98
mov ecx, dword [edx + 0xc]
mov dword [esp + eax*4 + 0x28], ecx
mov ecx, dword [esp + 0x24]
add ecx, 1
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 0xc]
cmp eax, edi
jle 0x426ca1
mov edi, eax
mov edx, dword [edx + 4]
cmp edx, 0x45c3e8
jne 0x426c61
mov dword [esp + 0x10], edi
mov esi, dword [ebx + 0x28]
add ebx, 0x24
cmp esi, ebx
mov dword [esp + 0x18], ebx
je 0x426d54
mov edx, dword [esi + 0x134]
sub edx, dword [esi + 0x138]
je 0x426ce3
mov edi, dword [esi + 0x118]
lea ebx, [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.00426bc0
mov eax, dword [esi + 0xf0]
sub eax, dword [esi + 0xf4]
je 0x426d07
mov edi, dword [esi + 0x118]
lea ebx, [esp + 0x10]
lea ecx, [esp + 0x128]
call fcn.00426bc0
mov ecx, dword [esi + 0xec]
sub ecx, dword [esi + 0xf0]
je 0x426d25
mov eax, dword [esi + 0x10c]
test al, 4
je 0x426d25
test al, 0x40
je 0x426d25
xor ebp, ebp
mov edx, dword [esi + 0x138]
sub edx, dword [esi + 0x13c]
je 0x426d43
mov eax, dword [esi + 0x10c]
test al, 8
je 0x426d43
test al, 0x40
je 0x426d43
xor ebp, ebp
mov esi, dword [esi + 4]
cmp esi, dword [esp + 0x18]
jne 0x426cc2
mov edi, dword [esp + 0x10]
mov eax, 0x10624dd3
imul ebp
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
imul eax, eax, 0x3e8
sub ebp, eax
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x30]
push edx
add edi, 1
push edi
mov dword [esp + 0x34], ebp
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jge 0x426daa
mov eax, dword [esp + 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x426fa6
mov ebx, dword [0x45c3ec]
cmp ebx, 0x45c3e8
je 0x426e5f
mov ebp, dword [sym.imp.WS2_32.dll_accept]
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x24]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x426e50
jmp 0x426de0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x234]
mov dword [esp + 0x230], 0x10
mov edx, dword [ebx + 0xc]
push ecx
push edx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x426e50
mov eax, dword [esp + 0x234]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
test esi, esi
je 0x426de0
push 0x44e7bc
push esi
call fcn.0043dc16
add esp, 8
test eax, eax
je 0x426e40
push str.localhost
push esi
call fcn.0043dc16
add esp, 8
test eax, eax
jne 0x426de0
mov ecx, dword [esp + 0x14]
push edi
push ecx
call fcn.00426610
add esp, 8
jmp 0x426de0
mov ebx, dword [ebx + 4]
cmp ebx, 0x45c3e8
jne 0x426dc2
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x28]
mov ebp, dword [esp + 0x18]
cmp esi, ebp
mov ebx, dword [esi + 4]
je 0x426fa6
mov ecx, dword [esi + 0x118]
lea eax, [esp + 0x24]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x426ea3
mov edx, dword [esi + 0x134]
sub edx, dword [esi + 0x138]
je 0x426ea3
lea eax, [esi + 0x110]
call fcn.00426990
test byte [esi + 0x154], 1
jne 0x426eb3
mov eax, esi
call fcn.00426350
mov eax, dword [esi + 0xec]
sub eax, dword [esi + 0xf0]
je 0x426ed5
test byte [esi + 0x10c], 0x40
je 0x426ed5
lea eax, [esi + 0xc8]
call fcn.00426990
mov ecx, dword [esi + 0x138]
sub ecx, dword [esi + 0x13c]
je 0x426f0d
test byte [esi + 0x10c], 8
je 0x426f0d
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x426f0d
cmp dword [eax + 8], 0
je 0x426f0d
lea edi, [esi + 0xc8]
lea eax, [esi + 0x110]
call fcn.00426a40
mov edx, dword [esi + 0xf0]
sub edx, dword [esi + 0xf4]
je 0x426f35
cmp dword [esi + 0x144], 0
je 0x426f35
lea edi, [esi + 0x110]
lea eax, [esi + 0xc8]
call fcn.00426a40
mov eax, dword [esi + 0x148]
test eax, eax
jle 0x426f49
mov ecx, dword [esi + 8]
cdq
add dword [ecx + 0x10], eax
adc dword [ecx + 0x14], edx
mov eax, dword [esi + 0x100]
test eax, eax
jle 0x426f5d
mov ecx, dword [esi + 8]
cdq
add dword [ecx + 0x18], eax
adc dword [ecx + 0x1c], edx
mov eax, dword [0x45fdac]
cmp eax, dword [esi + 0x2c]
jg 0x426f94
jl 0x426f74
mov ecx, dword [0x45fda8]
cmp ecx, dword [esi + 0x28]
ja 0x426f94
test byte [esi + 0x154], 0x10
jne 0x426f94
test byte [esi + 0x10c], 0x10
je 0x426f99
mov edx, dword [esi + 0xf0]
sub edx, dword [esi + 0xf4]
jne 0x426f99
call fcn.00426ae0
mov esi, ebx
cmp esi, ebp
mov ebx, dword [ebx + 4]
jne 0x426e75
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042c3ca
add esp, 0x234
ret