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

Disassembly:
push 0xffffffffffffffff
push 0x573698
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
cmp byte [esp + 0x34], 0
je 0x458119
mov al, 1
jmp 0x45834e
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x458112
mov esi, dword [esp + 0x4c]
push str.sendRequestBody
push esi
lea ecx, [esp + 0x20]
call fcn.00437740
cmp byte [esi + 0x121], 0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x2c], 0
je 0x458163
push edi
push str.idleTimeoutMs
mov ecx, esi
call fcn.004373b0
push ebp
push str.rqdType
mov ecx, esi
call fcn.004373b0
call sub.KERNEL32.dll_GetTickCount
cmp ebp, 1
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov bl, 1
jne 0x458198
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
push esi
push edi
push ebp
add eax, 0x688
push eax
push 0
push 0
call fcn.00470c90
mov bl, al
jmp 0x4582fd
mov eax, dword [esp + 0x38]
cmp eax, 5
jne 0x45820d
mov ecx, dword [esp + 0x3c]
call fcn.00470b40
test eax, eax
jle 0x4581d0
mov ecx, dword [esp + 0x14]
push esi
push edi
push ebp
add ecx, 0x688
push ecx
mov ecx, dword [esp + 0x4c]
push 0
push 0
call fcn.00470c90
mov bl, al
jmp 0x4582fd
mov ecx, dword [esp + 0x3c]
add ecx, 8
mov dword [esp + 0x34], ecx
call fcn.0051d090
test eax, eax
jbe 0x4582fd
mov edx, dword [esp + 0x48]
push ebp
push esi
push edx
push edi
mov edi, dword [esp + 0x44]
push 0xfa0
mov ecx, edi
call fcn.0051d090
push eax
mov ecx, edi
call fcn.00446f60
jmp 0x4582e7
cmp eax, 4
jne 0x45823a
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push eax
push edi
add ebx, 8
push 0xfa0
mov ecx, ebx
call fcn.0051d090
push eax
mov ecx, ebx
call fcn.00446f60
jmp 0x4582e7
cmp eax, 3
jne 0x458285
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 0x14c]
push ebp
push esi
push ecx
mov ecx, dword [eax + 0x148]
push 0
push edi
push 0xfa0
push edx
mov edx, dword [eax + 0x144]
push ecx
mov ecx, dword [eax + 0x140]
push edx
push ecx
mov ecx, dword [esp + 0x3c]
add eax, 0x24
push eax
add ecx, 0x688
call fcn.004a9440
mov bl, al
jmp 0x4582fd
cmp eax, 2
jne 0x4582fd
push str.SendQueryParamsInPath
lea ecx, [esi + 0x90]
call fcn.0042ef80
test al, al
jne 0x4582fb
mov ebx, dword [esp + 0x3c]
add ebx, 0x254
mov ecx, ebx
call fcn.0042bab0
cmp byte [esi + 0x121], 0
mov dword [esp + 0x34], eax
je 0x4582ce
push 0x3e8
push ebx
push str.encodedBody
mov ecx, esi
call fcn.00437140
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
push ebp
push esi
push edx
push edi
push 0xfa0
push eax
mov ecx, ebx
call fcn.0051b3b0
mov ecx, dword [esp + 0x2c]
push eax
add ecx, 0x688
call fcn.004a9850
mov bl, al
jmp 0x4582fd
mov bl, 1
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jb 0x458319
sub eax, ecx
push eax
push str.sendBodyElapsedMs
mov ecx, esi
call fcn.004373b0
test bl, bl
jne 0x45833b
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_send_HTTP_request_body.
mov ecx, esi
call eax
mov ecx, dword [ebp + 4]
push 0
push esi
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00457890
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004377b0
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x1c