Function at 0x448270
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9058
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x545100]
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 edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00448190
lea eax, [ebp + 0x10]
mov ecx, edi
push eax
call fcn.0042c050
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [edi + 8]
call fcn.0042c050
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.004466d0
mov dword [ebp - 0x30], eax
lea edx, [esi + 0x34]
mov byte [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x4482ec
mov edx, dword [edx]
push 0xfde9
push eax
lea ecx, [ebp - 0x78]
call fcn.0040ae00
add esp, 8
mov byte [ebp - 4], 3
lea edx, [ebp - 0x78]
cmp dword [ebp - 0x64], 7
push 0xfde9
cmova edx, dword [ebp - 0x78]
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
call fcn.0040ac00
add esp, 0xc
push dword [ebp - 0x30]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00449120
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x44836e
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x448364
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448562
push ecx
push edx
call fcn.004a5ea3
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x78]
call fcn.0040a900
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x4483c3
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4483b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448562
push ecx
push edx
call fcn.004a5ea3
add esp, 8
cmp dword [esi + 0x14], 0xf
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
jbe 0x4483e3
mov esi, dword [esi]
push 5
push str.https
mov ecx, esi
call fcn.00425000
movzx esi, al
lea edx, [ebp - 0x28]
shl esi, 0x17
lea ecx, [ebp - 0x48]
or esi, 0x40
cmp dword [ebp - 0x14], 0xf
push 0xfde9
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
call fcn.0040ae00
add esp, 0x10
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 7
cmova eax, dword [ebp - 0x48]
cmp dword [ebx + 0x14], 7
jbe 0x44842b
mov ebx, dword [ebx]
push esi
push 0
push 0
push 0
push eax
push ebx
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x48]
mov dword [edi + 0x10], eax
call fcn.0040a900
mov eax, dword [edi + 0x10]
test eax, eax
je 0x448567
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push ecx
push 0x2d
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x448589
push 0
push 0xffffffffffffffff
push 0x449090
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
je 0x4485ab
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4484bc
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4484b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4485cd
push ecx
push edx
call fcn.004a5ea3
add esp, 8
mov edi, dword [ebp + 0x14]
or ebx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x44850b
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x44850b
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4f1320]
mov ecx, edi
call esi
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x44850b
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4f1320]
mov ecx, edi
call esi
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x448544
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x448544
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4f1320]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x448544
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4f1320]
mov ecx, edi
call esi
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.004a5e3b
mov esp, ebp
pop ebp
ret 0x18
call fcn.004b26bf
push str.Unable_to_initialize_WinHTTP_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.00499180
push 0x542628
lea eax, [ebp - 0x44]
push eax
call fcn.004a869b
push str.Unable_to_set_WinHTTP_context_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.00499180
push 0x542628
lea eax, [ebp - 0x44]
push eax
call fcn.004a869b
push str.Unable_to_set_WinHTTP_status_callback_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x44]
call fcn.00499180
push 0x542628
lea eax, [ebp - 0x44]
push eax
call fcn.004a869b
call fcn.004b26bf
int3