Function at 0x4149e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
call fcn.00418feb
test eax, eax
jne 0x4149fc
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
add edi, 0x10
mov dword [ebp - 4], edi
call fcn.00418feb
test eax, eax
jne 0x414a20
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x41800
add eax, 0x10
push 0x40
mov dword [ebp - 0x1c], eax
call esi
mov ebx, eax
test ebx, ebx
je 0x414bfe
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push ebx
push 0
mov dword [ebx], 0x418
push 0
mov dword [ebp - 8], 0x41800
call sub.RASAPI32.dll_RasEnumEntriesW
test eax, eax
je 0x414abb
push ebx
cmp eax, 0x25b
jne 0x414ab5
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
mov eax, dword [ebp - 8]
push eax
push 0x40
call esi
mov ebx, eax
test ebx, ebx
jne 0x414a94
push str.SetIEProxy_LocalReAlloc_failed___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push ebx
push 0
push 0
mov dword [ebx], 0x418
call sub.RASAPI32.dll_RasEnumEntriesW
test eax, eax
je 0x414abb
push ebx
call edi
jmp 0x414abb
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jbe 0x414bf4
lea eax, [ebx + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00403ef0
push eax
lea ecx, [ebp - 4]
call fcn.00402870
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov word [ebp - 0x1f], ax
mov byte [ebp - 0x1d], al
mov eax, dword [ebp + 8]
mov byte [ebp - 0x3c], 0
test eax, eax
je 0x414b6f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x414b6f
lea edi, [eax + eax]
mov eax, edi
call fcn.00430580
mov esi, esp
test esi, esi
je 0x414b6f
mov ecx, dword [ebp + 8]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x414b71
xor eax, eax
mov edx, dword [ebp + 0xc]
push edx
push eax
lea eax, [ebp - 0x3c]
push str._s:_d
push eax
call fcn.00413c30
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x414bce
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x414bce
lea edi, [eax + eax]
mov eax, edi
call fcn.00430580
mov esi, esp
test esi, esi
je 0x414bce
mov ecx, dword [ebp - 4]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x414bd0
xor eax, eax
push eax
lea edx, [ebp - 0x3c]
push edx
call fcn.00413b70
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x418
inc eax
add esp, 8
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x10]
jb 0x414ad2
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
test ebx, ebx
je 0x414c69
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x414c64
lea edi, [eax + eax]
mov eax, edi
call fcn.00430580
mov esi, esp
test esi, esi
je 0x414c64
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x414c66
xor eax, eax
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x5c]
push str._s:_d
push edx
call fcn.00413c30
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00413b70
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret