Function at 0x4501c0
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4e7d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x535a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 2
test eax, eax
je 0x4501ff
mov eax, dword [eax]
jmp 0x450201
xor eax, eax
push 0x800000
push 0
push 0
push 0
push eax
push 0x5027dc
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], 3
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 1
push eax
push 0x5027a4
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x45025a
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x26
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov esi, dword [ebp + 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
test esi, esi
je 0x450278
mov eax, dword [esi]
test eax, eax
je 0x450278
push eax
call edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x45027f
mov dword [ebp - 0x10], 0
test esi, esi
je 0x450293
mov eax, dword [esi]
test eax, eax
je 0x450293
push eax
call edi
mov esi, dword [ebp + 0x10]
mov edi, eax
jmp 0x450295
xor edi, edi
test esi, esi
je 0x4502ae
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x4502b0
push dword [esi]
call fcn.004c3200
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x4502b0
xor ecx, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4502bb
mov eax, dword [eax]
jmp 0x4502bd
xor eax, eax
push 0
push dword [ebp - 0x10]
push edi
push ecx
push 0
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x4502ed
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x4502ed
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.0044fd20
jmp 0x4502f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov edi, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, dword [ebp + 8]
or ebx, 0xffffffff
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x450358
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x450351
test esi, esi
je 0x450351
mov eax, dword [esi]
test eax, eax
je 0x450329
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x450340
push eax
call fcn.004c3683
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c34a9
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
mov dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4503a5
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x45039e
test esi, esi
je 0x45039e
mov eax, dword [esi]
test eax, eax
je 0x45037c
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x450393
push eax
call fcn.004c3683
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c34a9
add esp, 8
mov dword [ebp + 0xc], 0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4503ed
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4503ed
test esi, esi
je 0x4503ed
mov eax, dword [esi]
test eax, eax
je 0x4503cb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4503e2
push eax
call fcn.004c3683
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c34a9
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10