Function at 0x100e1b2
Capabilities:
Initialize winhttp library

Disassembly:
mov eax, 0x1027a45
call fcn.01022df8
sub esp, 0x44
push ebx
push esi
push edi
push 0x147
mov ebx, 0x1001900
push ebx
mov dword [ebp - 0x10], ecx
call fcn.0100c9d4
push 0x1001bf4
call fcn.0100cb2d
xor eax, eax
xor esi, esi
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x50], esi
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x28], esi
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x100e3d7
mov eax, dword [ebp - 0x2c]
cmp eax, esi
mov edi, 0x1001938
mov dword [ebp - 0x18], eax
jne 0x100e22b
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp - 0x30]
cmp ebx, esi
jne 0x100e234
mov ebx, edi
cmp dword [ebp - 0x34], esi
je 0x100e23c
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
neg eax
sbb eax, eax
add eax, 0x4f4d
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0100cd2b
push dword [ebp - 0x18]
mov ecx, eax
push ebx
push edi
push esi
mov dword [ebp - 4], esi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x4f1a
push esi
call fcn.0100dcc2
push eax
call fcn.0100d7f3
or dword [ebp - 4], 0xffffffff
add esp, 0x1c
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
cmp dword [ebp - 0x30], esi
je 0x100e2bc
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
call fcn.0100ce02
test eax, eax
jne 0x100e2bc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [ebp - 0x30]
mov dword [ebp - 0x14], 1
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [ebp - 0x10]
call fcn.0100ce36
jmp 0x100e3f5
push esi
push esi
push esi
xor edi, edi
inc edi
push edi
push 0x10018a0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
cmp ebx, esi
je 0x100e3ba
cmp dword [ebp - 0x38], esi
je 0x100e2e0
or dword [ebp - 0x50], edi
mov eax, dword [ebp - 0x34]
cmp eax, esi
je 0x100e2eb
or dword [ebp - 0x50], 2
cmp dword [ebp - 0x50], esi
je 0x100e392
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x10018b4
push ebx
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x3c], edi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x100e330
cmp dword [ebp - 0x24], esi
je 0x100e330
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.0100ce02
test eax, eax
mov dword [ebp - 0x14], edi
je 0x100e333
mov dword [ebp - 0x14], esi
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [ebp - 0x24]
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [ebp - 0x10]
call fcn.0100ce36
cmp dword [ebp - 0x14], esi
je 0x100e37e
mov ecx, dword [ebp - 0x20]
cmp ecx, esi
jne 0x100e35a
mov ecx, 0x1001938
mov eax, dword [ebp - 0x24]
cmp eax, esi
jne 0x100e366
mov eax, 0x1001938
push ecx
push eax
push 0x4f1b
push esi
call fcn.0100dcc2
push eax
call fcn.0100d7f3
add esp, 0x14
jmp 0x100e392
push 0x4f1c
push esi
call fcn.0100dcc2
push eax
call fcn.0100d552
add esp, 0xc
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test eax, eax
jne 0x100e3f5
push 0x17a
push 0x1001900
call fcn.0100c9d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001bc8
jmp 0x100e3ee
push 0x17d
push 0x1001900
call fcn.0100c9d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001b98
jmp 0x100e3ee
push 0x181
push ebx
call fcn.0100c9d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001b60
call fcn.0100cb4a
pop ecx
pop ecx
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x34]
mov ecx, esi
call fcn.0100cdbf
push dword [ebp - 0x30]
mov ecx, esi
call fcn.0100cdbf
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.0100cdbf
push dword [ebp - 0x24]
mov ecx, esi
call fcn.0100cdbf
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0100cdbf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret