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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c5988
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7ca00c]
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 0x622bc8
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x622815
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 0x62283a
mov edx, dword [edx]
cmp dword [esi + 0x90], 8
lea eax, [esi + 0x7c]
jb 0x622848
mov eax, dword [eax]
cmp dword [esi + 0xa8], 8
lea ecx, [esi + 0x94]
jb 0x622859
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 0x622b82
mov eax, dword [esi + 0x24]
cmp byte [eax + 0x192], 0
je 0x6228d3
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x1b4], 0
je 0x6228d3
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x18], 0
je 0x6228d3
cmp dword [eax + 0x34], 8
lea ecx, [eax + 0x20]
jb 0x6228a7
mov ecx, dword [ecx]
cmp dword [eax + 0x1c], 8
lea edx, [eax + 8]
jb 0x6228b2
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 0x622aad
mov eax, dword [esi + 0x24]
mov ecx, esi
push dword [ebp - 0x40]
mov al, byte [eax + 0x193]
call fcn.00622100
mov ecx, dword [esi + 0xb0]
test al, al
je 0x622b6f
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x622b4a
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.00621d60
test al, al
jne 0x622931
xor bl, bl
jmp 0x62294f
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00667c54
add esp, 4
mov ecx, esi
push eax
call fcn.00621ab0
mov bl, al
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00428770
test bl, bl
je 0x622b42
cmp dword [esi + 0x38], 0xb
jne 0x622bf6
mov eax, dword [esi + 0x24]
mov ecx, dword [0x7eba0c]
mov byte [eax + 0x192], 1
test ecx, ecx
je 0x62298d
cmp byte [0x7eba08], 0
jne 0x622998
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Response_from_proxy_server_is_:
push ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x6ef350]
call edi
add esp, 8
lea ecx, [esi + 0xb0]
call fcn.00621f50
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 0x6229e7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.00621340
jmp 0x622a39
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x24]
test al, 0x10
je 0x6229fd
mov dword [ecx + 0x1b4], 0x10
jmp 0x622a39
test al, 2
je 0x622a0d
mov dword [ecx + 0x1b4], 2
jmp 0x622a39
test al, 4
je 0x622a1d
mov dword [ecx + 0x1b4], 4
jmp 0x622a39
test al, 8
je 0x622a2d
mov dword [ecx + 0x1b4], 8
jmp 0x622a39
movzx eax, al
and eax, 1
mov dword [ecx + 0x1b4], eax
test bh, bh
jne 0x622bf6
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x1b4], 2
jne 0x622a70
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 0x622afb
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x622a83
cmp byte [0x7eba08], 0
jne 0x622a8e
call fcn.0061b120
mov ecx, dword [0x7eba0c]
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 [0x6ef350]
call edi
add esp, 8
mov bh, 1
jmp 0x6227f0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.00621340
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x622ace
cmp byte [0x7eba08], 0
jne 0x622ad9
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Failed_to_set_the_proxy_credentials
push 0x701e7c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
jmp 0x622bf6
mov edi, dword [0x7eba0c]
test edi, edi
je 0x622b0e
cmp byte [0x7eba08], 0
jne 0x622b19
call fcn.0061b120
mov edi, dword [0x7eba0c]
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 0x701e7c
push edi
call dword [0x6ef350]
call esi
add esp, 0x10
jmp 0x622bf6
mov al, byte [ebp - 0x39]
jmp 0x622bf8
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x622b5d
cmp byte [0x7eba08], 0
jne 0x622b68
call fcn.0061b120
mov ecx, dword [0x7eba0c]
push str.initHttpDownload:_failed_to_receive_the_response_from_server
jmp 0x622ba5
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0xb0], 0
jmp 0x622bf6
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x622b95
cmp byte [0x7eba08], 0
jne 0x622ba0
call fcn.0061b120
mov ecx, dword [0x7eba0c]
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 [0x6ef350]
call edi
add esp, 8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, esi
call fcn.00621340
jmp 0x622bf6
sub esp, 0x18
xor eax, eax
mov ecx, esp
push eax
push 0x701e7c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00428800
push 0
push 0x13
mov ecx, esi
call fcn.00621200
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.0063de71
mov esp, ebp
pop ebp
ret 8