Function at 0x433e40
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x320
push ebx
mov ebx, dword [esp + 0x32c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x334]
xor esi, esi
xor ebp, ebp
cmp edi, 0xffffffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
jne 0x433eb0
cmp ebx, edi
jne 0x433eb0
cmp dword [esp + 0x33c], edi
jne 0x433eb0
mov eax, dword [esp + 0x340]
cmp eax, esi
je 0x433ea3
jge 0x433e9c
push 0x2726
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x320
ret
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x320
ret
mov eax, dword [esp + 0x340]
cmp eax, esi
jle 0x433eca
mov ebp, eax
call fcn.0043f510
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
xor edx, edx
cmp edi, 0xffffffff
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x128], esi
je 0x433f05
mov esi, 1
mov edx, esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], edi
cmp ebx, 0xffffffff
je 0x433f76
xor eax, eax
test esi, esi
jbe 0x433f20
cmp dword [esp + eax*4 + 0x12c], ebx
je 0x433f20
add eax, 1
cmp eax, esi
jb 0x433f10
cmp eax, esi
jne 0x433f41
cmp esi, 0x40
jae 0x433f41
mov dword [esp + eax*4 + 0x12c], ebx
mov esi, dword [esp + 0x128]
add esi, 1
mov dword [esp + 0x128], esi
xor eax, eax
test edx, edx
jbe 0x433f54
cmp dword [esp + eax*4 + 0x28], ebx
je 0x433f54
add eax, 1
cmp eax, edx
jb 0x433f47
cmp eax, edx
jne 0x433f6c
cmp edx, 0x40
jae 0x433f6c
mov dword [esp + eax*4 + 0x28], ebx
mov edx, dword [esp + 0x24]
add edx, 1
mov dword [esp + 0x24], edx
cmp ebx, dword [esp + 0x10]
jbe 0x433f76
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x33c]
xor ecx, ecx
cmp edi, 0xffffffff
mov dword [esp + 0x22c], ecx
je 0x433fcb
mov ecx, 1
xor eax, eax
test edx, edx
mov dword [esp + 0x230], edi
mov dword [esp + 0x22c], ecx
jbe 0x433fb0
cmp dword [esp + eax*4 + 0x28], edi
je 0x433fb0
add eax, ecx
cmp eax, edx
jb 0x433fa4
cmp eax, edx
jne 0x433fc1
cmp edx, 0x40
jae 0x433fc1
mov dword [esp + eax*4 + 0x28], edi
add dword [esp + 0x24], ecx
cmp edi, dword [esp + 0x10]
jbe 0x433fcb
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x340], eax
lea edx, [esp + 0x1c]
setl al
sub eax, 1
and eax, edx
mov edi, eax
add ebx, 1
jmp 0x434000
mov ecx, dword [esp + 0x22c]
mov esi, dword [esp + 0x128]
mov edi, edi
mov eax, dword [esp + 0x340]
xor edx, edx
cmp eax, edx
jle 0x434034
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
mov edx, ebp
sub edx, eax
imul edx, edx, 0x3e8
jmp 0x43403a
jne 0x43403e
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
neg ecx
sbb ecx, ecx
push edi
lea edx, [esp + 0x230]
and ecx, edx
lea eax, [esp + 0x28]
push eax
neg esi
sbb esi, esi
lea eax, [esp + 0x130]
push ecx
and esi, eax
push esi
push ebx
call dword [sym.imp.WSOCK32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4340c5
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
je 0x434088
cmp dword [0x55da60], 0
jne 0x4340c5
cmp eax, 0x2714
jne 0x4340c5
cmp dword [esp + 0x340], 0
jle 0x433ff0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0043f510
push edx
push eax
call fcn.0043f540
mov ebp, dword [esp + 0x350]
sub ebp, eax
add esp, 0x10
test ebp, ebp
jle 0x433ea3
jmp 0x433ff0
test esi, esi
jl 0x433e8e
je 0x433ea3
mov edi, dword [esp + 0x334]
xor esi, esi
cmp edi, 0xffffffff
je 0x43410a
lea eax, [esp + 0x128]
push eax
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x4340f8
mov esi, 1
lea ecx, [esp + 0x24]
push ecx
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x43410a
or esi, 4
mov edi, dword [esp + 0x338]
cmp edi, 0xffffffff
je 0x43413d
lea edx, [esp + 0x128]
push edx
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x43412b
or esi, 8
lea eax, [esp + 0x24]
push eax
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x43413d
or esi, 4
mov edi, dword [esp + 0x33c]
cmp edi, 0xffffffff
je 0x434170
lea ecx, [esp + 0x22c]
push ecx
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x43415e
or esi, 2
lea edx, [esp + 0x24]
push edx
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x434170
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x320
ret