Function at 0x4a4ac0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645245
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 0
test eax, eax
je 0x4a4b17
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 4], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a4b2c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 8], 0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4a4b41
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0xc], 0
movzx eax, byte [0x65b104]
lea ecx, [ebp - 0x11]
push eax
call fcn.004bd3d0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004bd770
add esp, 4
cmp byte [ebp - 0x18], 0
je 0x4a4bf0
cmp byte [ebp - 0x20], 1
jne 0x4a4c6d
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x11]
movlpd qword [ebp - 0x28], xmm0
call fcn.004bd400
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4a4c6d
mov edi, dword [ebp - 0x24]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call dword [0x659730]
mov ecx, edi
call esi
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x50]
push eax
push str.Failed_to_impersonate_logged_on_user:__hs
push 0x1de
push str.XMLUpdater::v2::CUpdater::fill_proxy_data_for_specific_url
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterxmlUpdater.cpp
push 1
call fcn.004acee0
add esp, 0x18
lea ecx, [ebp - 0x50]
call fcn.0042fa70
jmp 0x4a4c6d
mov edi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call dword [0x659730]
mov ecx, edi
call esi
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x50]
push eax
push str.Unable_to_determine_if_process_is_running_as_a_service:__hs
push 0x1e3
push str.XMLUpdater::v2::CUpdater::fill_proxy_data_for_specific_url
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterxmlUpdater.cpp
push 1
call fcn.004acee0
mov edx, dword [ebp - 0x3c]
add esp, 0x18
cmp edx, 0x10
jb 0x4a4c6d
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a4c63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a4ebf
push edx
push ecx
call fcn.00608415
add esp, 8
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x4a4d48
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x4a4daa
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a4c9f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 8], 0
test esi, esi
je 0x4a4ce4
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4cb0
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
lea eax, [edi + edi]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 8], eax
test eax, eax
je 0x4a4d48
push esi
push edi
push eax
call fcn.0060e2d8
add esp, 0xc
test eax, eax
jne 0x4a4d48
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp - 0x54]
test eax, eax
je 0x4a4cfc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0xc], 0
test esi, esi
je 0x4a4eb8
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4d10
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
lea eax, [edi + edi]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x4a4d48
push esi
push edi
push eax
call fcn.0060e2d8
add esp, 0xc
test eax, eax
je 0x4a4eb8
xor bl, bl
lea ecx, [ebp - 0x11]
call fcn.004bd3e0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4a4d67
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4a4d7c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4a4d8a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x5c]
jne 0x4a4dbb
test eax, eax
je 0x4a4eb8
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
test eax, eax
je 0x4a4dd8
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x48], eax
jmp 0x4a4de6
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 3
push 0
push 0
push 0
push 1
push str.Temp
mov dword [ebp - 0x3c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x4a4d48
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], vtable.XMLUpdater::v2::auto_proxy_info.0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x34], 1
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x30], 0
push edi
mov dword [ebp - 0x2c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
push edi
mov esi, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test esi, esi
jne 0x4a4e74
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.XMLUpdater::v2::auto_proxy_info.0
test eax, eax
je 0x4a4e5d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4a4d48
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4a4d48
cmp dword [ebp - 0x34], 3
jne 0x4a4e8e
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.004a51b0
push dword [ebp - 0x2c]
mov ecx, ebx
call fcn.004a5230
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.XMLUpdater::v2::auto_proxy_info.0
test eax, eax
je 0x4a4eaa
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4a4eb8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
jmp 0x4a4d4a
call fcn.0060e0d0
int3