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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be01d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x692c00]
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 0x48066a
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x48066a
push str.sendRequestBody
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004481f0
cmp byte [edi + 0x129], 0
mov dword [ebp - 4], 0
je 0x480441
push dword [ebp + 0x14]
mov ecx, edi
push str.idleTimeoutMs
call fcn.00448a10
push esi
push str.rqdType
mov ecx, edi
call fcn.00448a10
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x30], eax
mov bl, 1
cmp esi, 1
jne 0x480476
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.00461340
mov bl, al
jmp 0x480531
cmp esi, 5
jne 0x4804f4
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.00462ae0
test eax, eax
jle 0x4804ae
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.00461340
mov bl, al
jmp 0x480531
lea eax, [esi + 8]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.00402fb0
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x480531
mov ecx, dword [ebp + 0x14]
push esi
push edi
push dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x24]
push 0xfa0
call fcn.00402fb0
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00438ea0
mov ecx, dword [ebp - 0x28]
push eax
add ecx, 0x6b0
call fcn.004fc300
mov bl, al
jmp 0x480531
cmp esi, 4
jne 0x480578
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.00402fb0
push eax
lea ecx, [esi + 8]
call fcn.00438ea0
mov ecx, dword [ebp - 0x28]
push eax
add ecx, 0x6b0
call fcn.004fc300
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 0x48054f
sub eax, edx
mov ecx, edi
push eax
push str.sendBodyElapsedMs
call fcn.00448a10
test bl, bl
jne 0x480634
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.0047e2d0
jmp 0x480637
cmp esi, 3
jne 0x4805c4
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.004fc400
mov bl, al
jmp 0x480531
cmp esi, 2
jne 0x48052e
push str.SendQueryParamsInPath
lea ecx, [edi + 0x90]
call fcn.0042ce50
test al, al
jne 0x48052e
mov ebx, dword [ebp - 0x24]
add ebx, 0x254
mov ecx, ebx
call fcn.0042f5b0
cmp byte [edi + 0x129], 0
mov dword [ebp - 0x24], eax
je 0x480616
push 0x3e8
push ebx
push str.encodedBody
mov ecx, edi
call fcn.00448dd0
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.0042f610
jmp 0x4804e1
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x1e], 0
je 0x48065e
mov eax, dword [edi + 0x864]
test eax, eax
je 0x48065a
push eax
call fcn.0042a5d0
add esp, 4
mov dword [edi + 0x864], 0
mov byte [esi + 0x1e], 0
lea ecx, [ebp - 0x1c]
call fcn.004482f0
mov al, bl
jmp 0x48066c
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.005b34c8
mov esp, ebp
pop ebp
ret 0x1c