Function at 0x44d2c0
Capabilities:
Create http request
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x673f64]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x18], 0xffffffff
jne 0x44d2f0
mov dword [edi + 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0x5c], 0x10
lea edi, [esi + 0x48]
jb 0x44d303
mov edi, dword [esi + 0x48]
cmp dword [esi + 0x34], 8
lea edx, [esi + 0x20]
jb 0x44d30e
mov edx, dword [edx]
mov ecx, dword [esi + 0x80]
push edi
push dword [esi + 0x44]
push dword [esi + 0x40]
mov eax, dword [ecx]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push edx
push 0x6495e0
push str.HttpTask::Start
push ecx
call dword [eax + 8]
add esp, 0x24
mov dword [esp + 0x10], 0x100
push 0x100
call fcn.005c027f
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x44d392
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_ObtainUserAgentString]
mov edi, eax
test edi, edi
jns 0x44d3f3
push dword [esp + 0xc]
call fcn.005bfc6b
add esp, 4
cmp edi, 0x8007000e
jne 0x44d3da
push dword [esp + 0x10]
call fcn.005c027f
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x44d352
mov eax, dword [esi + 0x80]
push dword [esp + 0x10]
push str.malloc__u__failed.
mov ecx, dword [eax]
push str.HttpTask::CreateSession
push eax
call dword [ecx + 8]
mov edi, 0x8007000e
add esp, 0x10
mov eax, dword [esi + 0x60]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x80]
push edi
push str.ObtailUserAgentString_failed:_0x_08X.
push str.HttpTask::CreateSession
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44d3b1
push 0x10000000
push 0
push 0
push 0
push dword [esp + 0x1c]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x64], eax
test eax, eax
je 0x44d451
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [esp + 0x14]
push 4
push ecx
push 2
push eax
mov dword [esp + 0x24], 0xea60
call edi
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x7530
push eax
push 5
push dword [esi + 0x64]
call edi
push 4
lea eax, [esp + 0x18]
push eax
push 6
push dword [esi + 0x64]
call edi
xor edi, edi
jmp 0x44d480
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 0x80]
push edi
push str.InternetOpenA_failed:__u.
push str.HttpTask::CreateSession
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add esp, 0x10
test edi, edi
jle 0x44d480
movzx edi, di
or edi, 0x80070000
push dword [esp + 0xc]
call fcn.005bfc6b
add esp, 4
test edi, edi
js 0x44d3b4
mov ecx, esi
call fcn.0044d6b0
mov edi, eax
test edi, edi
jns 0x44d4b9
push dword [esi + 0x64]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esi + 0x60]
push edi
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x44d3be
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [esi + 0x40]
or eax, dword [esi + 0x44]
je 0x44d556
movups xmm1, xmmword [esi + 0x38]
movaps xmm0, xmm1
movd edi, xmm1
psrldq xmm0, 8
movd edx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
psrldq xmm1, 4
movd eax, xmm1
add edx, edi
movd ecx, xmm0
adc ecx, eax
sub edx, 1
sbb ecx, 0
push ecx
push edx
push eax
push edi
lea eax, [esp + 0x28]
push str.Range:_bytes_lld__lld
push eax
call fcn.0044e950
add esp, 0x18
push 0xa0000000
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0x6c]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x18]
push edx
push 0x649d24
push str.HttpTask::SetRange
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add esp, 0x10
cmp dword [esi + 0x58], 0
je 0x44d556
lea eax, [esi + 0x48]
mov ecx, esi
push eax
call fcn.0044e230
push 0
push 0
push 0
push 0
push dword [esi + 0x6c]
mov dword [esi + 0x78], 0x44da70
mov dword [esi + 0x7c], 0
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x44d5d3
mov ecx, esi
call fcn.0044db70
mov ecx, esi
mov dword [esi + 0x78], 0x44db50
mov dword [esi + 0x7c], 0
call fcn.0044daa0
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x18]
lea eax, [ecx - 1]
mov dword [edi + 0x18], eax
cmp ecx, 0x80000001
jne 0x44d5b9
push dword [esi + 0x6c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0x3e5
je 0x44d595
mov ecx, dword [esi + 0x80]
push edi
push str.HttpSendRequestA_failed:__u.
push str.HttpTask::SendRequest
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
add esp, 0x10
test edi, edi
jle 0x44d612
movzx edi, di
or edi, 0x80070000
mov dword [esp + 0x10], edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x18]
mov eax, ecx
or eax, 0x80000000
mov dword [edi + 0x18], eax
test ecx, ecx
js 0x44d63f
mov eax, dword [esp + 0x10]
mov dword [esi + 0x74], eax
jne 0x44d63f
push dword [esi + 0x6c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x44d598