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

Disassembly:
push 0xffffffffffffffff
push 0x68ad98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
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 0x517589
mov al, 1
jmp 0x5177be
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x517582
mov esi, dword [esp + 0x4c]
push str.sendRequestBody
push esi
lea ecx, [esp + 0x20]
call fcn.004b1850
cmp byte [esi + 0x121], 0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x2c], 0
je 0x5175d3
push edi
push str.idleTimeoutMs
mov ecx, esi
call fcn.004b14c0
push ebp
push str.rqdType
mov ecx, esi
call fcn.004b14c0
call sub.KERNEL32.dll_GetTickCount
cmp ebp, 1
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov bl, 1
jne 0x517608
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
push esi
push edi
push ebp
add eax, 0x690
push eax
push 0
push 0
call fcn.0052b550
mov bl, al
jmp 0x51776d
mov eax, dword [esp + 0x38]
cmp eax, 5
jne 0x51767d
mov ecx, dword [esp + 0x3c]
call fcn.0052b400
test eax, eax
jle 0x517640
mov ecx, dword [esp + 0x14]
push esi
push edi
push ebp
add ecx, 0x690
push ecx
mov ecx, dword [esp + 0x4c]
push 0
push 0
call fcn.0052b550
mov bl, al
jmp 0x51776d
mov ecx, dword [esp + 0x3c]
add ecx, 8
mov dword [esp + 0x34], ecx
call fcn.00544a30
test eax, eax
jbe 0x51776d
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.00544a30
push eax
mov ecx, edi
call fcn.00467d80
jmp 0x517757
cmp eax, 4
jne 0x5176aa
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.00544a30
push eax
mov ecx, ebx
call fcn.00467d80
jmp 0x517757
cmp eax, 3
jne 0x5176f5
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, 0x690
call fcn.00570fb0
mov bl, al
jmp 0x51776d
cmp eax, 2
jne 0x51776d
push str.SendQueryParamsInPath
lea ecx, [esi + 0x90]
call fcn.00487520
test al, al
jne 0x51776b
mov ebx, dword [esp + 0x3c]
add ebx, 0x254
mov ecx, ebx
call fcn.005d5d40
cmp byte [esi + 0x121], 0
mov dword [esp + 0x34], eax
je 0x51773e
push 0x3e8
push ebx
push str.encodedBody
mov ecx, esi
call fcn.004b1260
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.00483ec0
mov ecx, dword [esp + 0x2c]
push eax
add ecx, 0x690
call fcn.005713c0
mov bl, al
jmp 0x51776d
mov bl, 1
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jb 0x517789
sub eax, ecx
push eax
push str.sendBodyElapsedMs
mov ecx, esi
call fcn.004b14c0
test bl, bl
jne 0x5177ab
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.00516d00
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004b18c0
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