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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e7fd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x717f80]
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 0x4ea9fa
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4ea9fa
push str.sendRequestBody
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push edi
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004b2490
cmp byte [edi + 0x129], 0
mov dword [ebp - 4], 0
je 0x4ea7d1
push dword [ebp + 0x14]
mov ecx, edi
push str.idleTimeoutMs
call fcn.004b2d90
push esi
push str.rqdType
mov ecx, edi
call fcn.004b2d90
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x30], eax
mov bl, 1
cmp esi, 1
jne 0x4ea806
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.004cb530
mov bl, al
jmp 0x4ea8c1
cmp esi, 5
jne 0x4ea884
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.004cce00
test eax, eax
jle 0x4ea83e
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.004cb530
mov bl, al
jmp 0x4ea8c1
lea eax, [esi + 8]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.0046e290
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x4ea8c1
mov ecx, dword [ebp + 0x14]
push esi
push edi
push dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x24]
push 0xfa0
call fcn.0046e290
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004a2ca0
mov ecx, dword [ebp - 0x28]
push eax
add ecx, 0x6b0
call fcn.005810d0
mov bl, al
jmp 0x4ea8c1
cmp esi, 4
jne 0x4ea908
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.0046e290
push eax
lea ecx, [esi + 8]
call fcn.004a2ca0
mov ecx, dword [ebp - 0x28]
push eax
add ecx, 0x6b0
call fcn.005810d0
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 0x4ea8df
sub eax, edx
mov ecx, edi
push eax
push str.sendBodyElapsedMs
call fcn.004b2d90
test bl, bl
jne 0x4ea9c4
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.004e86d0
jmp 0x4ea9c7
cmp esi, 3
jne 0x4ea954
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.005811d0
mov bl, al
jmp 0x4ea8c1
cmp esi, 2
jne 0x4ea8be
push str.SendQueryParamsInPath
lea ecx, [edi + 0x90]
call fcn.004970c0
test al, al
jne 0x4ea8be
mov ebx, dword [ebp - 0x24]
add ebx, 0x254
mov ecx, ebx
call fcn.004992a0
cmp byte [edi + 0x129], 0
mov dword [ebp - 0x24], eax
je 0x4ea9a6
push 0x3e8
push ebx
push str.encodedBody
mov ecx, edi
call fcn.004b3150
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.00499300
jmp 0x4ea871
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x1e], 0
je 0x4ea9ee
mov eax, dword [edi + 0x864]
test eax, eax
je 0x4ea9ea
push eax
call fcn.00477310
add esp, 4
mov dword [edi + 0x864], 0
mov byte [esi + 0x1e], 0
lea ecx, [ebp - 0x1c]
call fcn.004b2630
mov al, bl
jmp 0x4ea9fc
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.00622073
mov esp, ebp
pop ebp
ret 0x1c