Function at 0x1003ec7
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2278
call fcn.01004670
mov eax, dword [0x1006028]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcscpy]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0xc
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x1003f25
lea eax, [ebp - 0x20c]
push 0x1001268
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x165c]
push eax
call edi
lea eax, [ebp - 0x165c]
push 0x1001254
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x414]
push 0x1001240
push eax
call esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x1864]
push eax
call edi
lea eax, [ebp - 0x1864]
push 0x1001234
push eax
call esi
add esp, 0x30
push 0x40e
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
push 0x1001628
call fcn.010021ee
push 0x40f
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0100367d
call fcn.01001f8f
test eax, eax
je 0x1003fea
push 0x10011fc
call fcn.01003b93
push 0x3ec
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
and dword [ebp - 0x2270], 0
and dword [ebp - 0x2274], 0
lea eax, [ebp - 0x2274]
push eax
lea eax, [ebp - 0x2270]
push eax
call fcn.01002d35
push 0x410
lea ecx, [ebp - 0x226c]
mov dword [ebp - 0x2278], eax
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
call fcn.01002fb2
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.010030ac
push ebx
call fcn.01001cbd
push 0x411
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
call fcn.01003130
push 0x3eb
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
lea eax, [ebp - 0x1454]
push eax
call fcn.010027aa
push 0x208
lea eax, [ebp - 0xa2c]
push eax
call fcn.0100289d
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x104
lea eax, [ebp - 0x824]
push eax
call ebx
lea eax, [ebp - 0x824]
push 0x1001614
push eax
call esi
pop ecx
pop ecx
push 0x412
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
lea eax, [ebp - 0x1454]
push eax
call fcn.0100354d
lea eax, [ebp - 0x124c]
push eax
call fcn.0100354d
lea eax, [ebp - 0x1044]
push eax
call fcn.0100354d
lea eax, [ebp - 0xe3c]
push eax
call fcn.0100354d
lea eax, [ebp - 0x124c]
push eax
lea eax, [ebp - 0x61c]
push eax
call edi
lea eax, [ebp - 0x61c]
push 0x1001608
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call fcn.010034d7
lea eax, [ebp - 0xa2c]
push eax
call fcn.0100354d
lea eax, [ebp - 0x824]
push eax
call fcn.0100354d
lea eax, [ebp - 0x1454]
push eax
call fcn.0100243e
lea eax, [ebp - 0x124c]
push eax
call fcn.0100243e
lea eax, [ebp - 0x1044]
push eax
call fcn.0100243e
lea eax, [ebp - 0xe3c]
push eax
call fcn.0100243e
lea eax, [ebp - 0x61c]
push eax
call fcn.0100243e
lea eax, [ebp - 0xa2c]
push eax
call fcn.0100243e
lea eax, [ebp - 0x824]
push eax
call fcn.0100243e
push 0x413
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
lea eax, [ebp - 0x124c]
push eax
push 0x10011ec
lea eax, [ebp - 0x414]
push eax
call fcn.01003236
lea eax, [ebp - 0x1044]
push eax
push 0x10011dc
lea eax, [ebp - 0x414]
push eax
call fcn.01003236
lea eax, [ebp - 0xe3c]
push eax
push 0x10011cc
lea eax, [ebp - 0x414]
push eax
call fcn.01003236
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.010034aa
lea eax, [ebp - 0xa2c]
push eax
push 0x10011b0
lea eax, [ebp - 0x165c]
push eax
call fcn.01003236
lea eax, [ebp - 0x61c]
push eax
push 0x10011b8
lea eax, [ebp - 0x1864]
push eax
call fcn.01003236
push 0x10011ac
call fcn.01001b9f
lea eax, [ebp - 0x1454]
push eax
call fcn.01001cce
lea eax, [ebp - 0x124c]
push eax
call fcn.01001cce
lea eax, [ebp - 0x1044]
push eax
call fcn.01001cce
lea eax, [ebp - 0xe3c]
push eax
call fcn.01001cce
lea eax, [ebp - 0x61c]
push eax
call fcn.01001cce
lea eax, [ebp - 0x824]
push eax
call fcn.01001cce
lea eax, [ebp - 0xa2c]
push eax
call fcn.01001cce
push 0x104
lea eax, [ebp - 0x1a6c]
push eax
call ebx
lea eax, [ebp - 0x1a6c]
push 0x10015fc
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x1a6c]
push eax
call fcn.01001cce
cmp dword [ebp - 0x2278], 0
pop edi
pop esi
pop ebx
je 0x100432e
push 0x3f0
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
push dword [ebp - 0x2274]
push dword [ebp - 0x2270]
call fcn.01002de2
push 0x3f1
lea ecx, [ebp - 0x226c]
call fcn.010016e5
lea eax, [ebp - 0x226c]
push eax
call fcn.01001b9f
mov ecx, dword [ebp - 4]
call fcn.010043ce
leave
ret 4