Function at 0x415e5f
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eaabc
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x50f634]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x50f634]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0x34], esi
mov edi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea eax, [esp + 0x5c]
push eax
push esi
mov dword [esp + 0x1a8], ebx
call fcn.00415aaf
push edi
lea ecx, [esp + 0x140]
call fcn.0041dbe3
pop ecx
mov byte [esp + 0x1a0], 1
cmp dword [esp + 0x150], 0x10
mov ecx, dword [esp + 0x13c]
mov eax, ecx
jae 0x415f0c
lea eax, [esp + 0x13c]
add eax, dword [esp + 0x14c]
cmp dword [esp + 0x150], 0x10
jae 0x415f24
lea ecx, [esp + 0x13c]
push dword [esp + 0x34]
mov dword [esp + 0x50], ebx
push eax
push ecx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.00416d7a
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
lea eax, [esp + 0x24]
mov byte [esp + 0x1a0], 4
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x58]
lea ecx, [esp + 0x70]
push esi
call fcn.00427ff0
xor eax, eax
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [esp + 0x70]
push ebx
push 0xf4240
push ecx
push eax
call fcn.00459320
push dword [esp + 0x28]
push dword [esp + 0x28]
push edx
push eax
call fcn.00453060
push dword [esi + 0x28]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x3c], edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x10], 0xc8
je 0x4160f5
lea eax, [esp + 0x84]
push eax
call fcn.004021e7
lea eax, [esp + 0x84]
push str.UnifiedServerInteraction:_responce_code_is
push eax
mov byte [esp + 0x1a8], 5
call fcn.004035ab
pop ecx
pop ecx
push dword [esp + 0x10]
lea eax, [esp + 0x88]
push eax
call fcn.0040c5a1
lea edx, [esp + 0x120]
lea ecx, [esp + 0x84]
call fcn.00402860
mov byte [esp + 0x1a0], 6
cmp dword [esp + 0x134], 8
mov eax, dword [esp + 0x120]
jae 0x416074
lea eax, [esp + 0x120]
xor ecx, ecx
push eax
inc ecx
call fcn.00417f5f
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x124]
call fcn.00402a3c
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1a0], 4
call fcn.00402251
lea eax, [esp + 0xd4]
push eax
mov dword [esp + 0xd8], vtable.std::ios_base.0
call fcn.004441d6
pop ecx
push dword [esp + 0x10]
lea ecx, [esp + 0x3c]
call fcn.0041536c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], str.HTTP_code_is_not_200
call fcn.0044508d
push 0x503828
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.std::runtime_error.0
call fcn.0044abc5
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x416106
mov eax, dword [esi]
jmp 0x416108
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x38], eax
je 0x416152
sub eax, dword [esp + 0x38]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x160]
push eax
call fcn.0041db5d
add esp, 0xc
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov byte [esp + 0x1a8], 7
call fcn.004029a2
push 1
xor edi, edi
lea esi, [esp + 0x15c]
call fcn.00402a3c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1a0], 8
xor esi, esi
lea eax, [esp + 0x84]
push eax
call fcn.004021e7
lea eax, [esp + 0x84]
push str.X_UPDT_Client_Data_
push eax
mov byte [esp + 0x1a8], 9
call fcn.004035ab
pop ecx
pop ecx
lea eax, [esi + 1]
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x88]
push eax
call fcn.0040c5a1
lea edx, [esp + 0x158]
lea ecx, [esp + 0x84]
call fcn.00402860
lea eax, [esp + 0x158]
push eax
lea esi, [esp + 0x178]
mov byte [esp + 0x1a4], 0xa
call fcn.0040529d
push 1
xor edi, edi
lea esi, [esp + 0x15c]
call fcn.00402a3c
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1a0], 0xd
call fcn.00402251
lea eax, [esp + 0xd4]
push eax
mov dword [esp + 0xd8], vtable.std::ios_base.0
call fcn.004441d6
xor eax, eax
pop ecx
mov dword [esp + 0x134], 7
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], ax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1a8], 0xe
call fcn.00424b9d
pop ecx
pop ecx
test al, al
je 0x4162a7
cmp dword [esp + 0x130], ebx
je 0x4162a7
lea eax, [esp + 0x120]
push eax
lea edi, [esp + 0x28]
call fcn.00416560
push 1
xor edi, edi
lea esi, [esp + 0x124]
call fcn.00402a3c
push 1
lea esi, [esp + 0x178]
mov byte [esp + 0x1a4], 8
call fcn.00402a3c
mov esi, dword [esp + 0x20]
cmp esi, 0x100
jb 0x416168
jmp 0x4162cd
push 1
xor edi, edi
lea esi, [esp + 0x124]
call fcn.00402a3c
push 1
lea esi, [esp + 0x178]
mov byte [esp + 0x1a4], 8
call fcn.00402a3c
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
je 0x4162e7
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x24]
push eax
call fcn.00415920
jmp 0x4162f5
push str.No_ClientData_in_server_response.
push 2
pop ecx
call fcn.00417f5f
pop ecx
cmp esi, ebx
je 0x41630b
push dword [esp + 0x28]
mov eax, esi
call fcn.0040c1bd
push esi
call fcn.00445b41
pop ecx
lea esi, [esp + 0x74]
call fcn.0041674c
cmp dword [esp + 0x38], ebx
je 0x416324
push dword [esp + 0x38]
call fcn.00445b41
pop ecx
cmp dword [esp + 0x4c], ebx
je 0x416334
push dword [esp + 0x4c]
call fcn.00445b41
pop ecx
push ebx
push 1
lea ecx, [esp + 0x144]
call fcn.0040295e
lea esi, [esp + 0x5c]
call fcn.0041674c
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.00444c31
mov esp, ebp
pop ebp
ret 0xc