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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f684d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x53ba20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 2
test eax, eax
je 0x45094f
mov eax, dword [eax]
jmp 0x450951
xor eax, eax
push 0x800000
push 0
push 0
push 0
push eax
push 0x5047ec
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, 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 0x5047b4
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x4509aa
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov eax, dword [ebp + 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4509c8
mov ecx, dword [eax]
test ecx, ecx
je 0x4509c8
push ecx
call edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
jmp 0x4509cf
mov dword [ebp - 0x10], 0
test eax, eax
je 0x4509e3
mov ecx, dword [eax]
test ecx, ecx
je 0x4509e3
push ecx
call edi
mov ebx, eax
mov eax, dword [ebp + 0x10]
jmp 0x4509e5
xor ebx, ebx
test eax, eax
je 0x4509ff
cmp dword [eax + 4], 0
lea edi, [eax + 4]
jne 0x4509fb
push dword [eax]
call fcn.004c2fd0
mov dword [edi], eax
mov ecx, dword [edi]
jmp 0x450a01
xor ecx, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x450a0c
mov eax, dword [eax]
jmp 0x450a0e
xor eax, eax
push 0
push dword [ebp - 0x10]
push ebx
push ecx
push 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x450a3e
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x450a3e
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00450480
jmp 0x450a44
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
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 0x450aa9
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x450aa2
test esi, esi
je 0x450aa2
mov eax, dword [esi]
test eax, eax
je 0x450a7a
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x450a91
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
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 0x450af6
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x450aef
test esi, esi
je 0x450aef
mov eax, dword [esi]
test eax, eax
je 0x450acd
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x450ae4
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
add esp, 8
mov dword [ebp + 0xc], 0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x450b3e
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x450b3e
test esi, esi
je 0x450b3e
mov eax, dword [esi]
test eax, eax
je 0x450b1c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x450b33
push eax
call fcn.004c3453
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004c3279
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