Function at 0x1001d90a
Capabilities:
Get common file path

Disassembly:
push 0x324
mov eax, 0x1005be7d
call fcn.10031c80
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call fcn.10031d30
add esp, 0xc
mov edi, fcn.100014cc
push edi
push fcn.10001dc7
push 0xa
push 0x1c
lea eax, [ebp - 0x330]
push eax
call fcn.10033d38
mov dword [ebp - 4], ebx
call fcn.10008630
xor esi, esi
inc esi
cmp eax, esi
jne 0x1001d990
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x1001d9a2
push str.GetSystemWow64DirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001d9a2
push 0x208
lea ecx, [ebp - 0x218]
push ecx
call eax
jmp 0x1001d9a2
push 0x208
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.10008250
cmp eax, esi
lea eax, [ebp - 0x218]
jne 0x1001d9d0
push str.npstarter.ocx
push eax
lea eax, [ebp - 0x330]
push str._s_s
push eax
call fcn.10007397
add esp, 0x10
jmp 0x1001dad5
push str.npz.ocx
push eax
mov esi, str._s_s
lea eax, [ebp - 0x330]
push esi
push eax
call fcn.10007397
push str.npx2.ocx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x314]
push esi
push eax
call fcn.10007397
push str.npx.ocx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2f8]
push esi
push eax
call fcn.10007397
push str.np_kor.ini
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2dc]
push esi
push eax
call fcn.10007397
add esp, 0x40
push str.np_chs.ini
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2c0]
push esi
push eax
call fcn.10007397
push str.np_eng.ini
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a4]
push esi
push eax
call fcn.10007397
push str.np_jpn.ini
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x288]
push esi
push eax
call fcn.10007397
push str.npcopyv.exe
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x26c]
push esi
push eax
call fcn.10007397
add esp, 0x40
push str.npdownv.exe
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.10007397
push str.npnv3uninst.exe
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.10007397
xor esi, esi
add esp, 0x20
inc esi
mov eax, dword [ebp + 8]
dec eax
je 0x1001dcc3
dec eax
je 0x1001dc72
call fcn.1001d789
cmp eax, esi
je 0x1001dde7
cmp dword [ebp - 0x318], 8
mov eax, dword [ebp - 0x32c]
jae 0x1001db08
lea eax, [ebp - 0x32c]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001dde7
cmp dword [ebp - 0x2fc], 8
mov eax, dword [ebp - 0x310]
jae 0x1001db2e
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001dde7
mov eax, dword [ebp - 0x2f4]
push 8
pop esi
cmp dword [ebp - 0x2e0], esi
jae 0x1001db56
lea eax, [ebp - 0x2f4]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x2c4], esi
mov eax, dword [ebp - 0x2d8]
jae 0x1001db7b
lea eax, [ebp - 0x2d8]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x2a8], esi
mov eax, dword [ebp - 0x2bc]
jae 0x1001dba0
lea eax, [ebp - 0x2bc]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x28c], esi
mov eax, dword [ebp - 0x2a0]
jae 0x1001dbc5
lea eax, [ebp - 0x2a0]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x270], esi
mov eax, dword [ebp - 0x284]
jae 0x1001dbea
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x254], esi
mov eax, dword [ebp - 0x268]
jae 0x1001dc0f
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x238], esi
mov eax, dword [ebp - 0x24c]
jae 0x1001dc34
lea eax, [ebp - 0x24c]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x230]
jae 0x1001dc59
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
xor esi, esi
inc esi
jmp 0x1001dde7
call fcn.1001d789
cmp eax, esi
je 0x1001dde7
cmp dword [ebp - 0x318], 8
mov eax, dword [ebp - 0x32c]
jae 0x1001dc94
lea eax, [ebp - 0x32c]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
je 0x1001dde7
cmp dword [ebp - 0x2fc], 8
mov eax, dword [ebp - 0x310]
jae 0x1001ddda
lea eax, [ebp - 0x310]
jmp 0x1001ddda
cmp dword [ebp - 0x2e0], 8
mov eax, dword [ebp - 0x2f4]
jae 0x1001dcd8
lea eax, [ebp - 0x2f4]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x2c4], 8
mov eax, dword [ebp - 0x2d8]
jae 0x1001dcfe
lea eax, [ebp - 0x2d8]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x2a8], 8
mov eax, dword [ebp - 0x2bc]
jae 0x1001dd24
lea eax, [ebp - 0x2bc]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x28c], 8
mov eax, dword [ebp - 0x2a0]
jae 0x1001dd4a
lea eax, [ebp - 0x2a0]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x270], 8
mov eax, dword [ebp - 0x284]
jae 0x1001dd70
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x254], 8
mov eax, dword [ebp - 0x268]
jae 0x1001dd96
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x1001ddb8
lea eax, [ebp - 0x24c]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x1001ddda
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001de04
or dword [ebp - 4], 0xffffffff
push edi
push 0xa
push 0x1c
lea eax, [ebp - 0x330]
push eax
call fcn.10033b03
mov eax, esi
call fcn.10031d03
ret
xor esi, esi
jmp 0x1001dde7