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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd588
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7e500c]
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 esi, ecx
mov eax, dword [ebp + 8]
xor bh, bh
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x39], 1
nop dword [eax]
cmp byte [esi + 0x20], 0
je 0x619048
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x618c95
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0xb0], 0
mov eax, dword [esi + 0x24]
mov edi, 0x800100
mov ecx, 0x100
lea edx, [eax + 0x170]
cmp dword [eax + 0x18c], 1
cmovne edi, ecx
cmp dword [edx + 0x14], 8
jb 0x618cba
mov edx, dword [edx]
cmp dword [esi + 0x90], 8
lea eax, [esi + 0x7c]
jb 0x618cc8
mov eax, dword [eax]
cmp dword [esi + 0xa8], 8
lea ecx, [esi + 0x94]
jb 0x618cd9
mov ecx, dword [ecx]
push edi
push 0
push edx
push 0
push eax
push ecx
push dword [esi + 0xac]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0xb0], eax
test eax, eax
je 0x619002
mov eax, dword [esi + 0x24]
cmp byte [eax + 0x192], 0
je 0x618d53
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x1b4], 0
je 0x618d53
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x18], 0
je 0x618d53
cmp dword [eax + 0x34], 8
lea ecx, [eax + 0x20]
jb 0x618d27
mov ecx, dword [ecx]
cmp dword [eax + 0x1c], 8
lea edx, [eax + 8]
jb 0x618d32
mov edx, dword [edx]
mov eax, dword [eax + 0x1b4]
push 0
push ecx
push edx
push eax
push 1
push dword [esi + 0xb0]
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x618f2d
mov eax, dword [esi + 0x24]
mov ecx, esi
push dword [ebp - 0x40]
mov al, byte [eax + 0x193]
call fcn.00618580
mov ecx, dword [esi + 0xb0]
test al, al
je 0x618fef
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x618fca
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
push 0x13
call fcn.006181e0
test al, al
jne 0x618db1
xor bl, bl
jmp 0x618dcf
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00680a84
add esp, 4
mov ecx, esi
push eax
call fcn.00617f30
mov bl, al
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00427170
test bl, bl
je 0x618fc2
cmp dword [esi + 0x38], 0xb
jne 0x619076
mov eax, dword [esi + 0x24]
mov ecx, dword [0x8076bc]
mov byte [eax + 0x192], 1
test ecx, ecx
je 0x618e0d
cmp byte [0x8076b8], 0
jne 0x618e18
call fcn.006115c0
mov ecx, dword [0x8076bc]
mov eax, dword [ecx]
push str.Response_from_proxy_server_is_:
push ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x707770]
call edi
add esp, 8
lea ecx, [esi + 0xb0]
call fcn.006183d0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xb0]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryAuthSchemes]
test eax, eax
jne 0x618e67
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.006177c0
jmp 0x618eb9
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x24]
test al, 0x10
je 0x618e7d
mov dword [ecx + 0x1b4], 0x10
jmp 0x618eb9
test al, 2
je 0x618e8d
mov dword [ecx + 0x1b4], 2
jmp 0x618eb9
test al, 4
je 0x618e9d
mov dword [ecx + 0x1b4], 4
jmp 0x618eb9
test al, 8
je 0x618ead
mov dword [ecx + 0x1b4], 8
jmp 0x618eb9
movzx eax, al
and eax, 1
mov dword [ecx + 0x1b4], eax
test bh, bh
jne 0x619076
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x1b4], 2
jne 0x618ef0
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 0x4d
push dword [esi + 0xb0]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x618f7b
mov ecx, dword [0x8076bc]
test ecx, ecx
je 0x618f03
cmp byte [0x8076b8], 0
jne 0x618f0e
call fcn.006115c0
mov ecx, dword [0x8076bc]
mov eax, dword [ecx]
push str.Trying_to_authenticate_Proxy_using_latest_set_preferences____username___and_password__
push ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x707770]
call edi
add esp, 8
mov bh, 1
jmp 0x618c70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.006177c0
mov ecx, dword [0x8076bc]
test ecx, ecx
je 0x618f4e
cmp byte [0x8076b8], 0
jne 0x618f59
call fcn.006115c0
mov ecx, dword [0x8076bc]
mov eax, dword [ecx]
push str.Failed_to_set_the_proxy_credentials
push 0x71a27c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0xc
jmp 0x619076
mov edi, dword [0x8076bc]
test edi, edi
je 0x618f8e
cmp byte [0x8076b8], 0
jne 0x618f99
call fcn.006115c0
mov edi, dword [0x8076bc]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi + 0x24]
mov ecx, esi
push eax
push str.Failed_to_set_the_autologon_security_option_in_the_winhttp_session____d
push 0x71a27c
push edi
call dword [0x707770]
call esi
add esp, 0x10
jmp 0x619076
mov al, byte [ebp - 0x39]
jmp 0x619078
mov ecx, dword [0x8076bc]
test ecx, ecx
je 0x618fdd
cmp byte [0x8076b8], 0
jne 0x618fe8
call fcn.006115c0
mov ecx, dword [0x8076bc]
push str.initHttpDownload:_failed_to_receive_the_response_from_server
jmp 0x619025
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0xb0], 0
jmp 0x619076
mov ecx, dword [0x8076bc]
test ecx, ecx
je 0x619015
cmp byte [0x8076b8], 0
jne 0x619020
call fcn.006115c0
mov ecx, dword [0x8076bc]
push str.createRequest_:_failed_to_open_the_request_handle
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x707770]
call edi
add esp, 8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.006177c0
jmp 0x619076
sub esp, 0x18
xor eax, eax
mov ecx, esp
push eax
push 0x71a27c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.004271d0
push 0
push 0x13
mov ecx, esi
call fcn.00617680
xor al, al
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.00650ddc
mov esp, ebp
pop ebp
ret 8