Function at 0x404ac0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x428a47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x850
push ebx
push esi
push edi
mov esi, ecx
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x5e]
mov word [esp + 0x5c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x5c]
push 0x400
push eax
mov dword [esp + 0x86c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0041eb49
mov bl, 1
mov byte [esp + 0x864], bl
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp ax, 0x804
mov eax, dword [esp + 0x870]
je 0x404ca3
cmp eax, 0x434314
jne 0x404c1e
lea edx, [esp + 0xc]
push str.cmd.exe
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0041ed7a
mov edi, dword [eax]
lea ecx, [esp + 0x86c]
push str.ClearRasServer.exe
lea edx, [esp + 0x3c]
push ecx
push edx
mov byte [esp + 0x870], 6
call fcn.0041ed7a
mov eax, dword [eax]
push 5
push edi
push eax
call fcn.00404a00
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.0041ead5
lea ecx, [esp + 0x20]
mov byte [esp + 0x864], bl
call fcn.0041ead5
lea eax, [esp + 0xc]
push str.cmd.exe
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0041ed7a
mov edi, dword [eax]
lea edx, [esp + 0x86c]
push str.ClearRasClient.exe
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x870], 7
call fcn.0041ed7a
mov eax, dword [eax]
push 5
push edi
push eax
call fcn.00404a00
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0041ead5
lea ecx, [esp + 0x28]
mov byte [esp + 0x864], bl
call fcn.0041ead5
mov eax, dword [esi + 0x2bc]
mov ecx, dword [esi + 0x2c0]
push 0
push eax
push ecx
mov ecx, esi
call fcn.00420a2c
jmp 0x404ecf
lea ecx, [esp + 0xc]
push 0x434454
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.0041ed7a
mov esi, dword [eax]
lea eax, [esp + 0x86c]
push eax
lea ecx, [esp + 0x34]
push 0x434450
push ecx
mov byte [esp + 0x870], 8
call fcn.0041edee
push str.invoke_EN_US.vbs_
lea edx, [esp + 0x54]
push eax
push edx
mov byte [esp + 0x870], 9
call fcn.0041ed7a
mov eax, dword [eax]
push 5
push esi
push eax
call fcn.00404a00
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.0041ead5
lea ecx, [esp + 0x30]
mov byte [esp + 0x864], 8
call fcn.0041ead5
mov byte [esp + 0x864], bl
lea ecx, [esp + 0x48]
jmp 0x404e02
cmp eax, 0x434314
jne 0x404d82
lea eax, [esp + 0xc]
push str.cmd.exe
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.0041ed7a
mov edi, dword [eax]
lea edx, [esp + 0x86c]
push str.ClearRasServer.exe
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x870], 2
call fcn.0041ed7a
mov eax, dword [eax]
push 5
push edi
push eax
call fcn.00404a00
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0041ead5
lea ecx, [esp + 0x58]
mov byte [esp + 0x864], bl
call fcn.0041ead5
lea ecx, [esp + 0xc]
push str.cmd.exe
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0041ed7a
mov edi, dword [eax]
lea eax, [esp + 0x86c]
push str.ClearRasClient.exe
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x870], 3
call fcn.0041ed7a
mov eax, dword [eax]
push 5
push edi
push eax
call fcn.00404a00
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.0041ead5
lea ecx, [esp + 0x24]
mov byte [esp + 0x864], bl
call fcn.0041ead5
mov eax, dword [esi + 0x2bc]
mov ecx, dword [esi + 0x2c0]
push 0
push eax
push ecx
mov ecx, esi
call fcn.00420a2c
jmp 0x404ecf
lea edx, [esp + 0xc]
push 0x434454
lea eax, [esp + 0x40]
push edx
push eax
call fcn.0041ed7a
mov esi, dword [eax]
lea ecx, [esp + 0x86c]
push ecx
lea edx, [esp + 0x38]
push 0x434450
push edx
mov byte [esp + 0x870], 4
call fcn.0041edee
push str.invoke.vbs_
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x86c], 5
push eax
call fcn.0041ed7a
mov eax, dword [eax]
push 5
push esi
push eax
call fcn.00404a00
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.0041ead5
lea ecx, [esp + 0x34]
mov byte [esp + 0x864], 4
call fcn.0041ead5
mov byte [esp + 0x864], bl
lea ecx, [esp + 0x3c]
call fcn.0041ead5
push str.__szPath
lea ecx, [esp + 0x18]
call fcn.0041eb9e
push str.szCmd
lea ecx, [esp + 0x14]
mov byte [esp + 0x868], 0xa
call fcn.0041eb9e
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x870], 0xb
call fcn.0041ed14
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push eax
push edx
mov byte [esp + 0x870], 0xc
call fcn.0041ed14
lea ecx, [esp + 0x86c]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x870], 0xd
call fcn.0041ed14
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x44]
call fcn.0041ead5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x864], 0xc
call fcn.0041ead5
lea ecx, [esp + 0x54]
mov byte [esp + 0x864], 0xb
call fcn.0041ead5
lea ecx, [esp + 0x10]
mov byte [esp + 0x864], 0xa
call fcn.0041ead5
lea ecx, [esp + 0x14]
mov byte [esp + 0x864], bl
call fcn.0041ead5
lea ecx, [esp + 0xc]
mov byte [esp + 0x864], 0
call fcn.0041ead5
lea ecx, [esp + 0x86c]
mov dword [esp + 0x864], 0xffffffff
call fcn.0041ead5
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x85c
ret 8