Function at 0x4b3910
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 0x3d0]
mov dword [ebp - 4], 0
call fcn.004adcc0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
cmp dword [edi], 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
je 0x4b3ae8
jmp 0x4b3950
cmp dword [ebp - 4], 0
jne 0x4b3ae8
mov ecx, dword [edi + 0x1c]
imul ecx, ecx, 0x3e8
cmp dword [esi + 0x2dc], 0
je 0x4b39bc
mov ebx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c4]
mov edx, ebx
or edx, eax
je 0x4b3a08
mov edx, dword [esi + 0x488]
cmp dword [esi + 0x48c], eax
jl 0x4b3a08
jg 0x4b3996
cmp edx, ebx
jbe 0x4b3a08
mov ecx, dword [edi + 0x154]
push ecx
mov ecx, dword [esi + 0x48c]
push ecx
push edx
push eax
mov eax, dword [esi + 0x1c0]
push eax
or ebx, 0xffffffff
call fcn.004a6560
mov ecx, eax
add esp, 0x14
jmp 0x4b3a0b
mov ebx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1cc]
mov edx, ebx
or edx, eax
je 0x4b3a08
mov edx, dword [esi + 0x480]
cmp dword [esi + 0x484], eax
jl 0x4b3a08
jg 0x4b39e2
cmp edx, ebx
jbe 0x4b3a08
mov ecx, dword [edi + 0x154]
push ecx
mov ecx, dword [esi + 0x484]
push ecx
push edx
push eax
mov eax, dword [esi + 0x1c8]
push eax
or ebx, 0xffffffff
call fcn.004a6560
mov ecx, eax
add esp, 0x14
jmp 0x4b3a0b
mov ebx, dword [edi + 0x14]
cmp dword [esi + 0x19c], 0
je 0x4b3a4b
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x5c]
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push edx
call fcn.004adcf0
mov ecx, dword [esi + 0x19c]
sub ecx, eax
mov eax, dword [edi + 0x1c]
imul eax, eax, 0x3e8
add esp, 0x10
cmp ecx, eax
jle 0x4b3a45
mov ecx, eax
jmp 0x4b3a4b
test ecx, ecx
jns 0x4b3a4b
xor ecx, ecx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.004bf4d0
mov ebx, eax
call fcn.004adcc0
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x54]
push eax
mov eax, dword [esi + 0x58]
push ecx
push edx
push eax
mov dword [esi + 0x5c], edx
call fcn.004adcf0
add esp, 0x20
cmp eax, dword [esi + 0x19c]
jl 0x4b3aa0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c0e70
add esp, 4
test eax, eax
jne 0x4b3b96
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
cmp ebx, 0xffffffff
jne 0x4b3b0c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.004acfe0
push eax
push 0x50b444
push esi
call fcn.004a9660
add esp, 0x14
mov dword [edi + 0xc], 5
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4b3b05
mov ecx, dword [edi + 0xc]
mov eax, edi
call fcn.004b3660
mov dword [ebp - 4], eax
cmp dword [edi], 3
jne 0x4b3950
mov eax, dword [ebp + 8]
push 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call fcn.004a7380
mov eax, dword [ebp - 4]
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x4b3b4b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x5c]
mov ebx, dword [edi + 0x1c]
push edx
imul ebx, ebx, 0x3e8
mov edx, dword [esi + 0x58]
push eax
push ecx
push edx
call fcn.004adcf0
add esp, 0x10
cmp eax, ebx
jle 0x4b3adf
mov eax, dword [ebp + 8]
push 0
mov dword [edi + 0xc], 7
call fcn.004b3160
add esp, 4
jmp 0x4b3ad2
mov eax, dword [ebp + 8]
push eax
call fcn.004b36e0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x4b3b69
call fcn.004adcc0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4b3b7b
mov ecx, dword [esi + 0x38]
mov dword [eax], ecx
mov edx, dword [esi + 0x3c]
mov dword [eax + 4], edx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4b3acb
mov ecx, dword [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esi + 0x44]
mov dword [eax + 4], edx
jmp 0x4b3acb
mov ecx, 5
mov eax, edi
call fcn.004b3660
pop edi
pop esi
mov eax, 0x2a
pop ebx
mov esp, ebp
pop ebp
ret