Function at 0x548c00
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55073b
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x59de30]
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 edi, ecx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test ebx, ebx
jne 0x548c5a
push 0x18
push str.Input_preference_is_null
lea ecx, [esi + 8]
mov dword [esi], 0xfffffff6
mov byte [esi + 0x20], 1
call fcn.00403d70
xor al, al
jmp 0x548ea5
push 0
push 0
lea ecx, [ebp - 0xf8]
mov dword [edi + 4], ebx
call fcn.00545560
cmp dword [ebx + 0x12c], 8
lea eax, [ebx + 0x118]
mov dword [ebp - 4], 0
jb 0x548c84
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi], eax
test eax, eax
jne 0x548ce1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], 0xffffffd8
call ebx
push 0x1b
push str.Failed_to_open_http_session
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov byte [esi + 0x20], 1
call fcn.00403d70
call fcn.00536cd0
mov esi, eax
mov edi, dword [esi]
call ebx
push eax
push str.failed_to_open_the_winhttp_session____d
push 0x557600
push esi
call dword [edi + 0x24]
add esp, 0x10
xor bl, bl
jmp 0x548e91
mov ecx, dword [edi + 4]
movzx eax, byte [ecx + 0x154]
push eax
lea eax, [ecx + 0xd0]
push eax
push edi
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xf8]
call fcn.005473d0
test al, al
jne 0x548d75
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xf8]
mov dword [esi], 0xffffffd8
call fcn.00546830
cmp dword [ebp - 0x1c], 8
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jb 0x548d36
push dword [ebp - 0x30]
call fcn.004daf24
add esp, 4
push 0x28
xor eax, eax
push str.Failed_to_resolve_machine_proxy_settings
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [esi + 0x20], 1
call fcn.00403d70
call fcn.00536cd0
mov ecx, dword [eax]
push str.failed_to_resolve_the_proxy_setting_on_the_machine
push 0x557600
push eax
call dword [ecx + 0x24]
add esp, 0xc
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 0xc
lea eax, [ebp - 0x108]
push eax
push 0x26
push dword [edi]
call ebx
test eax, eax
jne 0x548dcf
mov dword [esi], 0xffffffd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2b
push str.Failed_to_set_proxy_setting_in_http_session
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov byte [esi + 0x20], 1
call fcn.00403d70
call fcn.00536cd0
mov ecx, dword [eax]
push str.failed_to_set_the_proxy_option_in_the_winhttp_session
push 0x557600
push eax
call dword [ecx + 0x24]
add esp, 0xc
xor bl, bl
jmp 0x548e91
push 0x4e20
push 0xafc8
push 0xafc8
push 0
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x548e2f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], 0xffffffd8
call ebx
push str.Failed_to_set_timeout_http_session
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov byte [esi + 0x20], 1
call fcn.00403a80
call fcn.00536cd0
mov esi, eax
mov edi, dword [esi]
call ebx
push eax
push str.failed_to_set_the_timeout_for_http_session._Err____d
push 0x557600
push esi
call dword [edi + 0x24]
add esp, 0x10
xor bl, bl
jmp 0x548e91
push 4
lea eax, [ebp - 0xfc]
push eax
push 0x58
push dword [edi]
mov dword [ebp - 0xfc], 2
call ebx
test eax, eax
jne 0x548e8f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], 0xffffffd8
call ebx
push str.Failed_to_set_redirection_policy
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov byte [esi + 0x20], 1
call fcn.00403a80
call fcn.00536cd0
mov esi, eax
mov edi, dword [esi]
call ebx
push eax
push str.failed_to_set_the_redirection_policy_for_http_session._Err____d
push 0x557600
push esi
call dword [edi + 0x24]
add esp, 0x10
xor bl, bl
jmp 0x548e91
mov bl, 1
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
call fcn.00545650
mov al, bl
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.004da4c1
mov esp, ebp
pop ebp
ret 8