Function at 0x44b870
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcf0
mov eax, dword [0x4efa64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xcbc], 0
mov dword [ebp - 0xcb4], 0
push str.RLM_PROXY_DEBUG
call fcn.00482fd0
add esp, 4
mov dword [0x4f2ff8], eax
push 4
push 0x4e7600
lea eax, [ebp - 0x18]
push eax
call fcn.0048e960
add esp, 0xc
push 7
push 0x4e7604
mov ecx, dword [ebp + 8]
push ecx
call fcn.00482380
add esp, 0xc
test eax, eax
je 0x44b92a
push str.http:__
lea edx, [ebp - 0xe8]
push edx
call fcn.004789e0
add esp, 8
push 0xc8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xe1]
push ecx
call fcn.00483980
add esp, 0xc
lea edx, [ebp - 0xe8]
push edx
call fcn.004822f0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xca0]
push ecx
call fcn.0048e960
add esp, 0xc
jmp 0x44b94d
mov edx, dword [ebp + 8]
push edx
call fcn.004822f0
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xca0]
push ecx
call fcn.0048e960
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
mov eax, 1
imul ecx, eax, 0
mov dword [ebp - 0xcc4], ecx
cmp dword [ebp - 0xcc4], 0x3e8
jae 0x44b96f
jmp 0x44b974
call fcn.00464b1b
mov edx, dword [ebp - 0xcc4]
mov byte [ebp + edx - 0x4d0], 0
push 0x18
push 0
lea eax, [ebp - 0xcec]
push eax
call fcn.00465af0
add esp, 0xc
mov dword [ebp - 0xcec], 0x10001
mov dword [ebp - 0xce8], 3
mov dword [ebp - 0xcf0], 3
mov ecx, 1
test ecx, ecx
je 0x44bfc9
lea edx, [ebp - 0xcb0]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
test eax, eax
je 0x44bb1f
cmp dword [0x4f2ff8], 0
je 0x44b9eb
push str.GetDefaultProxyConfiguration_worked.
call fcn.00404040
add esp, 4
cmp dword [ebp - 0xcb0], 1
jne 0x44ba0c
cmp dword [0x4f2ff8], 0
je 0x44ba0a
push str.access:_NO_Proxy_n
call fcn.00404040
add esp, 4
jmp 0x44ba4a
cmp dword [ebp - 0xcb0], 3
jne 0x44ba2d
cmp dword [0x4f2ff8], 0
je 0x44ba2b
push str.access:_Named_Proxy_n
call fcn.00404040
add esp, 4
jmp 0x44ba4a
cmp dword [0x4f2ff8], 0
je 0x44ba4a
mov eax, dword [ebp - 0xcb0]
push eax
push str.access:__d_n
call fcn.00404040
add esp, 8
cmp dword [ebp - 0xcb0], 3
jne 0x44bb1d
cmp dword [ebp - 0xcac], 0
je 0x44baa9
mov dword [ebp - 0xcb4], 1
mov ecx, dword [ebp - 0xcac]
push ecx
push 0x4e7674
mov edx, dword [ebp + 0xc]
push edx
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44ba9c
mov eax, dword [ebp + 0xc]
push eax
push str.Got_proxy_from_registry:__s_n
call fcn.00404040
add esp, 8
mov ecx, dword [ebp - 0xcac]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0xca8], 0
je 0x44baf7
mov edx, dword [ebp - 0xca8]
push edx
push 0x4e7698
lea eax, [ebp - 0x4d0]
push eax
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44baea
lea ecx, [ebp - 0x4d0]
push ecx
push 0x4e769c
call fcn.00404040
add esp, 8
mov edx, dword [ebp - 0xca8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0xcb4], 0
je 0x44bb07
jmp 0x44bfc9
cmp dword [0x4f2ff8], 0
je 0x44bb1d
push str.No_proxy_from_GetDefaultProxyConfiguration_n
call fcn.00404040
add esp, 4
jmp 0x44bb48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xca4], eax
cmp dword [0x4f2ff8], 0
je 0x44bb48
mov eax, dword [ebp - 0xca4]
push eax
push str.WinHttpGetDefaultProxyConfiguration_failed:__d_n
call fcn.00404040
add esp, 8
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0xcbc], eax
cmp dword [ebp - 0xcbc], 0
je 0x44bcdf
lea edx, [ebp - 0xcb0]
push edx
lea eax, [ebp - 0xcec]
push eax
lea ecx, [ebp - 0xca0]
push ecx
mov edx, dword [ebp - 0xcbc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x44bcb4
cmp dword [0x4f2ff8], 0
je 0x44bbb4
mov eax, dword [ebp - 0xcb0]
push eax
push str.GetPRoxyForUrl_worked__proxy_access_type:__d_n
call fcn.00404040
add esp, 8
cmp dword [ebp - 0xcb0], 3
jne 0x44bc89
cmp dword [ebp - 0xcac], 0
je 0x44bc13
mov ecx, dword [ebp - 0xcac]
push ecx
push 0x4e7740
mov edx, dword [ebp + 0xc]
push edx
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44bbfc
mov eax, dword [ebp + 0xc]
push eax
push 0x4e7744
call fcn.00404040
add esp, 8
mov ecx, dword [ebp - 0xcac]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0xcb4], 1
cmp dword [ebp - 0xca8], 0
je 0x44bc61
mov edx, dword [ebp - 0xca8]
push edx
push 0x4e7764
lea eax, [ebp - 0x4d0]
push eax
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44bc54
lea ecx, [ebp - 0x4d0]
push ecx
push 0x4e7768
call fcn.00404040
add esp, 8
mov edx, dword [ebp - 0xca8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0xcb4], 0
je 0x44bc71
jmp 0x44bfc9
cmp dword [0x4f2ff8], 0
je 0x44bc87
push str.No_proxy_from_GetProxyForUrl_n
call fcn.00404040
add esp, 4
jmp 0x44bcb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xca4], eax
cmp dword [0x4f2ff8], 0
je 0x44bcb2
mov eax, dword [ebp - 0xca4]
push eax
push str.WinHttpGetProxyForUrl_didnt_return_ACCESS_TYPE_NAMED_PROXY__err:__d_n
call fcn.00404040
add esp, 8
jmp 0x44bcdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xca4], eax
cmp dword [0x4f2ff8], 0
je 0x44bcdd
mov ecx, dword [ebp - 0xca4]
push ecx
push 0x4e77e8
call fcn.00404040
add esp, 8
jmp 0x44bd08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xca4], eax
cmp dword [0x4f2ff8], 0
je 0x44bd08
mov edx, dword [ebp - 0xca4]
push edx
push str.WinHttpOpen_failed:__d_n
call fcn.00404040
add esp, 8
lea eax, [ebp - 0xcd4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x44bf94
cmp dword [0x4f2ff8], 0
je 0x44bd3a
mov ecx, dword [ebp - 0xcd4]
push ecx
push str.GetIEProxyConfigForCurrentUser_worked:_Auto_Detect:__d_n
call fcn.00404040
add esp, 8
cmp dword [ebp - 0xccc], 0
je 0x44bd91
mov edx, dword [ebp - 0xccc]
push edx
push 0x4e7854
mov eax, dword [ebp + 0xc]
push eax
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44bd75
mov ecx, dword [ebp + 0xc]
push ecx
push str.Got_proxy_name:__s_n
call fcn.00404040
add esp, 8
mov edx, dword [ebp - 0xccc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0xcb4], 1
jmp 0x44bf44
cmp dword [ebp - 0xcd0], 0
je 0x44bf44
cmp dword [0x4f2ff8], 0
je 0x44bdbb
mov eax, dword [ebp - 0xcd0]
push eax
push str.Got_auto_config_URL:___S__n
call fcn.00404040
add esp, 8
mov dword [ebp - 0xcb4], 1
mov dword [ebp - 0xcec], 2
mov dword [ebp - 0xce8], 0
mov ecx, dword [ebp - 0xcd0]
mov dword [ebp - 0xce4], ecx
cmp dword [ebp - 0xcbc], 0
je 0x44bf0e
lea edx, [ebp - 0xcb0]
push edx
lea eax, [ebp - 0xcec]
push eax
lea ecx, [ebp - 0xca0]
push ecx
mov edx, dword [ebp - 0xcbc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x44bf0e
cmp dword [0x4f2ff8], 0
je 0x44be39
mov eax, dword [ebp - 0xcb0]
push eax
push str.Global_proxy_access_type:__d_n
call fcn.00404040
add esp, 8
cmp dword [ebp - 0xcb0], 3
jne 0x44bef6
cmp dword [ebp - 0xcac], 0
je 0x44be98
mov ecx, dword [ebp - 0xcac]
push ecx
push 0x4e78a8
mov edx, dword [ebp + 0xc]
push edx
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44be81
mov eax, dword [ebp + 0xc]
push eax
push str.Got_proxy_from_auto_config:__s_n
call fcn.00404040
add esp, 8
mov ecx, dword [ebp - 0xcac]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0xcb4], 1
cmp dword [ebp - 0xca8], 0
je 0x44bee6
mov edx, dword [ebp - 0xca8]
push edx
push 0x4e78cc
lea eax, [ebp - 0x4d0]
push eax
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44bed9
lea ecx, [ebp - 0x4d0]
push ecx
push 0x4e78d0
call fcn.00404040
add esp, 8
mov edx, dword [ebp - 0xca8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0xcb4], 0
je 0x44bef4
jmp 0x44bfc9
jmp 0x44bf0c
cmp dword [0x4f2ff8], 0
je 0x44bf0c
push str.No_proxy_from_GetProxyForUrl__GetIEProxyConfigForCurrentUser__n
call fcn.00404040
add esp, 4
jmp 0x44bf37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xca4], eax
cmp dword [0x4f2ff8], 0
je 0x44bf37
mov eax, dword [ebp - 0xca4]
push eax
push str.GetProxyForUrl_failed:__d_n
call fcn.00404040
add esp, 8
mov ecx, dword [ebp - 0xcd0]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0xcc8], 0
je 0x44bf92
mov edx, dword [ebp - 0xcc8]
push edx
push 0x4e7944
lea eax, [ebp - 0x4d0]
push eax
call fcn.00404080
add esp, 0xc
cmp dword [0x4f2ff8], 0
je 0x44bf85
lea ecx, [ebp - 0x4d0]
push ecx
push str.Got_proxy_bypass:__s_n
call fcn.00404040
add esp, 8
mov edx, dword [ebp - 0xcc8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x44bfc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xca4], eax
cmp dword [0x4f2ff8], 0
je 0x44bfbd
mov eax, dword [ebp - 0xca4]
push eax
push str.WinHttpGetIEProxyConfigForCurrentUser_failed:__d_n
call fcn.00404040
add esp, 8
jmp 0x44c0b2
jmp 0x44bfc9
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x44c0b2
push str.direct
mov eax, dword [ebp + 0xc]
push eax
call fcn.004916c0
add esp, 8
test eax, eax
jne 0x44bff7
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
jmp 0x44c0b2
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x4d0]
test ecx, ecx
je 0x44c0b2
lea edx, [ebp - 0x4d0]
mov dword [ebp - 0xcc0], edx
mov eax, dword [ebp - 0xcc0]
mov dword [ebp - 0xcb8], eax
jmp 0x44c038
mov ecx, dword [ebp - 0xcb8]
add ecx, 1
mov dword [ebp - 0xcb8], ecx
cmp dword [ebp - 0xcb8], 0
je 0x44c095
mov edx, dword [ebp - 0xcb8]
movsx eax, byte [edx]
test eax, eax
je 0x44c095
mov ecx, dword [ebp - 0xcb8]
movsx edx, byte [ecx]
cmp edx, 0x3b
jne 0x44c093
mov eax, dword [ebp - 0xcb8]
mov byte [eax], 0
mov ecx, dword [ebp - 0xcc0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0044c0c0
add esp, 8
test eax, eax
je 0x44c084
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x44c0b2
mov ecx, dword [ebp - 0xcb8]
add ecx, 1
mov dword [ebp - 0xcc0], ecx
jmp 0x44c029
mov edx, dword [ebp - 0xcc0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044c0c0
add esp, 8
test eax, eax
je 0x44c0b2
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464bf6
mov esp, ebp
pop ebp
ret