Function at 0x1005ce9a
Capabilities:
Initialize winhttp library

Disassembly:
push 0xf0
mov eax, 0x1011ee12
call fcn.101108dc
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x94]
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x7c]
mov dword [ebp - 0xfc], edx
stosd dword es:[edi], eax
mov ecx, edx
push ebx
mov byte [ebp - 0xa5], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1003a3c0
cmp dword [esi + 0x10], ebx
je 0x1005d9df
xor eax, eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], ebx
push eax
push esi
call fcn.1003a3c0
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.winhttp.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1005d881
push ebx
push ebx
push ebx
push 1
push 0x101506f8
call dword [sym.imp.winhttp.dll_WinHttpOpen]
mov dword [ebp - 0xf8], eax
test eax, eax
je 0x1005d747
cmp dword [ebp - 0xa4], 0
mov edi, 0x101e2a68
mov ebx, 0x1014a0f1
je 0x1005d1aa
push edi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x40]
call fcn.1001524d
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x1005d050
push ebx
lea ecx, [ebp - 0x40]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.1003a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
add esp, 0xc
mov ecx, dword [eax]
push str.GetIEProxyInfo
push str._s_found_auto_proxy_detection_configuration
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x1014488c]
call esi
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001524d
push edi
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
xor eax, eax
mov dword [ebp - 0x90], 3
inc eax
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x5c], 8
push ecx
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
push dword [ebp - 0xf8]
call dword [sym.imp.winhttp.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x1005d9b3
push edi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 8
call fcn.1003a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x1005d1a3
push ebx
lea ecx, [ebp - 0x40]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call fcn.1003a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.GetIEProxyInfo
push str._s_:_Failed_to_get_proxy_for_url__error__lu
push ebx
push esi
call dword [0x1014488c]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0xc0]
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001524d
mov edi, 0x101e2a68
push edi
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
cmp dword [ebp - 0xa0], 0
je 0x1005d42d
push 6
xor eax, eax
lea edi, [ebp - 0x94]
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x101e2a68
push edi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.1003a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x1005d2cc
push ebx
lea ecx, [ebp - 0x40]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.1003a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
add esp, 0xc
mov ecx, dword [eax]
push str.GetIEProxyInfo
push str._s_found_pac_proxy_configuration
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x1014488c]
call esi
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001524d
push edi
call sub.MSVCP140.dll__Mtx_unlock
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x5c], 8
pop ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x70]
mov dword [ebp - 0x80], 1
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
push dword [ebp - 0xf8]
call dword [sym.imp.winhttp.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x1005d9b3
push edi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x14
call fcn.1003a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x1005d426
push ebx
lea ecx, [ebp - 0x40]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x17
call fcn.1003a3c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.GetIEProxyInfo
push str._s_:_Failed_to_get_proxy_for_url__error__lu
push ebx
push esi
call dword [0x1014488c]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0xc0]
call fcn.1001524d
lea ecx, [ebp - 0x28]
call fcn.1001524d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.1001524d
mov edi, 0x101e2a68
push edi
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
cmp dword [ebp - 0x9c], 0
je 0x1005d729
push 6
xor eax, eax
lea edi, [ebp - 0x94]
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x101e2a68
push edi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0xdc]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x19
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x1a
call fcn.1003a3c0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x1005d573
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x1c
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x1d
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100e1c13
add esp, 0xc
mov ecx, dword [eax]
push str.GetIEProxyInfo
push str._s_found_direct_proxy_configuration
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x1014488c]
call esi
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1001524d
push edi
call sub.MSVCP140.dll__Mtx_unlock
and dword [ebp - 0x18], 0
xor eax, eax
pop ecx
push 7
pop ebx
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x28], ax
xor esi, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov word [ebp - 0x58], ax
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x20
call fcn.1003a3c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.1003a3c0
pop ecx
pop ecx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x20
call fcn.10015273
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
lea ecx, [ebp - 0xdc]
push 0x101507dc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1003a3c0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100e99a2
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x24
call fcn.10015273
mov edi, dword [ebp - 0x34]
jmp 0x1005d62e
push 0
push dword [ebp - 0xc4]
mov ecx, edi
call fcn.1003a3c0
cmp eax, 0xffffffff
jne 0x1005d635
add edi, 0x18
cmp edi, dword [ebp - 0x30]
jne 0x1005d617
jmp 0x1005d677
push edi
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xa6]
call fcn.1005cb24
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x1005d668
mov byte [ebp - 0xc4], 0
push dword [ebp - 0xc4]
push eax
call fcn.1003a3c0
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0xf4]
call fcn.10015273
test esi, esi
jne 0x1005d6bb
push dword [ebp - 0x34]
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xa6]
call fcn.1005cb24
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x1005d6ac
mov byte [ebp - 0xc4], 0
push dword [ebp - 0xc4]
push eax
call fcn.1003a3c0
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0xf4]
call fcn.10015273
test esi, esi
je 0x1005d6e0
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x1005d6d9
cmp ebx, 8
push esi
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1003a3c0
mov ebx, dword [ebp - 0x44]
mov byte [ebp - 0xa5], 1
lea ecx, [ebp - 0x34]
call fcn.10035897
cmp ebx, 8
jb 0x1005d6ff
lea eax, [ebx*2 + 2]
push eax
push dword [ebp - 0x58]
call fcn.1003a3c0
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1005d719
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.1003a3c0
pop ecx
pop ecx
mov bl, byte [ebp - 0xa5]
test bl, bl
jne 0x1005d9b9
jmp 0x1005d72f
mov bl, byte [ebp - 0xa5]
push 6
xor eax, eax
lea edi, [ebp - 0x94]
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x1005d9b9
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
mov ebx, 0x1014a0f1
lea ecx, [ebp - 0xc0]
push ebx
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x25
call fcn.1003a3c0
mov edi, str.HttpRequestWin
mov byte [ebp - 4], 0x26
push edi
lea ecx, [ebp - 0xdc]
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x1005d877
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x28
call fcn.1003a3c0
push edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x29
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100e1c13
mov esi, eax
add esp, 0xc
mov edi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [edi + 0x24]
push eax
push str.GetIEProxyInfo
push str._s_:_Failed_in_http_open_request__error__lu
push ebx
push esi
call dword [0x1014488c]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0xdc]
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1001524d
mov edi, 0x101e2a68
jmp 0x1005d9ac
mov edi, 0x101e2a68
push edi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
mov ebx, 0x1014a0f1
lea ecx, [ebp - 0xc0]
push ebx
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x2b
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x2c
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x1005d9ac
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x2e
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x2f
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x30
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100e1c13
add esp, 0xc
mov esi, dword [eax]
push str.GetIEProxyInfo
push str._s_:_Failed_to_IE_proxy_config_for_current_user
push ebx
mov ecx, dword [esi + 0x24]
push eax
call dword [0x1014488c]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0xdc]
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.1001524d
push edi
call sub.MSVCP140.dll__Mtx_unlock
pop ecx
mov bl, byte [ebp - 0xa5]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x1005db1d
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x70]
call fcn.1003a3c0
pop ecx
jmp 0x1005db1c
mov edi, 0x101e2a68
push edi
call sub.MSVCP140.dll__Mtx_lock
push eax
call fcn.1003a3c0
pop ecx
pop ecx
mov ebx, 0x1014a0f1
lea ecx, [ebp - 0xc0]
push ebx
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0x31
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x32
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x33
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.1001524d
test esi, esi
je 0x1005db10
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1003a3c0
push ebx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0x34
call fcn.1003a3c0
push str.HttpRequestWin
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x35
call fcn.1003a3c0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x36
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100e1c13
add esp, 0xc
mov esi, dword [eax]
push str.GetIEProxyInfo
push str._s_:_Empty_target_URL
push ebx
mov ecx, dword [esi + 0x24]
push eax
call dword [0x1014488c]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0xdc]
call fcn.1001524d
lea ecx, [ebp - 0xf4]
call fcn.1001524d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.1001524d
push edi
call sub.MSVCP140.dll__Mtx_unlock
mov bl, byte [ebp - 0xa5]
pop ecx
cmp dword [ebp - 0x78], 0
je 0x1005db57
mov esi, dword [ebp - 0xfc]
cmp dword [esi + 0x10], 0
jne 0x1005db57
push dword [ebp - 0x78]
lea ecx, [ebp - 0x28]
call fcn.1003a3c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x37
push esi
push eax
call fcn.1003a3c0
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.10015273
mov bl, 1
mov al, bl
call fcn.10110886
ret