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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d05e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov dword [ebp - 0x10], ecx
push str.GSOCK_BASE::DataAvailable_Internal
lea ecx, [ebp - 0xa8]
call fcn.00404f76
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0xffffffff
jne 0x438608
cmp dword [ebp + 0xc], 0
je 0x4385e7
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x90], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004050e2
mov eax, dword [ebp - 0x90]
jmp 0x438d75
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x438620
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x438cec
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x28]
push eax
push 0x8004667e
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
push 0
mov eax, dword [ebp - 0x10]
mov ecx, 0x4000
sub ecx, dword [eax + 0xb4]
push ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xb4]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x24]
mov dword [ebp - 0x24], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push 0x8004667e
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
cmp dword [ebp - 0x24], 0
jne 0x4386d5
mov ecx, dword [ebp - 0x10]
call fcn.00438279
cmp dword [ebp + 0xc], 0
je 0x4386ba
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x68], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004050e2
mov eax, dword [ebp - 0x68]
jmp 0x438d75
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4389d1
cmp dword [ebp - 0x2c], 0x2733
jne 0x438932
cmp dword [ebp + 0xc], 0
je 0x438700
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xb4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb0], 0
je 0x43890f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x43890f
lea ecx, [ebp - 0x5c]
call fcn.004054e3
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push dword [eax + 0xb4]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00405b2a
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041b3f4
push dword [eax]
push str._RECV1__ld__s__ld_
lea eax, [ebp - 0x5c]
push eax
call fcn.0040990e
add esp, 0x14
lea ecx, [ebp - 0x44]
call fcn.004054e3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x1c], 0
jmp 0x438788
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0xb4]
jge 0x4388d5
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0x20
jge 0x4387f3
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0xd
jne 0x4387bf
push 0x4dac1c
lea ecx, [ebp - 0x44]
call fcn.0040574c
jmp 0x4387f1
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0xa
jne 0x4387d9
push 0x4dac20
lea ecx, [ebp - 0x44]
call fcn.0040574c
jmp 0x4387f1
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
push eax
push str._03ld
lea eax, [ebp - 0x44]
push eax
call fcn.0040990e
add esp, 0xc
jmp 0x438825
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x43880d
push 0x4dac28
lea ecx, [ebp - 0x44]
call fcn.0040574c
jmp 0x438825
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
push eax
push 0x4db940
lea eax, [ebp - 0x44]
push eax
call fcn.0040990e
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00406100
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 0x3e8
idiv ecx
test edx, edx
jne 0x4388d0
cmp dword [ebp - 0x1c], 0
je 0x4388d0
push 0
lea ecx, [ebp - 0x5c]
call fcn.00405b2a
push eax
push 0x4db590
lea eax, [ebp - 0xb1]
push eax
call fcn.00407450
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
call fcn.00405b2a
push eax
push str.GSOCK
push 0xb31
push str.D:projectsUTIL_srcgsock.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb1]
call fcn.004055b0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00405b2a
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041b3f4
push dword [eax]
push str._RECV1__ld__s_
lea eax, [ebp - 0x5c]
push eax
call fcn.0040990e
add esp, 0x10
jmp 0x43877a
push 0
lea ecx, [ebp - 0x5c]
call fcn.00405b2a
push eax
push str.GSOCK
push 0xb35
push str.D:projectsUTIL_srcgsock.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004055b0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004050e2
mov eax, dword [ebp - 0x80]
jmp 0x438d75
cmp dword [ebp - 0x2c], 0x2746
je 0x4389a2
push 0
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00405b2a
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
push str.__ld___s:_DataAvailable_returned_error__ld_r_n
lea eax, [ebp - 0xcc]
push eax
call fcn.00407450
add esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
call fcn.00405b2a
push eax
push str.GSOCK
push 0xb3b
push str.D:projectsUTIL_srcgsock.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.004055b0
mov ecx, dword [ebp - 0x10]
call fcn.00438279
cmp dword [ebp + 0xc], 0
je 0x4389b6
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x74], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004050e2
mov eax, dword [ebp - 0x74]
jmp 0x438d75
mov eax, dword [ebp - 0x10]
push dword [eax + 0xa8]
mov ecx, dword [ebp - 0x10]
call fcn.00440c35
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xb4], eax
mov eax, dword [ebp - 0x24]
cdq
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x94]
adc edx, dword [ecx + 0x98]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x94], eax
mov dword [ecx + 0x98], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx + 0xa4]
push eax
call fcn.00433339
pop ecx
cmp eax, 0x1b7740
jle 0x438ad1
push 0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x98]
push dword [eax + 0x94]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xa0]
push dword [eax + 0x9c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00405b2a
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
push str.__ld__Stats_for__s_sent_Ld_received_Ld_r_n
lea eax, [ebp - 0xc3]
push eax
call fcn.00407450
add esp, 0x20
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x7c]
call fcn.00405b2a
push eax
push str.GSOCK
push 0xb47
push str.D:projectsUTIL_srcgsock.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc3]
call fcn.004055b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb0], 0
je 0x438cec
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x438cec
lea ecx, [ebp - 0x50]
call fcn.004054e3
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
push dword [eax + 0xb4]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00405b2a
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041b3f4
push dword [eax]
push str._RECV2__ld__s__ld_
lea eax, [ebp - 0x50]
push eax
call fcn.0040990e
add esp, 0x14
lea ecx, [ebp - 0x38]
call fcn.004054e3
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x20], 0
jmp 0x438b59
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0xb4]
jge 0x438cb2
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0x20
jge 0x438bc4
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0xd
jne 0x438b90
push 0x4dac1c
lea ecx, [ebp - 0x38]
call fcn.0040574c
jmp 0x438bc2
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0xa
jne 0x438baa
push 0x4dac20
lea ecx, [ebp - 0x38]
call fcn.0040574c
jmp 0x438bc2
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
push eax
push str._03ld
lea eax, [ebp - 0x38]
push eax
call fcn.0040990e
add esp, 0xc
jmp 0x438bf6
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x438bde
push 0x4dac28
lea ecx, [ebp - 0x38]
call fcn.0040574c
jmp 0x438bf6
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
push eax
push 0x4db940
lea eax, [ebp - 0x38]
push eax
call fcn.0040990e
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406100
mov eax, dword [ebp - 0x20]
cdq
mov ecx, 0x3e8
idiv ecx
test edx, edx
jne 0x438cad
cmp dword [ebp - 0x20], 0
je 0x438cad
push 0
lea ecx, [ebp - 0x50]
call fcn.00405b2a
push eax
push 0x4db590
lea eax, [ebp - 0xba]
push eax
call fcn.00407450
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x84]
call fcn.00405b2a
push eax
push str.GSOCK
push 0xb67
push str.D:projectsUTIL_srcgsock.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xba]
call fcn.004055b0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00405b2a
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041b3f4
push dword [eax]
push str._RECV2__ld__s_
lea eax, [ebp - 0x50]
push eax
call fcn.0040990e
add esp, 0x10
jmp 0x438b4b
push 0
lea ecx, [ebp - 0x50]
call fcn.00405b2a
push eax
push str.GSOCK
push 0xb6b
push str.D:projectsUTIL_srcgsock.cpp
call fcn.00404405
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004055b0
cmp dword [ebp + 0xc], 0
je 0x438d20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0xb4]
cmp eax, dword [ecx]
jae 0x438d10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x60], eax
jmp 0x438d18
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
cmp dword [ebp + 8], 0
je 0x438d51
cmp dword [ebp + 0xc], 0
je 0x438d51
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x438d51
mov eax, dword [ebp + 0xc]
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xb8]
push dword [ebp + 8]
call fcn.004ae720
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x94], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004050e2
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc