Function at 0x1800745e0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd78
mov rax, qword [0x180173200]
xor rax, rsp
mov qword [rsp + 0xd60], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x34], 0
lea rcx, str.RLM_PROXY_DEBUG
call fcn.1800fc424
mov dword [0x180177950], eax
mov r8d, 4
lea rdx, [0x18015a960]
lea rcx, [rsp + 0xb8]
call fcn.18010392c
mov r8d, 7
lea rdx, [0x18015a968]
mov rcx, qword [rsp + 0xd80]
call fcn.1800fb0f0
test eax, eax
je 0x1800746ba
lea rdx, str.http:__
lea rcx, [rsp + 0xd0]
call fcn.1800faf60
lea rax, [rsp + 0xd7]
mov r8d, reloc.WLDAP32.dll_Ordinal_200
mov rdx, qword [rsp + 0xd80]
mov rcx, rax
call fcn.1800fccf0
lea rcx, [rsp + 0xd0]
call fcn.1800fb030
inc rax
mov r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x590]
call fcn.18010392c
jmp 0x1800746e2
mov rcx, qword [rsp + 0xd80]
call fcn.1800fb030
inc rax
mov r8, rax
mov rdx, qword [rsp + 0xd80]
lea rcx, [rsp + 0x590]
call fcn.18010392c
mov rax, qword [rsp + 0xd88]
mov byte [rax], 0
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x3e8
jae 0x180074708
jmp 0x18007470d
call fcn.1800e9a54
mov rax, qword [rsp + 0x68]
mov byte [rsp + rax + 0x1a0], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_32
xor edx, edx
lea rcx, [rsp + 0x98]
call fcn.18012a620
mov dword [rsp + 0x98], 0x10001
mov dword [rsp + 0x9c], 3
mov dword [rsp + 0x90], 3
xor eax, eax
cmp eax, 1
je 0x180074d10
lea rcx, [rsp + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
test eax, eax
je 0x1800748a2
cmp dword [0x180177950], 0
je 0x180074783
lea rcx, str.GetDefaultProxyConfiguration_worked.
call fcn.180005230
cmp dword [rsp + 0x38], 1
jne 0x1800747a1
cmp dword [0x180177950], 0
je 0x18007479f
lea rcx, str.access:_NO_Proxy_n
call fcn.180005230
jmp 0x1800747d8
cmp dword [rsp + 0x38], 3
jne 0x1800747bf
cmp dword [0x180177950], 0
je 0x1800747bd
lea rcx, str.access:_Named_Proxy_n
call fcn.180005230
jmp 0x1800747d8
cmp dword [0x180177950], 0
je 0x1800747d8
mov edx, dword [rsp + 0x38]
lea rcx, str.access:__d_n
call fcn.180005230
cmp dword [rsp + 0x38], 3
jne 0x1800748a0
cmp qword [rsp + 0x40], 0
je 0x180074834
mov dword [rsp + 0x34], 1
mov r8, qword [rsp + 0x40]
lea rdx, [0x18015a964]
mov rcx, qword [rsp + 0xd88]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x180074829
mov rdx, qword [rsp + 0xd88]
lea rcx, str.Got_proxy_from_registry:__s_n
call fcn.180005230
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rsp + 0x48], 0
je 0x18007487d
mov r8, qword [rsp + 0x48]
lea rdx, [0x18015a9b4]
lea rcx, [rsp + 0x1a0]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x180074872
lea rdx, [rsp + 0x1a0]
lea rcx, [0x18015aa00]
call fcn.180005230
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x34], 0
je 0x18007488b
jmp 0x180074d10
cmp dword [0x180177950], 0
je 0x1800748a0
lea rcx, str.No_proxy_from_GetDefaultProxyConfiguration_n
call fcn.180005230
jmp 0x1800748c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [0x180177950], 0
je 0x1800748c5
mov edx, dword [rsp + 0x30]
lea rcx, str.WinHttpGetDefaultProxyConfiguration_failed:__d_n
call fcn.180005230
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180074a49
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x590]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x180074a24
cmp dword [0x180177950], 0
je 0x180074935
mov edx, dword [rsp + 0x38]
lea rcx, str.GetPRoxyForUrl_worked__proxy_access_type:__d_n
call fcn.180005230
cmp dword [rsp + 0x38], 3
jne 0x1800749ff
cmp qword [rsp + 0x40], 0
je 0x180074991
mov r8, qword [rsp + 0x40]
lea rdx, [0x18015a9dc]
mov rcx, qword [rsp + 0xd88]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x18007497e
mov rdx, qword [rsp + 0xd88]
lea rcx, [0x18015aaa8]
call fcn.180005230
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [rsp + 0x34], 1
cmp qword [rsp + 0x48], 0
je 0x1800749da
mov r8, qword [rsp + 0x48]
lea rdx, [0x18015aa44]
lea rcx, [rsp + 0x1a0]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x1800749cf
lea rdx, [rsp + 0x1a0]
lea rcx, [0x18015aac8]
call fcn.180005230
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x34], 0
je 0x1800749e8
jmp 0x180074d10
cmp dword [0x180177950], 0
je 0x1800749fd
lea rcx, str.No_proxy_from_GetProxyForUrl_n
call fcn.180005230
jmp 0x180074a22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [0x180177950], 0
je 0x180074a22
mov edx, dword [rsp + 0x30]
lea rcx, str.WinHttpGetProxyForUrl_didnt_return_ACCESS_TYPE_NAMED_PROXY__err:__d_n
call fcn.180005230
jmp 0x180074a47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [0x180177950], 0
je 0x180074a47
mov edx, dword [rsp + 0x30]
lea rcx, [0x18015ab48]
call fcn.180005230
jmp 0x180074a6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [0x180177950], 0
je 0x180074a6c
mov edx, dword [rsp + 0x30]
lea rcx, str.WinHttpOpen_failed:__d_n
call fcn.180005230
lea rcx, [rsp + 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x180074ce1
cmp dword [0x180177950], 0
je 0x180074a98
mov edx, dword [rsp + 0x70]
lea rcx, str.GetIEProxyConfigForCurrentUser_worked:_Auto_Detect:__d_n
call fcn.180005230
cmp qword [rsp + 0x80], 0
je 0x180074af7
mov r8, qword [rsp + 0x80]
lea rdx, [0x18015ab64]
mov rcx, qword [rsp + 0xd88]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x180074adc
mov rdx, qword [rsp + 0xd88]
lea rcx, str.Got_proxy_name:__s_n
call fcn.180005230
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [rsp + 0x34], 1
jmp 0x180074c8d
cmp qword [rsp + 0x78], 0
je 0x180074c8d
cmp dword [0x180177950], 0
je 0x180074b1d
mov rdx, qword [rsp + 0x78]
lea rcx, str.Got_auto_config_URL:___S__n
call fcn.180005230
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x98], 2
mov dword [rsp + 0x9c], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0x58], 0
je 0x180074c5f
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x590]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x180074c5f
cmp dword [0x180177950], 0
je 0x180074b95
mov edx, dword [rsp + 0x38]
lea rcx, str.Global_proxy_access_type:__d_n
call fcn.180005230
cmp dword [rsp + 0x38], 3
jne 0x180074c48
cmp qword [rsp + 0x40], 0
je 0x180074bf1
mov r8, qword [rsp + 0x40]
lea rdx, [0x18015abcc]
mov rcx, qword [rsp + 0xd88]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x180074bde
mov rdx, qword [rsp + 0xd88]
lea rcx, str.Got_proxy_from_auto_config:__s_n
call fcn.180005230
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [rsp + 0x34], 1
cmp qword [rsp + 0x48], 0
je 0x180074c3a
mov r8, qword [rsp + 0x48]
lea rdx, [0x18015abec]
lea rcx, [rsp + 0x1a0]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x180074c2f
lea rdx, [rsp + 0x1a0]
lea rcx, [0x18015ac30]
call fcn.180005230
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [rsp + 0x34], 0
je 0x180074c46
jmp 0x180074d10
jmp 0x180074c5d
cmp dword [0x180177950], 0
je 0x180074c5d
lea rcx, str.No_proxy_from_GetProxyForUrl__GetIEProxyConfigForCurrentUser__n
call fcn.180005230
jmp 0x180074c82
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [0x180177950], 0
je 0x180074c82
mov edx, dword [rsp + 0x30]
lea rcx, str.GetProxyForUrl_failed:__d_n
call fcn.180005230
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rsp + 0x88], 0
je 0x180074cdf
mov r8, qword [rsp + 0x88]
lea rdx, [0x18015aca4]
lea rcx, [rsp + 0x1a0]
call fcn.180005290
cmp dword [0x180177950], 0
je 0x180074cd1
lea rdx, [rsp + 0x1a0]
lea rcx, str.Got_proxy_bypass:__s_n
call fcn.180005230
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x180074d09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [0x180177950], 0
je 0x180074d04
mov edx, dword [rsp + 0x30]
lea rcx, str.WinHttpGetIEProxyConfigForCurrentUser_failed:__d_n
call fcn.180005230
jmp 0x180074e06
jmp 0x180074d10
mov rax, qword [rsp + 0xd88]
movsx eax, byte [rax]
test eax, eax
je 0x180074e06
lea rdx, str.direct
mov rcx, qword [rsp + 0xd88]
call fcn.180105d10
test eax, eax
jne 0x180074d4b
mov rax, qword [rsp + 0xd88]
mov byte [rax], 0
jmp 0x180074e06
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x1a0]
test eax, eax
je 0x180074e06
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
jmp 0x180074d8a
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180074de5
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
test eax, eax
je 0x180074de5
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax]
cmp eax, 0x3b
jne 0x180074de3
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xd80]
call fcn.180074e30
test eax, eax
je 0x180074dd6
mov rax, qword [rsp + 0xd88]
mov byte [rax], 0
jmp 0x180074e06
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x60], rax
jmp 0x180074d7d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xd80]
call fcn.180074e30
test eax, eax
je 0x180074e06
mov rax, qword [rsp + 0xd88]
mov byte [rax], 0
mov rcx, qword [rsp + 0xd60]
xor rcx, rsp
call fcn.1800e95d0
add rsp, 0xd78
ret