Function at 0x10043ea8
Capabilities:
Initialize winhttp library

Disassembly:
push 0xf0
mov eax, 0x100d2d79
call fcn.100c745c
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.1002717d
cmp dword [esi + 0x10], ebx
je 0x100448e5
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.1002717d
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.winhttp.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x100447a7
push ebx
push ebx
push ebx
push 1
push 0x100efc68
call dword [sym.imp.winhttp.dll_WinHttpOpen]
mov dword [ebp - 0xf8], eax
mov ebx, 0x100eadb0
test eax, eax
je 0x100446ae
cmp dword [ebp - 0xa4], 0
mov edi, str.HttpRequestWin
je 0x10044175
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1002717d
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x40]
call fcn.100090b6
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.100090b6
test esi, esi
je 0x10044044
push ebx
lea ecx, [ebp - 0x40]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1002717d
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call esi
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.100090b6
lea ecx, [ebp - 0x28]
call fcn.100090b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.100090b6
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 0x100448b8
push ebx
lea ecx, [ebp - 0x40]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.1002717d
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 8
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x28]
call fcn.100090b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.100090b6
test esi, esi
je 0x10044175
push ebx
lea ecx, [ebp - 0x40]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.1002717d
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0xc0]
call fcn.100090b6
lea ecx, [ebp - 0x28]
call fcn.100090b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.100090b6
cmp dword [ebp - 0xa0], 0
je 0x100443b5
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
lea ecx, [ebp - 0x40]
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.1002717d
mov edi, str.HttpRequestWin
mov byte [ebp - 4], 0xe
push edi
lea ecx, [ebp - 0xc0]
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x28]
call fcn.100090b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.100090b6
test esi, esi
je 0x1004427d
push ebx
lea ecx, [ebp - 0x40]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.1002717d
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call esi
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.100090b6
lea ecx, [ebp - 0x28]
call fcn.100090b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.100090b6
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x5c], 8
push ecx
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x94]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x94], 2
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
push dword [ebp - 0xf8]
mov dword [ebp - 0x80], 1
call dword [sym.imp.winhttp.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x100448b8
push ebx
lea ecx, [ebp - 0x40]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.1002717d
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x14
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0x28]
call fcn.100090b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.100090b6
test esi, esi
je 0x100443b5
push ebx
lea ecx, [ebp - 0x40]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
call fcn.1002717d
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x17
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0xc0]
call fcn.100090b6
lea ecx, [ebp - 0x28]
call fcn.100090b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.100090b6
cmp dword [ebp - 0x9c], 0
je 0x10044690
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
lea ecx, [ebp - 0xdc]
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x19
call fcn.1002717d
mov edi, str.HttpRequestWin
mov byte [ebp - 4], 0x1a
push edi
lea ecx, [ebp - 0xc0]
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0
call fcn.100090b6
test esi, esi
je 0x100444e1
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x1c
call fcn.1002717d
push edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x1d
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call esi
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
lea ecx, [ebp - 0xc0]
call fcn.100090b6
and dword [ebp - 0x18], 0
xor eax, eax
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.1002717d
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.1002717d
pop ecx
pop ecx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x20
call fcn.100227b7
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
lea ecx, [ebp - 0xdc]
push 0x100efd4c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1002717d
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.100b0882
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x24
call fcn.100227b7
mov edi, dword [ebp - 0x34]
jmp 0x10044595
push 0
push dword [ebp - 0xc4]
mov ecx, edi
call fcn.1002717d
cmp eax, 0xffffffff
jne 0x1004459c
add edi, 0x18
cmp edi, dword [ebp - 0x30]
jne 0x1004457e
jmp 0x100445de
push edi
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xa6]
call fcn.10043caa
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x100445cf
mov byte [ebp - 0xc4], 0
push dword [ebp - 0xc4]
push eax
call fcn.1002717d
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0xf4]
call fcn.100227b7
test esi, esi
jne 0x10044622
push dword [ebp - 0x34]
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xa6]
call fcn.10043caa
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x10044613
mov byte [ebp - 0xc4], 0
push dword [ebp - 0xc4]
push eax
call fcn.1002717d
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0xf4]
call fcn.100227b7
test esi, esi
je 0x10044647
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x10044640
cmp ebx, 8
push esi
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1002717d
mov ebx, dword [ebp - 0x44]
mov byte [ebp - 0xa5], 1
lea ecx, [ebp - 0x34]
call fcn.10022721
cmp ebx, 8
jb 0x10044666
lea eax, [ebx*2 + 2]
push eax
push dword [ebp - 0x58]
call fcn.1002717d
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10044680
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.1002717d
pop ecx
pop ecx
mov bl, byte [ebp - 0xa5]
test bl, bl
jne 0x100448be
jmp 0x10044696
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 0x100448be
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x25
call fcn.1002717d
mov edi, str.HttpRequestWin
mov byte [ebp - 4], 0x26
push edi
lea ecx, [ebp - 0xdc]
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.100090b6
test esi, esi
je 0x100448b8
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x28
call fcn.1002717d
push edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x29
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call dword [edi + 0x24]
add esp, 0x14
jmp 0x10044897
mov ebx, 0x100eadb0
lea ecx, [ebp - 0xc0]
push ebx
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x2b
call fcn.1002717d
mov edi, str.HttpRequestWin
mov byte [ebp - 4], 0x2c
push edi
lea ecx, [ebp - 0xdc]
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.100090b6
test esi, esi
je 0x100448b8
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x2e
call fcn.1002717d
push edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x2f
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0xdc]
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
lea ecx, [ebp - 0xc0]
call fcn.100090b6
mov bl, byte [ebp - 0xa5]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x10044a06
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x70]
call fcn.1002717d
pop ecx
pop ecx
jmp 0x10044a06
mov ebx, 0x100eadb0
lea ecx, [ebp - 0xc0]
push ebx
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0x31
call fcn.1002717d
mov edi, str.HttpRequestWin
mov byte [ebp - 4], 0x32
push edi
lea ecx, [ebp - 0xdc]
call fcn.1002717d
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.100aa486
add esp, 0xc
lea ecx, [ebp - 0xdc]
mov esi, eax
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.100090b6
test esi, esi
je 0x10044a00
push ebx
lea ecx, [ebp - 0xc0]
call fcn.1002717d
push ebx
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0x34
call fcn.1002717d
push edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x35
call fcn.1002717d
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.100aa486
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 [0x100e97d8]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0xdc]
call fcn.100090b6
lea ecx, [ebp - 0xf4]
call fcn.100090b6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.100090b6
mov bl, byte [ebp - 0xa5]
cmp dword [ebp - 0x78], 0
je 0x10044a40
mov esi, dword [ebp - 0xfc]
cmp dword [esi + 0x10], 0
jne 0x10044a40
push dword [ebp - 0x78]
lea ecx, [ebp - 0x28]
call fcn.1002717d
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x37
push esi
push eax
call fcn.1002717d
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.100227b7
mov bl, 1
mov al, bl
call fcn.100c7406
ret