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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6f0
push edi
mov dword [ebp - 0x6e8], ecx
call fcn.0047cb60
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.0047e040
mov ecx, dword [ebp - 0xc]
call fcn.0047e100
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x47d412
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jge 0x47d6ad
mov word [ebp - 0x21c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0047e0b0
test eax, eax
jne 0x47d456
jmp 0x47d409
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x47d478
mov dword [ebp - 0x6ec], 0
jmp 0x47d4bf
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x6f0], esp
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.00415510
mov dword [ebp - 0x6ec], eax
mov ecx, dword [ebp - 0x6ec]
mov dword [ebp - 0x220], ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x220], 0
je 0x47d6a8
push 0x562e90
mov eax, dword [ebp - 0x220]
push eax
call fcn.00402af0
add esp, 8
test eax, eax
je 0x47d6a8
mov ecx, dword [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x6e8]
call fcn.0047d6bf
test eax, eax
je 0x47d6a8
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x6e8]
add ecx, 4
call fcn.0047e120
mov byte [ebp - 0x32c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x32b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x220]
push eax
push 0x104
lea ecx, [ebp - 0x32c]
push ecx
call fcn.00415480
mov byte [ebp - 0x434], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x433]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea edx, [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x5c
mov eax, dword [ebp - 0x220]
push eax
call fcn.0040a210
add esp, 8
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x330], 0
cmp dword [ebp - 0x438], 0
je 0x47d66f
mov ecx, dword [ebp - 0x438]
sub ecx, dword [ebp - 0x220]
push ecx
lea edx, [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x47d66f
cmp dword [ebp - 0x438], 0
je 0x47d66f
push str.mapi32.dll
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x47d66f
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x578], 2
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x440], 0
lea edx, [ebp - 0x32c]
push edx
push 0x104
lea eax, [ebp - 0x6e0]
push eax
call fcn.00415480
mov dword [ebp - 0x6e4], 0
lea ecx, [ebp - 0x6e4]
push ecx
lea edx, [ebp - 0x6e0]
push edx
mov ecx, 0x5634c0
call fcn.00416eb0
mov dword [ebp - 0x330], 1
cmp dword [ebp - 0x330], 0
je 0x47d691
mov eax, dword [ebp + 0xc]
push eax
push 0x6c
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x6e8]
push edx
call dword [ebp + 8]
jmp 0x47d6a8
mov eax, dword [ebp + 0xc]
push eax
push 0x6d
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x6e8]
push edx
call dword [ebp + 8]
jmp 0x47d409
mov eax, 1
lea esp, [ebp - 0x6f4]
pop edi
mov esp, ebp
pop ebp
ret 8