Function at 0x447450
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ff684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx + 4]
movups xmmword [ebp - 0x24], xmm0
test eax, eax
je 0x447489
push eax
call edi
mov dword [ebx + 4], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x44749a
push eax
call edi
mov dword [ebx + 8], 0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4474ab
push eax
call edi
mov dword [ebx + 0xc], 0
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x44757c
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4475bd
mov eax, dword [ebx + 8]
test eax, eax
je 0x4474da
push eax
call edi
mov dword [ebx + 8], 0
test esi, esi
je 0x44751b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4474e3
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
add eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 8], eax
test eax, eax
je 0x44757c
push esi
push dword [ebp - 0x40]
push eax
call fcn.0048e201
add esp, 0xc
test eax, eax
jne 0x44757c
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x44752f
push eax
call edi
mov dword [ebx + 0xc], 0
test esi, esi
je 0x4476c0
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447540
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
add eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x44757c
push esi
push dword [ebp - 0x40]
push eax
call fcn.0048e201
add esp, 0xc
test eax, eax
je 0x4476c0
xor bl, bl
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44758f
push eax
call edi
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4475a0
push esi
call edi
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
pop esi
test eax, eax
je 0x4475ab
push eax
call edi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.00488f07
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 0
jne 0x4475cd
cmp dword [ebp - 0x20], 0
je 0x4476c0
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
test eax, eax
je 0x4475ed
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x34], eax
jmp 0x4475fb
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 3
push 0
push 0
push 0
push 1
push str.Temp
mov dword [ebp - 0x28], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x44757c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], vtable.NWebAdvisor::NXmlUpdater::auto_proxy_info.0
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], 1
push ecx
push dword [ebp - 0x40]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test esi, esi
jne 0x447684
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], vtable.NWebAdvisor::NXmlUpdater::auto_proxy_info.0
test eax, eax
je 0x447671
push eax
call edi
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44757c
push eax
call edi
jmp 0x44757c
cmp dword [ebp - 0x10], 3
jne 0x44769e
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.00447960
push dword [ebp - 8]
mov ecx, ebx
call fcn.004479e0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], vtable.NWebAdvisor::NXmlUpdater::auto_proxy_info.0
test eax, eax
je 0x4476b6
push eax
call edi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x4476c0
push eax
call edi
mov bl, 1
jmp 0x44757e