Function at 0x43ed60
Capabilities:
Check for time delay via gettickcount
Set socket configuration

Disassembly:
sub esp, 0x174
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x178]
push ebx
push ebp
mov ebp, dword [esp + 0x188]
mov ebx, dword [ebp]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + edx*4 + 0x128]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x194]
mov dword [esp + 0x10], ecx
push esi
xor ecx, ecx
test eax, eax
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0x493e0
jle 0x43edb9
mov ecx, 1
mov edx, dword [ebx + 0x198]
test edx, edx
jle 0x43edc6
or ecx, 2
sub ecx, 1
je 0x43eddf
sub ecx, 1
je 0x43edd9
sub ecx, 1
jne 0x43ede3
cmp eax, edx
jl 0x43eddf
mov dword [esp + 0x14], edx
jmp 0x43ede3
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov edi, edx
shr edi, 6
mov edx, edi
imul edx, edx, 0x3e8
mov esi, dword [ebx + 0x4a0]
sub ecx, edx
imul ecx, ecx, 0x3e8
sub ecx, dword [ebx + 0x4a4]
mov eax, 0x10624dd3
imul ecx
sub esi, edi
imul esi, esi, 0x3e8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add dword [esp + 0x14], esi
je 0x43ee3b
cmp dword [esp + 0x14], 0
jge 0x43ee51
push 0x4f0640
mov esi, ebx
call fcn.0042dec0
mov eax, 0x1c
jmp 0x43f24b
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, dword [esp + 0x18c]
push esi
mov byte [esp + 0x34], 4
mov byte [esp + 0x35], 1
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [esp + 0x194], 0
mov word [esp + 0x32], ax
jne 0x43ef90
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push esi
push ecx
push ebp
call fcn.0042a5e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43eebc
mov eax, 5
jmp 0x43f24e
cmp eax, 1
jne 0x43eed4
lea edx, [esp + 0x28]
push edx
mov ebx, ebp
call fcn.00432070
mov ebx, dword [esp + 0x28]
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x43ef70
mov ebx, dword [edi]
test ebx, ebx
je 0x43ef6c
mov eax, dword [ebx + 4]
sub eax, 2
jne 0x43ef0a
mov eax, dword [ebx + 0x18]
add eax, 4
push 0x40
push eax
lea esi, [esp + 0x140]
call fcn.00447ab0
add esp, 8
lea eax, [esp + 0x2e]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x32]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x148]
push 0x4f2620
push ecx
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x18
cmp eax, 4
jne 0x43ef5d
movzx edx, byte [esp + 0x28]
mov al, byte [esp + 0x2a]
mov cl, byte [esp + 0x2c]
mov byte [esp + 0x34], dl
movzx edx, byte [esp + 0x2e]
mov byte [esp + 0x35], al
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
jmp 0x43ef5f
xor ebx, ebx
mov esi, dword [esp + 0x24]
call fcn.0042a7a0
test ebx, ebx
jne 0x43ef8e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push eax
push 0x4f2630
mov esi, ebx
call fcn.0042dec0
add esp, 8
mov eax, 6
jmp 0x43f24e
mov ebx, esi
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [esp + 0x38], 0
je 0x43efaa
push eax
lea edx, [esp + 0x3c]
call fcn.004333e0
add esp, 4
lea eax, [esp + 0x38]
xor edi, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43efb3
sub eax, edx
cmp dword [esp + 0x194], 0
lea esi, [eax + 9]
je 0x43f018
mov eax, dword [esp + 0x18]
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43efe3
sub eax, edx
lea edi, [eax + 1]
lea ecx, [esi + edi]
cmp ecx, 0x106
jg 0x43f016
mov eax, dword [esp + 0x18]
mov edx, esi
sub edx, eax
lea edx, [esp + edx + 0x30]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x43f008
jmp 0x43f018
xor edi, edi
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, dword [ebp + 0x12c]
lea edx, [esp + 0x20]
sete al
push edx
add esi, edi
push esi
lea ecx, [esp + 0x38]
push ecx
push eax
push ebp
call fcn.0042e0d0
add esp, 0x14
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
jne 0x43f23a
cmp eax, esi
jne 0x43f23a
cmp dword [esp + 0x194], 0
je 0x43f0a5
test edi, edi
jne 0x43f0a5
mov edi, dword [esp + 0x18]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43f070
sub eax, edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
lea esi, [eax + 1]
push esi
push edi
mov eax, ebp
call fcn.0042e160
add esp, 0xc
test eax, eax
jne 0x43f23a
cmp dword [esp + 0x28], esi
jne 0x43f23a
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push 8
lea edx, [esp + 0x3c]
push edx
push eax
mov edi, ebp
call fcn.0043ec10
add esp, 0x14
test eax, eax
jne 0x43f233
cmp dword [esp + 0x20], 8
jne 0x43f233
cmp byte [esp + 0x30], al
je 0x43f0e8
push 0x4f26b4
jmp 0x43f23f
movzx eax, byte [esp + 0x31]
lea ecx, [eax - 0x5a]
cmp ecx, 3
ja case.default.0x43f0f9
jmp dword [ecx*4 + 0x43f268]
cmp dword [esp + 0x194], 0
mov esi, ebx
je 0x43f113
push 0x4f26ec
jmp 0x43f118
push 0x4f2708
call fcn.0042de00
mov edx, dword [esp + 0x20]
add esp, 4
mov eax, 1
call fcn.00448e80
xor eax, eax
jmp 0x43f24e
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, byte [esp + 0x3a]
movzx edx, ax
movzx eax, byte [esp + 0x3b]
push edx
movzx edx, byte [esp + 0x3d]
push eax
movzx eax, byte [esp + 0x40]
push ecx
push edx
push eax
push 0x4f2728
mov esi, ebx
call fcn.0042dec0
add esp, 0x1c
mov eax, 7
jmp 0x43f24e
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, byte [esp + 0x3a]
movzx edx, ax
movzx eax, byte [esp + 0x3b]
push edx
movzx edx, byte [esp + 0x3d]
push eax
movzx eax, byte [esp + 0x40]
push ecx
push edx
push eax
push 0x4f2780
mov esi, ebx
call fcn.0042dec0
add esp, 0x1c
mov eax, 7
jmp 0x43f24e
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, byte [esp + 0x3a]
movzx edx, ax
movzx eax, byte [esp + 0x3b]
push edx
movzx edx, byte [esp + 0x3d]
push eax
movzx eax, byte [esp + 0x40]
push ecx
push edx
push eax
push 0x4f2808
mov esi, ebx
call fcn.0042dec0
add esp, 0x1c
mov eax, 7
jmp 0x43f24e
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, byte [esp + 0x3a]
movzx edx, ax
movzx eax, byte [esp + 0x3b]
push edx
movzx edx, byte [esp + 0x3d]
push eax
movzx eax, byte [esp + 0x40]
push ecx
push edx
push eax
push 0x4f2898
mov esi, ebx
call fcn.0042dec0
add esp, 0x1c
mov eax, 7
jmp 0x43f24e
push 0x4f2684
jmp 0x43f23f
push 0x4f265c
mov esi, ebx
call fcn.0042dec0
mov eax, 7
add esp, 4
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459ea4
add esp, 0x174
ret