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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x818
mov eax, dword [0x698b9c]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x7ff
mov dword [esp + 0x10], eax
xor ebx, ebx
lea eax, [esp + 0x1d]
push ebx
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x24], 0
call fcn.005bfd50
add esp, 0xc
lea esi, [edi + 0x24]
call fcn.00417da0
lea esi, [edi + 0x10]
call fcn.00417da0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [edi + 0x40]
mov dword [edi + 0x3c], eax
cmp esi, ebx
jne 0x416b3b
push 0x1038
call fcn.005c020b
add esp, 4
cmp eax, ebx
je 0x416afe
or ecx, 0xffffffff
mov dword [eax], vtable.CHttpProvider::HttpProviderData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edi
mov dword [eax + 0x102c], ebx
mov dword [eax + 0x1030], ebx
mov dword [eax + 0x1034], ebx
mov esi, eax
jmp 0x416b00
xor esi, esi
mov ecx, dword [edi + 0x40]
cmp ecx, ebx
je 0x416b11
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor ebx, ebx
mov dword [edi + 0x40], esi
cmp esi, ebx
jne 0x416b3b
mov ecx, dword [esp + 0xc]
mov dword [ecx + 8], 2
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 8
cmp dword [0x69aaa4], 1
jg 0x416b69
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
push str.PHD_stauts:__u__keep_alive_time:__d__last_status_tick:__u.
push 0x101
push str.....mttpHttpProvider.cpp
push 1
call fcn.00401310
add esp, 0x1c
mov edx, dword [esp + 8]
cmp dword [edx + 0xc], ebx
jne 0x416bae
cmp dword [0x69aaa4], 1
jg 0x416b94
push str.client_would_not_like_to_use_keep_alive_feature
push 0x106
push str.....mttpHttpProvider.cpp
push 1
call fcn.00401310
add esp, 0x10
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
mov ecx, edi
call edx
cmp dword [esi + 4], ebx
je 0x416bae
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
cmp dword [esi + 4], 1
jne 0x416c82
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul ebx, ebx, 0x3e8
mov ecx, dword [esp + 0x10]
lea edx, [ebx + ecx - 0x3e8]
cmp eax, edx
ja 0x416c80
cmp dword [0x69aaa4], 1
jg 0x416c03
push str.Use_Keep_alive_connection.
push 0x118
push str.....mttpHttpProvider.cpp
push 1
call fcn.00401310
add esp, 0x10
xor ebx, ebx
mov eax, 2
cmp dword [esi + 4], eax
je 0x416c1b
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], ebx
jne 0x416c2e
mov ecx, 0x677214
cmp dword [eax + 0x10], ebx
je 0x416c33
mov ecx, str.POST
mov eax, dword [eax]
cmp eax, ebx
jne 0x416c3e
mov eax, 0x677220
push eax
push ecx
push str._s__s_HTTP_1.1_r_n
lea ecx, [esp + 0x24]
push 0x7ff
push ecx
call fcn.005c1e5d
mov ebx, eax
add esp, 0x14
test ebx, ebx
jg 0x416ccd
mov edx, dword [esp + 0xc]
mov dword [edx + 8], 8
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [ecx + 0x20]
push edx
mov ecx, edi
call eax
test eax, eax
jne 0x416c05
cmp dword [esi + 4], ebx
je 0x416cb5
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
push 1
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], 0
call edx
cmp eax, ebx
je 0x416d6a
mov edi, edi
cmp dword [0x69aaa4], 1
jg 0x416d12
push str.Keep_alive_connection_was_lost.
push 0x136
push str.....mttpHttpProvider.cpp
push 1
call fcn.00401310
add esp, 0x10
cmp dword [esp + 0x10], 1
jge 0x416e3c
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
cmp eax, 0x10
jne 0x416e3c
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [ecx + 0x20]
push edx
mov ecx, edi
call eax
test eax, eax
je 0x416e03
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
inc dword [esp + 0x10]
push 1
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
cmp eax, ebx
jne 0x416cf0
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 0x677258
push str.Accept
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 8]
push str.MTTP
push str.User_Agent
mov ecx, edi
call eax
mov ebx, dword [esp + 0xc]
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
test eax, eax
jne 0x416e84
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x80]
cmp ecx, 0x50
je 0x416dce
test eax, eax
je 0x416de3
cmp ecx, 0x1bb
je 0x416e75
cmp eax, 1
jne 0x416e75
push ecx
push edx
lea ecx, [esp + 0x20]
push str._s:_u
push ecx
call fcn.005c1f0c
mov edx, dword [edi]
mov edx, dword [edx + 8]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
jmp 0x416e7b
cmp dword [esi + 4], 0
je 0x416e19
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 8], 5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 4], 0
je 0x416e52
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dword [ecx + 8], 5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
push edx
mov edx, dword [eax + 8]
push str.Host
mov ecx, edi
call edx
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
ja 0x416e95
cmp dword [ebx + 0x10], 0
jbe 0x416ec9
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 0x10]
or edx, 0xffffffff
mul edx
xor ebx, ebx
add eax, ecx
adc edx, ebx
push edx
push eax
call fcn.00416460
mov eax, dword [edi]
mov edx, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push str.Content_length
mov ecx, edi
call edx
mov ebx, dword [esp + 8]
cmp dword [0x69aaa4], 1
jg 0x416eef
mov eax, dword [ebx + 0xc]
push eax
push str.Init_connection:_keep_alive_d
push 0x166
push str.....mttpHttpProvider.cpp
push 1
call fcn.00401310
add esp, 0x14
cmp dword [ebx + 0xc], 0
mov eax, str.Keep_Alive
jne 0x416eff
mov eax, str.close
mov edx, dword [edi]
push eax
mov eax, dword [edx + 8]
push str.Connection
mov ecx, edi
call eax
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
ja 0x416f1b
cmp dword [ebx + 0x18], 0
jbe 0x416f4f
mov eax, dword [ebx + 0x18]
lea edx, [esp + 0x18]
push edx
or edx, 0xffffffff
mul edx
xor ebx, ebx
add eax, ecx
adc edx, ebx
push edx
push eax
call fcn.00416460
mov eax, dword [edi]
mov edx, dword [eax + 8]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push str.Addtional
mov ecx, edi
call edx
mov ebx, dword [esp + 8]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x416f7c
push ebx
lea eax, [esp + 0x1c]
push 0x67649c
push eax
call fcn.005c1f0c
mov edx, dword [edi]
mov edx, dword [edx + 8]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push str.Command_ID
mov ecx, edi
call edx
mov eax, 3
cmp dword [esi + 4], eax
je 0x416f92
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x81c]
pop esi
pop ebx
mov dword [eax + 8], 0
xor ecx, esp
mov eax, 1
call fcn.005bfcb8
mov esp, ebp
pop ebp
ret 8