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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x34]
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [edi + 0x4c], eax
call esi
mov dword [edi + 0x4c], eax
call esi
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x54]
lea edx, [eax + 2]
cmp ecx, edx
jne 0x405f84
mov esi, dword [edi + 0x90]
test esi, esi
je 0x405cea
mov ecx, dword [edi + 0x88]
lea eax, [ebp - 4]
push eax
lea ebx, [edi + 0x74]
mov edi, dword [edi + 0x7c]
push ecx
call fcn.00401ce0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test eax, eax
je 0x405bdd
push 0x1bd
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x436140
call esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x436140
push 0
call edi
jmp 0x405be3
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x90]
cmp edx, dword [ebp - 4]
je 0x405c22
push 0x1c0
push str.XSocketHttp.cpp
push str.m_recv_cache_temp_cbcb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x435d40
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x435d40
push 0
call edi
mov eax, dword [ebp - 4]
cmp dword [ebx + 0x90], eax
je 0x405c5e
push 0x1c1
push str.XSocketHttp.cpp
push str.m_recv_cache_temp_cbcb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x435940
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x435940
push 0
call edi
mov ecx, dword [ebp - 4]
cmp dword [ebx + 0x90], ecx
je 0x405c9a
push 0x1c2
push str.XSocketHttp.cpp
push str.m_recv_cache_temp_cbcb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x435540
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x435540
push 0
call edi
mov edx, dword [ebx + 0x90]
add dword [ebx + 0x7c], edx
push ebx
mov dword [ebx + 0x90], 0
call fcn.004056f0
test eax, eax
je 0x405ce8
push 0x1c9
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x435140
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x435140
push 0
call edi
mov edi, ebx
mov eax, dword [edi + 0x94]
test eax, eax
je 0x405e71
mov edx, dword [edi + 0x60]
mov esi, dword [edi + 0x68]
lea ebx, [edi + 0x60]
lea ecx, [ebp - 4]
push ecx
add edx, eax
sub esi, eax
push edx
xor edi, edi
call fcn.00401ce0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test eax, eax
je 0x405d53
push 0x1d1
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x434d40
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x434d40
push edi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
call edi
jmp 0x405d59
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x68]
sub eax, dword [ebx + 0x94]
cmp eax, dword [ebp - 4]
je 0x405d9b
push 0x1d4
push str.XSocketHttp.cpp
push str.m_send_cache_cb_m_send_cache_temp_cbcb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x434940
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x434940
push 0
call edi
mov ecx, dword [ebx + 0x68]
sub ecx, dword [ebx + 0x94]
cmp ecx, dword [ebp - 4]
je 0x405dda
push 0x1d5
push str.XSocketHttp.cpp
push str.m_send_cache_cb_m_send_cache_temp_cbcb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x434540
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x434540
push 0
call edi
mov edx, dword [ebx + 0x68]
sub edx, dword [ebx + 0x94]
cmp edx, dword [ebp - 4]
je 0x405e19
push 0x1d6
push str.XSocketHttp.cpp
push str.m_send_cache_cb_m_send_cache_temp_cbcb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x434140
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x434140
push 0
call edi
mov eax, dword [ebx + 0x94]
sub dword [ebx + 0x68], eax
push ebx
mov dword [ebx + 0x94], 0
call fcn.00405490
test eax, eax
je 0x405e6f
push 0x1dd
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x433d40
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x433d40
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, ebx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push ecx
lea ebx, [edi + 0x88]
push edx
xor edi, edi
call fcn.00401ce0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test eax, eax
je 0x405ecb
push 0x1e3
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x433940
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x433940
push edi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
call edi
jmp 0x405ed1
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, dword [ebp + 0x10]
cmp ebx, dword [ebp - 4]
je 0x405f70
push 0x1e6
push str.XSocketHttp.cpp
push str.sizecb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x433540
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x433540
push 0
call edi
push 0x1e7
push str.XSocketHttp.cpp
push str.sizecb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x433140
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x433140
push 0
call edi
push 0x1e8
push str.XSocketHttp.cpp
push str.sizecb
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x432d40
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x432d40
push 0
call edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x90], ebx
mov dword [eax + 0x54], ecx
jmp 0x4060cc
cmp ecx, eax
jne 0x40608c
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x1f3
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x432940
call esi
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x432940
push 0
call ebx
push 0x1f4
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x432540
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x432540
push 0
call ebx
push 0x1f5
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x432140
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x432140
push 0
call ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea edx, [ebp - 4]
push edx
lea ebx, [edi + 0x88]
push eax
xor edi, edi
call fcn.00401ce0
test eax, eax
je 0x40607f
push 0x1f9
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x431d40
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x431d40
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp + 8]
mov ecx, esi
mov dword [edx + 0x90], ecx
jmp 0x4060cc
push 0x201
push str.XSocketHttp.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x431940
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x431940
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 8], 0xd
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10