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

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x2d4], eax
mov eax, dword [esp + 0x2e0]
push ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2f0]
push ebp
mov ebp, dword [ecx + edx*4 + 0x128]
push esi
mov esi, dword [ecx]
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp dword [esi + 0x258], 5
push edi
sete cl
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2f4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], esi
mov edi, ecx
mov dword [esp + 0x28], edi
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x43f2e3
sub eax, ecx
test edi, edi
mov dword [esp + 0x40], eax
jne 0x43f313
cmp eax, 0xff
jbe 0x43f313
push eax
push 0x4f28e0
call fcn.0042de00
add esp, 8
mov dword [esp + 0x28], 1
mov edx, dword [esi + 0x194]
xor eax, eax
test edx, edx
mov ebx, 0x493e0
jle 0x43f329
mov eax, 1
mov ecx, dword [esi + 0x198]
test ecx, ecx
jle 0x43f336
or eax, 2
sub eax, 1
je 0x43f34d
sub eax, 1
je 0x43f349
sub eax, 1
jne 0x43f34f
cmp edx, ecx
jl 0x43f34d
mov ebx, ecx
jmp 0x43f34f
mov ebx, edx
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
sub ecx, edx
imul ecx, ecx, 0x3e8
mov eax, esi
mov esi, dword [eax + 0x4a0]
mov edx, eax
sub ecx, dword [edx + 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 ebx, esi
mov dword [esp + 0x38], ebx
je 0x43f3aa
test ebx, ebx
jge 0x43f3c2
mov esi, dword [esp + 0x14]
push 0x4f0640
call fcn.0042dec0
mov eax, 0x1c
jmp 0x43f93f
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea ecx, [esp + 0x1c]
push ecx
push 0x8004667e
push ebp
mov dword [esp + 0x28], 1
call esi
push ebp
push 0xffffffffffffffff
mov eax, ebx
call fcn.004323b0
add esp, 8
cmp eax, 0xffffffff
jne 0x43f3ff
mov edx, dword [esp + 0x18]
mov esi, dword [edx]
push 0x4f2934
jmp 0x43f935
test eax, eax
jne 0x43f41d
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
push 0x4f2950
call fcn.0042dec0
mov eax, 0x1c
jmp 0x43f93f
test al, 4
je 0x43f431
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
push 0x4f296c
jmp 0x43f935
cmp dword [esp + 0x2c], 0
lea eax, [esp + 0x1c]
push eax
setne dl
push 0x8004667e
add dl, 1
push ebp
mov byte [esp + 0x54], 5
mov byte [esp + 0x55], dl
mov byte [esp + 0x56], 0
mov byte [esp + 0x57], 2
mov dword [esp + 0x28], 0
call esi
movzx edx, byte [esp + 0x49]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
add edx, 2
push edx
lea eax, [esp + 0x50]
push eax
mov edx, ebp
mov eax, esi
call fcn.0042e160
add esp, 0xc
test eax, eax
jne 0x43f92c
movzx ecx, byte [esp + 0x49]
add ecx, 2
cmp dword [esp + 0x24], ecx
jne 0x43f92c
mov eax, 1
mov edx, ebp
call fcn.00448e80
push 0xffffffffffffffff
push ebp
mov eax, ebx
call fcn.004323b0
add esp, 8
cmp eax, 0xffffffff
jne 0x43f4cb
mov esi, dword [esi]
push 0x4f29bc
jmp 0x43f935
test eax, eax
jne 0x43f4e5
mov esi, dword [esi]
push 0x4f29d4
call fcn.0042dec0
mov eax, 0x1c
jmp 0x43f93f
test al, 4
je 0x43f4ff
mov esi, dword [esi]
push 0x4f29e8
call fcn.0042dec0
mov eax, 0x38
jmp 0x43f93f
xor eax, eax
mov edx, ebp
call fcn.00448e80
push ebx
lea edx, [esp + 0x24]
push edx
push 2
lea eax, [esp + 0x54]
push eax
push ebp
mov edi, esi
call fcn.0043ec10
add esp, 0x14
test eax, eax
jne 0x43f925
cmp dword [esp + 0x20], 2
jne 0x43f925
cmp byte [esp + 0x48], 5
je 0x43f544
push 0x4f2a30
jmp 0x43f931
mov al, byte [esp + 0x49]
test al, al
je 0x43f67b
cmp al, 2
jne 0x43f8f4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43f597
cmp dword [esp + 0x30], 0
je 0x43f597
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43f570
mov edi, dword [esp + 0x30]
sub eax, edx
mov ebx, eax
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43f586
sub eax, edx
mov dword [esp + 0x1c], eax
jmp 0x43f5a3
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, ebx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov byte [esp + 0x48], 1
mov byte [esp + 0x49], bl
je 0x43f5cb
test ebx, ebx
je 0x43f5cb
push ebx
push ecx
lea ecx, [esp + 0x52]
push ecx
call fcn.004c7ae8
mov eax, dword [esp + 0x28]
add esp, 0xc
lea esi, [ebx + 2]
mov byte [esp + esi + 0x48], al
add esi, 1
test edi, edi
je 0x43f5f0
test eax, eax
je 0x43f5f0
push eax
lea edx, [esp + esi + 0x4c]
push edi
push edx
call fcn.004c7ae8
mov eax, dword [esp + 0x28]
add esp, 0xc
add esi, eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push esi
push ecx
mov edx, ebp
call fcn.0042e160
add esp, 0xc
test eax, eax
jne 0x43f8ed
cmp esi, dword [esp + 0x24]
jne 0x43f8ed
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 2
lea ecx, [esp + 0x54]
push ecx
push ebp
call fcn.0043ec10
add esp, 0x14
test eax, eax
jne 0x43f8e6
cmp dword [esp + 0x20], 2
jne 0x43f8e6
mov al, byte [esp + 0x49]
test al, al
je 0x43f67b
mov esi, dword [esp + 0x14]
movzx edx, al
movzx eax, byte [esp + 0x48]
push edx
push eax
push 0x4f2acc
call fcn.0042dec0
add esp, 0xc
mov eax, 7
jmp 0x43f942
cmp dword [esp + 0x28], 0
mov byte [esp + 0x48], 5
mov byte [esp + 0x49], 1
mov byte [esp + 0x4a], 0
jne 0x43f6cc
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
push ebx
push ecx
lea edx, [esp + 0x55]
push edx
lea ebp, [ebx + 7]
mov byte [esp + 0x57], 3
mov byte [esp + 0x58], bl
call fcn.004c7ae8
mov eax, dword [esp + 0x304]
add esp, 0xc
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + ebx + 0x4d], ax
jmp 0x43f7c9
mov edx, dword [esp + 0x2f8]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push ebx
call fcn.0042a5e0
add esp, 0x10
cmp eax, 0xffffffff
mov ebp, 0xa
mov byte [esp + 0x4b], 1
je 0x43f7ac
cmp eax, 1
jne 0x43f718
lea ecx, [esp + 0x28]
push ecx
call fcn.00432070
add esp, 4
test eax, eax
jne 0x43f942
mov edi, dword [esp + 0x28]
test edi, edi
je 0x43f796
mov ebx, dword [edi]
test ebx, ebx
je 0x43f796
push 0x40
lea esi, [esp + 0x2a4]
mov ecx, ebx
call fcn.0042a3f0
add esp, 4
lea edx, [esp + 0x46]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x4a]
push ecx
lea edx, [esp + 0x4c]
push edx
mov eax, esi
push 0x4f2620
push eax
call dword [sym.imp.MSVCR80.dll_sscanf]
add esp, 0x18
cmp eax, 4
jne 0x43f787
movzx ecx, byte [esp + 0x40]
mov dl, byte [esp + 0x42]
mov al, byte [esp + 0x44]
mov byte [esp + 0x4c], cl
movzx ecx, byte [esp + 0x46]
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], cl
jmp 0x43f789
xor ebx, ebx
mov esi, dword [esp + 0x14]
call fcn.0042a7a0
test ebx, ebx
jne 0x43f7b6
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push edx
push 0x4f2c4c
call fcn.0042dec0
add esp, 8
mov eax, 6
jmp 0x43f942
mov eax, dword [esp + 0x2f8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x50], ax
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
push ebp
push edx
mov edx, ebx
mov eax, edi
call fcn.0042e160
add esp, 0xc
test eax, eax
jne 0x43f8df
cmp dword [esp + 0x24], ebp
jne 0x43f8df
mov ebp, dword [esp + 0x38]
push ebp
lea eax, [esp + 0x24]
push eax
push 0xa
lea ecx, [esp + 0x54]
push ecx
push ebx
call fcn.0043ec10
add esp, 0x14
test eax, eax
jne 0x43f8bd
cmp dword [esp + 0x20], 0xa
jne 0x43f8bd
cmp byte [esp + 0x48], 5
je 0x43f838
push 0x4f2cd0
jmp 0x43f931
mov al, byte [esp + 0x49]
test al, al
je 0x43f886
movzx edx, al
mov eax, dword [esp + 0x50]
push edx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, byte [esp + 0x53]
mov esi, dword [esp + 0x18]
movzx ecx, ax
movzx eax, byte [esp + 0x52]
push ecx
movzx ecx, byte [esp + 0x55]
push edx
movzx edx, byte [esp + 0x58]
push eax
push ecx
push edx
push 0x4f2d08
call fcn.0042dec0
add esp, 0x1c
mov eax, 7
jmp 0x43f942
mov al, byte [esp + 0x4b]
cmp al, 3
jne 0x43f8c4
movzx esi, byte [esp + 0x4c]
add esi, 7
cmp esi, 0xa
jle 0x43f8cf
push ebp
lea eax, [esp + 0x24]
push eax
sub esi, 0xa
push esi
lea ecx, [esp + 0x5e]
push ecx
push ebx
call fcn.0043ec10
add esp, 0x14
test eax, eax
jne 0x43f8bd
cmp dword [esp + 0x20], esi
je 0x43f8cf
push 0x4f2ca0
jmp 0x43f931
cmp al, 4
jne 0x43f8cf
mov esi, 0x16
jmp 0x43f89b
mov eax, 1
mov edx, ebx
call fcn.00448e80
xor eax, eax
jmp 0x43f942
push 0x4f2c78
jmp 0x43f931
push 0x4f2a98
jmp 0x43f931
push 0x4f2a68
jmp 0x43f931
cmp al, 1
jne 0x43f8ff
push 0x4f2afc
jmp 0x43f931
cmp al, 0xff
jne 0x43f91e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43f917
cmp byte [eax], 0
je 0x43f917
push 0x4f2be4
jmp 0x43f931
push 0x4f2b38
jmp 0x43f931
push 0x4f2c10
jmp 0x43f931
push 0x4f2a04
jmp 0x43f931
push 0x4f2994
mov esi, dword [esp + 0x18]
call fcn.0042dec0
mov eax, 7
add esp, 4
mov ecx, dword [esp + 0x2e4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459ea4
add esp, 0x2dc
ret