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

Disassembly:
push 0xffffffffffffffff
push 0x10257a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x1030aa70]
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, ecx
test eax, eax
push edi
mov dword [esp + 0x10], esi
je 0x10004005
mov eax, dword [ebp]
mov ecx, dword [esp + 0x58]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.100a8830
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [ebp]
mov edi, dword [esp + 0x54]
push eax
push ecx
push edi
push str.NeedProcOnRecv_socket__lu___buf__lu____s__r_n
push str.CConnTrack
push 4
push 0x1030a1dc
mov dword [esp + 0x68], 0
call fcn.100a4680
add esp, 0x1c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.1008ec90
jmp 0x10004009
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x60]
mov ecx, esi
push ebx
push edi
call fcn.10003300
test eax, eax
mov eax, dword [0x1030aa70]
jne 0x10004267
test eax, eax
je 0x10004041
push edi
push str.NeedProcOnRecv_socket__lu__FindTableItem_not_find__x1_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
cmp dword [ebp], 0x18
jae 0x10004119
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x18], edx
push ebp
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
push eax
mov dword [esp + 0x2c], edx
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], edx
call fcn.10004650
mov esi, eax
mov eax, dword [0x1030aa70]
test eax, eax
je 0x100040a2
push esi
push edi
push str.NeedProcOnRecv_socket__lu__len___sizeof_AUTHINFO___bAuth__lu__r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
test esi, esi
jne 0x100040cb
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 1
push esi
mov ecx, dword [esp + 0x24]
push esi
push 1
push esi
push esi
push 1
push 1
push esi
push edi
call fcn.10003a00
jmp 0x10004234
mov edx, dword [ebp]
mov eax, dword [esp + 0x58]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x30]
push eax
push 1
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [esp + 0x36]
push eax
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 1
push 0
push edi
call fcn.10003a00
mov dword [ebp], 0
xor esi, esi
jmp 0x10004234
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1000413c
push edi
push str.NeedProcOnRecv_socket__lu__len___sizeof_AUTHINFO__r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov esi, dword [esp + 0x58]
mov ecx, 6
lea edi, [esp + 0x14]
lea eax, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x54]
push eax
push esi
call fcn.100031f0
add esp, 8
test eax, eax
mov eax, dword [0x1030aa70]
je 0x100041ee
test eax, eax
je 0x10004188
push esi
push str.NeedProcOnRecv_socket__lu__VerifyAuthInfo_succeed__r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x30]
push eax
push 1
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [esp + 0x36]
push eax
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x24]
push eax
push 0
push 1
push 0
push 1
push 1
push 0
push esi
call fcn.10003a00
mov ecx, dword [ebp]
mov edi, dword [esp + 0x58]
sub ecx, 0x18
mov eax, ecx
lea esi, [edi + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov esi, 1
add eax, 0xffffffe8
mov dword [ebp], eax
jmp 0x10004230
test eax, eax
je 0x1000420c
push esi
push str.NeedProcOnRecv_socket__lu__VerifyAuthInfo_fail__r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [esp + 0x24]
push 0
push 1
push 1
push 0
push 1
push 1
push 0
push esi
call fcn.10003a00
xor esi, esi
mov edi, dword [esp + 0x54]
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10004257
push edi
push str.NeedProcOnRecv_socket__lu__FindTableItem_not_find__x2_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov ecx, dword [esp + 0x10]
push ebx
push edi
call fcn.10003300
jmp 0x10004536
test eax, eax
je 0x10004289
mov ecx, dword [ebx + 0x24]
push ecx
push edi
push str.NeedProcOnRecv_socket__lu__FindTableItem_bfirst__u__x3_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x10004507
mov eax, dword [0x1030aa70]
test eax, eax
je 0x100042b7
push edi
push str.NeedProcOnRecv_socket__lu__FindTableItem_x4_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov edx, dword [ebx + 0x50]
mov ecx, dword [ebp]
mov eax, 0x18
sub eax, edx
cmp eax, ecx
jg 0x100042ca
mov ecx, eax
mov esi, dword [esp + 0x58]
lea edi, [edx + ebx + 0x38]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov edx, dword [ebx + 0x50]
add eax, edx
cmp eax, 0x18
mov dword [esp + 0x60], eax
jae 0x100043ee
xor eax, eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], eax
lea edx, [ebx + 0x38]
mov dword [esp + 0x20], eax
push ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push edx
push eax
xor esi, esi
push ecx
mov ecx, edi
mov dword [esp + 0x24], esi
call fcn.10004650
test eax, eax
je 0x100043c8
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x26]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x24], esi
cmp dword [0x1030aa70], esi
je 0x1000438c
mov ecx, dword [ebx + 0x30]
and eax, 0xffff
push ecx
push eax
push str.NeedProcOnRecv__DecryptALG:_d_DecryptKey:_08x___FindTableItem_x5_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov ax, word [ebx + 0x2c]
cmp ax, 4
je 0x1000439c
cmp ax, 5
jne 0x100043b4
mov edx, dword [ebx + 0x30]
lea eax, [ebx + 0xa8]
push edx
push 0x102f8f98
push eax
call fcn.10046d50
add esp, 0xc
push ebx
mov ecx, edi
call fcn.10003370
mov edi, dword [esp + 0x54]
mov dword [ebp], esi
jmp 0x10004536
mov eax, 1
push ebx
mov ecx, edi
mov dword [ebx + 0x30], esi
mov word [ebx + 0x2c], si
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
call fcn.10003370
mov edi, dword [esp + 0x54]
jmp 0x10004536
mov edx, dword [esp + 0x54]
lea esi, [ebx + 0x38]
mov ecx, 6
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.100031f0
add esp, 8
test eax, eax
je 0x100044e0
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x3e]
mov dword [ebx + 0x30], eax
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 1
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], ecx
mov ecx, dword [0x1030aa70]
test ecx, ecx
je 0x10004472
mov edx, dword [ebx + 0x30]
and eax, 0xffff
push edx
push eax
push str.NeedProcOnRecv__DecryptALG:_d_DecryptKey:_08x___FindTableItem_x5_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov ax, word [ebx + 0x2c]
cmp ax, 4
je 0x10004482
cmp ax, 5
jne 0x1000449a
mov eax, dword [ebx + 0x30]
lea ecx, [ebx + 0xa8]
push eax
push 0x102f8f98
push ecx
call fcn.10046d50
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ebx
call fcn.10003370
mov eax, dword [ebx + 0x50]
mov edx, dword [ebp]
mov edi, dword [esp + 0x58]
mov esi, edi
lea ecx, [eax + edx - 0x18]
sub esi, eax
mov eax, ecx
add esi, 0x18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebp]
mov edi, dword [esp + 0x54]
sub ecx, 0x18
add eax, ecx
mov esi, 1
mov dword [ebp], eax
jmp 0x10004536
mov ecx, dword [esp + 0x10]
xor esi, esi
mov eax, 1
push ebx
mov dword [ebx + 0x30], esi
mov word [ebx + 0x2c], si
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], eax
call fcn.10003370
mov edi, dword [esp + 0x54]
jmp 0x10004536
mov ecx, dword [ebx + 0x1c]
mov eax, dword [0x1030aa70]
xor edx, edx
test ecx, ecx
sete dl
test eax, eax
mov esi, edx
je 0x1000455a
push edi
push str.NeedProcOnRecv_socket__lu__FindTableItem_x4_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1000455a
push esi
push edi
push str.NeedProcOnRecv_socket__lu__bProc__lu__ret_r_n
push str.CConnTrack
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x14