Function at 0x53b2e0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x64750b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
mov eax, dword [0x6ee2dc]
push ebx
push 0
mov dword [esp + 0x2ac], eax
push 5
lea eax, [esp + 0xa8]
push eax
push 0
mov ebx, ecx
call dword [sym.imp.shell32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x53b442
push edi
lea edi, [esp + 0xa4]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x53b331
push esi
mov ecx, 8
mov esi, str.KOEIDynasty_Warriors_4_Hyper_
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop esi
jmp 0x53b350
mov cl, byte [esp + eax + 0xa4]
mov byte [esp + eax + 0x1a8], cl
add eax, 1
test cl, cl
jne 0x53b350
lea edi, [esp + 0x1a8]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x53b370
mov ecx, dword [str.graphics.cfg]
mov edx, dword [0x6564cc]
mov eax, dword [0x6564d0]
mov dword [edi], ecx
mov cl, byte [0x6564d4]
mov dword [edi + 4], edx
push 0
lea edx, [esp + 0xa8]
push edx
mov dword [edi + 8], eax
push 0
mov byte [edi + 0xc], cl
call dword [sym.imp.shell32.dll_SHCreateDirectoryExA]
test eax, eax
pop edi
je 0x53b3c3
cmp eax, 0xb7
je 0x53b3c3
cmp eax, 0x50
jne 0x53b442
push 1
lea ecx, [esp + 8]
call fcn.0053aea0
push 0x1b6
push 0x32
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c0], 0
call fcn.0053a400
test eax, eax
jne 0x53b416
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0xc]
lea ecx, [esp + ecx + 4]
or al, 2
cmp dword [ecx + 0x28], 0
jne 0x53b40e
or al, 4
push 0
push eax
call fcn.00646a8a
cmp dword [esp + 0x68], 0
jne 0x53b449
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2b4], 0xffffffff
call fcn.0053af60
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x6563dc
call fcn.006469a0
xor al, al
jmp 0x53b582
movss xmm0, dword [0x64e764]
push 4
push ebx
lea ecx, [esp + 0x14]
movss dword [ebx], xmm0
call fcn.0053a140
push 4
lea edx, [ebx + 4]
push edx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea edx, [ebx + 0x10]
push edx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea eax, [ebx + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea ecx, [ebx + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea edx, [ebx + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea eax, [ebx + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea ecx, [ebx + 0x24]
push ecx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea edx, [ebx + 0x28]
push edx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea eax, [ebx + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
lea ecx, [ebx + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 4
add ebx, 0x34
push ebx
lea ecx, [esp + 0x14]
call fcn.0053a140
lea ecx, [esp + 0xc]
call fcn.005398a0
lea ecx, [esp + 0x10]
call fcn.0053ad60
test eax, eax
jne 0x53b55b
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0xc]
lea ecx, [esp + ecx + 4]
or al, 2
cmp dword [ecx + 0x28], 0
jne 0x53b553
or al, 4
push 0
push eax
call fcn.00646a8a
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2b4], 0xffffffff
call fcn.0053af60
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x6563dc
call fcn.006469a0
mov al, 1
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2a8]
pop ebx
call fcn.0062fcdf
add esp, 0x2b4
ret