Function at 0x45d9f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov eax, dword [0x5fe940]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x6a420c
mov dword [esp + 0x214], eax
mov byte [edi + 0xe0fc], 0
mov dword [edi + 0xe100], 0x46
mov dword [edi + 0xe104], 0
call fcn.00407310
test al, al
jne 0x45da3b
mov dword [0], 1
mov al, byte [0x6a4218]
mov cl, byte [0x6a4210]
mov dl, byte [0x6a4211]
xor cl, al
xor dl, al
mov byte [esp + 0x10], cl
mov cl, byte [0x6a4212]
mov byte [esp + 0x11], dl
mov dl, byte [0x6a4213]
xor cl, al
xor dl, al
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], dl
mov eax, dword [esp + 0x10]
push eax
call fcn.004e5500
add esp, 4
mov ecx, 0x71d4d8
call fcn.004e55c0
mov eax, dword [0x71d4dc]
test eax, eax
setne cl
push str.new_Frame
mov byte [0x71d564], cl
push str.CHAT_FRAME
mov ecx, 0x81d780
mov dword [0x71d560], 2
mov dword [0x71d55c], 5
mov byte [0x71d567], 1
mov byte [0x71d565], 1
mov byte [0x71d568], 0
call fcn.00433410
lea edx, [esp + 0x14]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x5b95b0
call fcn.00436a80
add esp, 4
lea ebp, [edi + 0xe2c0]
lea esi, [edi + 0xe238]
mov ebx, 8
push 0
push 1
push 1
push str.ready_L.spr
mov ecx, 0x879bc8
call fcn.0055cf20
push 0
push 1
push 1
push str.ready_R.spr
mov ecx, 0x879bc8
mov dword [esi - 4], eax
call fcn.0055cf20
push 0
push 1
push 1
push str.ready_D.spr
mov ecx, 0x879bc8
mov dword [esi], eax
call fcn.0055cf20
mov dword [esi + 4], eax
lea eax, [edi + 0x9e0]
push eax
push 1
push 1
push str.char_level_up.spr
mov ecx, 0x879bc8
call fcn.0055cf20
mov dword [ebp], eax
add ebp, 4
add esi, 0xc
dec ebx
jne 0x45db02
xor ebp, ebp
push ebp
push 1
push 1
push str.chat_wheel_L.spr
mov ecx, 0x879bc8
lea ebx, [edi + 0xe2b8]
call fcn.0055cf20
push ebp
push 1
push 1
push str.chat_wheel_R.spr
mov ecx, 0x879bc8
mov dword [ebx], eax
call fcn.0055cf20
push ebp
push 1
push 1
push str.shop_comment.spr
mov ecx, 0x879bc8
mov dword [edi + 0xe2bc], eax
call fcn.0055cf20
mov dword [edi + 0xe2e0], eax
xor esi, esi
mov eax, dword [esi + 0x5f22b4]
mov ecx, dword [esi + 0x5f22ac]
push ebp
push eax
push ecx
mov ecx, dword [ebx]
push 1
call fcn.0055f6e0
add esi, 4
add ebx, 4
cmp esi, 8
jl 0x45dbc3
push ebp
push 1
push 1
push str.Master_Flag.spr
mov ecx, 0x879bc8
call fcn.0055cf20
lea edx, [esp + 0x14]
push edx
mov dword [edi + 0xe294], eax
call fcn.00436a80
add esp, 4
mov ecx, edi
call fcn.0045b940
mov ecx, edi
mov dword [edi + 0xe0e8], ebp
mov dword [edi + 0xe3b0], ebp
mov dword [edi + 0xe344], 1
mov dword [edi + 0xe348], ebp
call fcn.0045d050
push ebp
mov ecx, edi
call fcn.00455680
mov ecx, edi
call fcn.00458990
push 0x14
push 0xc8
push ebp
mov ecx, 0x816e40
call fcn.00423ca0
mov byte [edi + 0x315], 0
xor ebx, ebx
mov esi, 0x67d8ec
cmp dword [esi], ebp
je 0x45dc72
push ebx
mov ecx, edi
call fcn.0045a910
add esi, 0xbec
inc ebx
cmp esi, 0x68384c
jl 0x45dc66
mov eax, dword [0x8170b0]
cmp eax, ebp
je 0x45dcaf
lea esi, [eax + 0x1f0]
mov edi, str.Play_Frame
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x45dcaf
mov byte [0x60d1d0], al
mov byte [0x60d210], al
mov byte [0x60d250], al
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
call fcn.005900c7
add esp, 0x208
ret