Function at 0x44d780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x675f64]
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 0x44d7b0
mov dword [edi + 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esi + 0x5c], 0x10
lea edi, [esi + 0x48]
jb 0x44d7c3
mov edi, dword [esi + 0x48]
cmp dword [esi + 0x34], 8
lea edx, [esi + 0x20]
jb 0x44d7ce
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 0x64b040
push str.HttpTask::Start
push ecx
call dword [eax + 8]
add esp, 0x24
mov dword [esp + 0x10], 0x100
push 0x100
call fcn.005c075e
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x44d852
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
call dword [0x67d568]
mov edi, eax
test edi, edi
jns 0x44d8b3
push dword [esp + 0xc]
call fcn.005c014a
add esp, 4
cmp edi, 0x8007000e
jne 0x44d89a
push dword [esp + 0x10]
call fcn.005c075e
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x44d812
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.0058ac9d
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 0x44d871
push 0x10000000
push 0
push 0
push 0
push dword [esp + 0x1c]
call dword [0x67d470]
mov dword [esi + 0x64], eax
test eax, eax
je 0x44d911
mov edi, dword [0x67d444]
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 0x44d940
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 0x44d940
movzx edi, di
or edi, 0x80070000
push dword [esp + 0xc]
call fcn.005c014a
add esp, 4
test edi, edi
js 0x44d874
mov ecx, esi
call fcn.0044db70
mov edi, eax
test edi, edi
jns 0x44d979
push dword [esi + 0x64]
call dword [0x67d468]
mov ecx, dword [esi + 0x60]
push edi
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x44d87e
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [esi + 0x40]
or eax, dword [esi + 0x44]
je 0x44da16
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.0044ee10
add esp, 0x18
push 0xa0000000
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0x6c]
call dword [0x67d440]
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x18]
push edx
push 0x64b784
push str.HttpTask::SetRange
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add esp, 0x10
cmp dword [esi + 0x58], 0
je 0x44da16
lea eax, [esi + 0x48]
mov ecx, esi
push eax
call fcn.0044e6f0
push 0
push 0
push 0
push 0
push dword [esi + 0x6c]
mov dword [esi + 0x78], 0x44df30
mov dword [esi + 0x7c], 0
call dword [0x67d438]
test eax, eax
je 0x44da93
mov ecx, esi
call fcn.0044e030
mov ecx, esi
mov dword [esi + 0x78], 0x44e010
mov dword [esi + 0x7c], 0
call fcn.0044df60
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 0x44da79
push dword [esi + 0x6c]
call dword [0x67d468]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.0058ac9d
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 0x44da55
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 0x44dad2
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 0x44daff
mov eax, dword [esp + 0x10]
mov dword [esi + 0x74], eax
jne 0x44daff
push dword [esi + 0x6c]
call dword [0x67d468]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x44da58