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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f10f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
cmp byte [ebp + 8], 0
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
je 0x4f6bed
mov al, 1
jmp 0x4f6e05
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4f6be6
push str.sendRequestBody
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00430cc0
cmp byte [edi + 0xad], 0
mov dword [ebp - 4], 0
je 0x4f6c3d
push dword [ebp + 0x14]
mov ecx, edi
push str.idleTimeoutMs
call fcn.00431470
push esi
push str.rqdType
mov ecx, edi
call fcn.00431470
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x1d], 1
cmp esi, 1
jne 0x4f6c72
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x24]
push edi
push ecx
push dword [ebp - 0x28]
lea ecx, [esi + 0x688]
push ecx
push 0
push 0
mov ecx, ebx
call fcn.004f7a40
mov bl, al
jmp 0x4f6dc0
cmp esi, 5
jne 0x4f6ced
mov ecx, ebx
call fcn.004f8a20
test eax, eax
jle 0x4f6ca6
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp - 0x24]
push edi
push ecx
push dword [ebp - 0x28]
lea eax, [esi + 0x688]
mov ecx, ebx
push eax
push 0
push 0
call fcn.004f7a40
mov bl, al
jmp 0x4f6dc0
add ebx, 8
mov ecx, ebx
call fcn.00401c90
test eax, eax
je 0x4f6dba
push dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
push edi
push dword [ebp - 0x2c]
push ecx
push 0xfa0
mov ecx, ebx
call fcn.00401c90
push eax
mov ecx, ebx
call fcn.00414910
mov esi, dword [ebp - 0x24]
push eax
lea ecx, [esi + 0x688]
call fcn.00506040
mov bl, al
jmp 0x4f6dc0
cmp esi, 4
jne 0x4f6d29
push dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
push edi
push dword [ebp - 0x2c]
push ecx
push 0xfa0
lea ecx, [ebx + 8]
call fcn.00401c90
push eax
lea ecx, [ebx + 8]
call fcn.00414910
mov esi, dword [ebp - 0x24]
push eax
lea ecx, [esi + 0x688]
call fcn.00506040
mov bl, al
jmp 0x4f6dc0
cmp esi, 3
jne 0x4f6d6e
push dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
lea eax, [ebx + 0x24]
mov esi, dword [ebp - 0x24]
push edi
push dword [ebp - 0x2c]
push 0
push ecx
push 0xfa0
push dword [ebx + 0x14c]
lea ecx, [esi + 0x688]
push dword [ebx + 0x148]
push dword [ebx + 0x144]
push dword [ebx + 0x140]
push eax
call fcn.00506100
mov bl, al
jmp 0x4f6dc0
cmp esi, 2
jne 0x4f6dba
add ebx, 0x254
mov ecx, ebx
call fcn.004239b0
cmp byte [edi + 0xad], 0
mov esi, eax
je 0x4f6d9d
push 0x3e8
push ebx
push str.encodedBody
mov ecx, edi
call fcn.00431830
push dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
push edi
push dword [ebp - 0x2c]
push ecx
push 0xfa0
push esi
mov ecx, ebx
call fcn.00414900
jmp 0x4f6d13
mov esi, dword [ebp - 0x24]
mov bl, byte [ebp - 0x1d]
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jb 0x4f6ddb
sub eax, ecx
mov ecx, edi
push eax
push str.sendBodyElapsedMs
call fcn.00431470
test bl, bl
jne 0x4f6dfb
mov eax, dword [edi]
mov ecx, edi
push str.Failed_to_send_HTTP_request_body.
call dword [eax + 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, esi
push 0
push edi
push dword [eax + 4]
call fcn.004f5db0
lea ecx, [ebp - 0x1c]
call fcn.00430db0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x1c