Function at 0x560d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call sub.MSVCR100.dll_memset
push 0xff
lea ecx, [ebp - 0x103]
push 0
push ecx
mov byte [ebp - 0x104], 0
call sub.MSVCR100.dll_memset
add esp, 0x18
lea edx, [ebp - 0x204]
push edx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x560db5
sub eax, edx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573a4], eax
lea ecx, [ebp - 0x204]
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x560de0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x560df0
push edi
lea edi, [ebp - 0x104]
dec edi
jmp 0x560e10
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x560e10
mov al, byte [0x5861b8]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x560e28
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573a8], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x560e45
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x560e51
lea edi, [ebp - 0x104]
dec edi
jmp 0x560e70
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x560e70
mov ecx, 5
mov esi, str.ResourceEffectScript
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x104]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x560e90
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573ac], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x560eb3
xor eax, eax
nop
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x560ec0
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x560ee0
mov ecx, dword [str.Ini]
mov dl, byte [0x597eac]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x560f02
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573b0], eax
lea ecx, [ebp - 0x104]
mov edx, eax
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x560f20
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x560f30
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x560f50
mov ecx, dword [str.Sound]
mov dx, word [0x597eb4]
mov dword [eax], ecx
mov cl, byte [0x597eb6]
mov word [eax + 4], dx
mov byte [eax + 6], cl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x560f80
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573b4], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x560fa0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x560fb0
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x560fd0
mov edx, dword [str.Resource]
mov ecx, dword [0x597ebc]
mov dword [eax], edx
mov dx, word [0x597ec0]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561000
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573b8], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561020
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561030
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x561050
mov ecx, dword [str.BGM]
mov dl, byte [0x597ec8]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561072
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573bc], eax
lea ecx, [ebp - 0x104]
mov edx, eax
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561090
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x5610a0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5610c0
mov al, byte [0x5861b8]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5610d8
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573c0], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5610f5
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561101
lea edi, [ebp - 0x104]
dec edi
jmp 0x561120
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x561120
mov cl, byte [0x5861b8]
lea eax, [ebp - 0x104]
mov byte [edi], cl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561140
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573c4], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561160
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561170
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x561190
mov dl, byte [0x5861b8]
lea eax, [ebp - 0x104]
mov byte [edi], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5611b0
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573c8], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5611d0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x5611e0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x561200
mov al, byte [0x5861b8]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561218
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573cc], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561235
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561241
lea edi, [ebp - 0x104]
dec edi
jmp 0x561260
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x561260
mov cl, byte [0x5861b8]
lea eax, [ebp - 0x104]
mov byte [edi], cl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561280
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573d0], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5612a0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x5612b0
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5612d0
mov dl, byte [0x5861b8]
lea eax, [ebp - 0x104]
mov byte [edi], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5612f0
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573d8], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561310
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561320
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x561340
mov al, byte [0x5861b8]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561358
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573dc], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561375
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561381
lea eax, [ebp - 0x104]
dec eax
jmp 0x5613a0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x5613a0
mov ecx, dword [str.ImageMinimap]
mov edx, dword [0x597ed0]
mov dword [eax], ecx
mov ecx, dword [0x597ed4]
mov dword [eax + 4], edx
mov dx, word [0x597ed8]
mov dword [eax + 8], ecx
mov cl, byte [0x597eda]
mov word [eax + 0xc], dx
mov byte [eax + 0xe], cl
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5613e0
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573d4], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561400
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561410
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x561430
mov dl, byte [0x5861b8]
lea eax, [ebp - 0x104]
mov byte [edi], dl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561450
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573e0], eax
lea ecx, [ebp - 0x104]
mov edx, eax
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561470
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x561480
lea edi, [ebp - 0x104]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5614a0
mov al, byte [0x5861b8]
mov byte [edi], al
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5614b8
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573e4], eax
lea ecx, [ebp - 0x104]
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5614d5
xor eax, eax
mov cl, byte [ebp + eax - 0x204]
mov byte [ebp + eax - 0x104], cl
inc eax
test cl, cl
jne 0x5614e1
lea edi, [ebp - 0x104]
dec edi
jmp 0x561500
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x561500
mov cl, byte [0x5861b8]
lea eax, [ebp - 0x104]
mov byte [edi], cl
lea edx, [eax + 1]
pop edi
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x561520
sub eax, edx
inc eax
push eax
call esi
add esp, 4
mov dword [0x6573e8], eax
lea ecx, [ebp - 0x104]
mov edx, eax
pop esi
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x561540
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x6573f0], 0
call fcn.005762ee
mov esp, ebp
pop ebp
ret