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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba0cd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x68cc00]
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 - 0x28], ecx
cmp byte [ebp + 8], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
jne 0x48015a
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x48015a
push str.sendRequestBody
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00447ef0
cmp byte [edi + 0x129], 0
mov dword [ebp - 4], 0
je 0x47ff31
push dword [ebp + 0x14]
mov ecx, edi
push str.idleTimeoutMs
call fcn.00448710
push esi
push str.rqdType
mov ecx, edi
call fcn.00448710
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x30], eax
mov bl, 1
cmp esi, 1
jne 0x47ff66
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
add edx, 0x6b0
push edi
push ecx
mov ecx, dword [ebp - 0x24]
push esi
push edx
push 0
push 0
call fcn.0045fb40
mov bl, al
jmp 0x480021
cmp esi, 5
jne 0x47ffe4
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.004612e0
test eax, eax
jle 0x47ff9e
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
add eax, 0x6b0
push edi
push ecx
mov ecx, dword [ebp - 0x24]
push esi
push eax
push 0
push 0
call fcn.0045fb40
mov bl, al
jmp 0x480021
lea eax, [esi + 8]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.00402f10
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x480021
mov ecx, dword [ebp + 0x14]
push esi
push edi
push dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x24]
push 0xfa0
call fcn.00402f10
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00438b90
mov ecx, dword [ebp - 0x28]
push eax
add ecx, 0x6b0
call fcn.004fb5b0
mov bl, al
jmp 0x480021
cmp esi, 4
jne 0x480068
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
push edi
push dword [ebp - 0x2c]
push ecx
push 0xfa0
lea ecx, [esi + 8]
call fcn.00402f10
push eax
lea ecx, [esi + 8]
call fcn.00438b90
mov ecx, dword [ebp - 0x28]
push eax
add ecx, 0x6b0
call fcn.004fb5b0
mov bl, al
mov esi, dword [ebp - 0x20]
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 0x30]
lea ecx, [edx + 0x14]
cmp eax, ecx
jbe 0x48003f
sub eax, edx
mov ecx, edi
push eax
push str.sendBodyElapsedMs
call fcn.00448710
test bl, bl
jne 0x480124
mov eax, dword [edi]
mov ecx, edi
push str.Failed_to_send_HTTP_request_body.
call dword [eax + 0x14]
push 0
push edi
push dword [esi + 4]
mov edi, dword [ebp - 0x28]
mov ecx, edi
call fcn.0047de00
jmp 0x480127
cmp esi, 3
jne 0x4800b4
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
push esi
push edi
push dword [ebp - 0x2c]
push 0
push ecx
mov ecx, dword [ebp - 0x28]
push 0xfa0
push dword [eax + 0x14c]
add ecx, 0x6b0
push dword [eax + 0x148]
push dword [eax + 0x144]
push dword [eax + 0x140]
add eax, 0x24
push eax
call fcn.004fb6b0
mov bl, al
jmp 0x480021
cmp esi, 2
jne 0x48001e
push str.SendQueryParamsInPath
lea ecx, [edi + 0x90]
call fcn.0042cc00
test al, al
jne 0x48001e
mov ebx, dword [ebp - 0x24]
add ebx, 0x254
mov ecx, ebx
call fcn.0042f360
cmp byte [edi + 0x129], 0
mov dword [ebp - 0x24], eax
je 0x480106
push 0x3e8
push ebx
push str.encodedBody
mov ecx, edi
call fcn.00448ad0
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x14]
push esi
push edi
push dword [ebp - 0x2c]
push ecx
push 0xfa0
push eax
mov ecx, ebx
call fcn.0042f3c0
jmp 0x47ffd1
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x1d], 0
je 0x48014e
mov eax, dword [edi + 0x864]
test eax, eax
je 0x48014a
push eax
call fcn.0042a380
add esp, 4
mov dword [edi + 0x864], 0
mov byte [esi + 0x1d], 0
lea ecx, [ebp - 0x1c]
call fcn.00447ff0
mov al, bl
jmp 0x48015c
mov al, 1
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.005af5a8
mov esp, ebp
pop ebp
ret 0x1c