Function at 0x48ab20
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591018
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x600f80]
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
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 1
push 0x5e6268
mov dword [ebp - 0xd4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x48ad36
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x64]
push eax
push eax
mov ecx, eax
call fcn.0048ae00
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0
cmovae eax, dword [ebp - 0x64]
push 0x1bb
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
test ebx, ebx
jne 0x48abe9
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor edi, edi
jmp 0x48ad11
push 0x800000
push 0
push 0
push 0
push 0x5e62d0
push 0x5e62d4
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
jne 0x48ac1e
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push edi
call esi
xor edi, edi
jmp 0x48ad11
push 4
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x1000
push eax
push 0x1f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x48ac4e
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push ebx
call esi
push edi
call esi
xor edi, edi
jmp 0x48ad11
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x14
push eax
lea eax, [ebp - 0xd4]
push eax
push 0x4e
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
je 0x48ad0c
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push ebx
call esi
push edi
call esi
mov edx, dword [ebp - 0xd4]
test edx, edx
je 0x48ad0c
lea ecx, [ebp - 0xd0]
call fcn.004912e6
push dword [edx + 8]
mov edx, dword [edx + 4]
call fcn.00491311
add esp, 4
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x24]
call fcn.004913b6
lea eax, [ebp - 0x4c]
mov edx, 0x14
push eax
lea ecx, [ebp - 0x24]
call fcn.00498d5b
mov eax, dword [ebp + 0x20]
add esp, 4
mov esi, dword [eax]
cmp esi, eax
je 0x48acfe
push 0x1d
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00540090
add esp, 0xc
test eax, eax
je 0x48ad05
mov esi, dword [esi]
cmp esi, dword [ebp + 0x20]
jne 0x48ace1
mov edi, 2
jmp 0x48ad11
mov edi, 3
jmp 0x48ad11
mov edi, 1
cmp dword [ebp - 0x50], 8
jb 0x48ad22
push dword [ebp - 0x64]
call fcn.0053e195
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
cmp dword [ebp + 0x1c], 0x10
jb 0x48ad47
push dword [ebp + 8]
call fcn.0053e195
add esp, 4
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x24], 0
cmp ecx, eax
je 0x48ad88
mov esi, dword [ecx]
push ecx
call fcn.0053e195
mov eax, dword [ebp + 0x20]
add esp, 4
mov ecx, esi
cmp esi, eax
jne 0x48ad74
push eax
call fcn.0053e195
add esp, 4
mov eax, edi
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.0053cd12
mov esp, ebp
pop ebp
ret