Function at 0x447c24
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff004
push eax
add esp, 0xfffff558
mov dword [esp], eax
mov edi, str.MAIN_MENU
mov eax, dword [esp]
cmp dword [eax + 0x30], 0
jne 0x447c6d
push 0x30
mov eax, 0x65
call fcn.00410804
push eax
mov eax, 0x14c
call fcn.00410804
push eax
push dword [0x4ad5a8]
call sub.USER32.DLL_MessageBoxA
jmp 0x448056
push 0
lea edx, [edi + 9]
xor ecx, ecx
mov eax, 3
call fcn.0046aa14
mov byte [esp + 0x10], 0
lea edx, [esp + 0x410]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov byte [esp + 0x810], 0
xor esi, esi
xor eax, eax
mov dword [esp + 4], eax
xor edx, edx
mov dword [esp + 8], edx
jmp 0x447f8d
lea eax, [esp + 0xc10]
call fcn.0040a924
push eax
mov eax, 0x20c
call fcn.00410804
push eax
lea edx, [esp + 0x1818]
push edx
call fcn.00486578
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0046c1ec
call fcn.0046b7e4
lea edx, [esp + 0x410]
push edx
call fcn.00484424
pop ecx
lea edx, [esp + 0x1010]
lea eax, [esp + 0xc10]
call fcn.00409c88
call fcn.004099cc
test al, al
jne 0x447f8d
inc dword [esp + 4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc10]
mov eax, 0x4ad5bc
call fcn.0045cda0
test al, al
jne 0x447fba
test esi, esi
je 0x447d44
lea eax, [edi + 9]
call fcn.0046c264
lea eax, [esp + 0xc10]
call fcn.0040a924
call fcn.0046c264
mov eax, 0x264
call fcn.00410804
call fcn.0046c264
call fcn.0044f218
xor ebx, ebx
push 1
push 0
lea ecx, [esp + 0x1018]
lea edx, [esp + 0xc18]
mov eax, 0x4adfd0
call fcn.00457b40
dec eax
je 0x447e11
mov bl, 1
lea eax, [esp + 0x1a20]
push eax
push 0
lea edx, [esp + 0xc18]
mov eax, 0x4adfd0
xor ecx, ecx
call fcn.004590e0
mov edx, dword [esp + 0x1a20]
sub edx, 1
jb 0x447dbd
je 0x447dd6
jmp 0x447def
lea eax, [edi + 0x176]
push eax
lea edx, [esp + 0x1a14]
push edx
call fcn.00482a00
add esp, 8
jmp 0x447e22
lea ecx, [edi + 0x707]
push ecx
lea eax, [esp + 0x1a14]
push eax
call fcn.00482a00
add esp, 8
jmp 0x447e22
xor edx, edx
mov dword [esp + 0x1a20], edx
lea ecx, [edi + 0x70b]
push ecx
lea eax, [esp + 0x1a14]
push eax
call fcn.00482a00
add esp, 8
jmp 0x447e22
lea edx, [esp + 0x1a10]
mov eax, 0x4adfd0
call fcn.00459040
lea edx, [esp + 0x1a10]
push edx
lea ecx, [edi + 0x70f]
push ecx
lea eax, [esp + 0x1818]
push eax
call fcn.00486578
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0046c264
mov eax, dword [esp + 0x1a20]
test eax, eax
je 0x447e73
dec eax
je 0x447e73
mov eax, 0x266
call fcn.00410804
call fcn.0046c264
inc dword [esp + 8]
jmp 0x447f8d
lea eax, [edi + 9]
call fcn.0046c264
mov edx, 0x4a84b8
lea eax, [esp + 0xc10]
call fcn.00409cf4
mov edx, 0x4a88b8
lea eax, [esp + 0x1010]
call fcn.00409d3c
mov edx, dword [esp + 0x1a20]
test bl, bl
mov dword [0x4a7c9c], edx
jne 0x447eb2
test esi, esi
jne 0x447ef3
lea ecx, [esp + 0xc10]
lea eax, [edi + 0x717]
push ecx
push 0x43d4bd
push dword [0x4ad5b4]
push eax
push dword [0x49edec]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x447fba
lea edx, [esp + 0x810]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x447f01
lea ecx, [esp + 0x810]
push ecx
call fcn.00484424
pop ecx
lea eax, [esp + 0x810]
push eax
push 0x4a5e3c
call fcn.00482a00
add esp, 8
call fcn.0046b7e4
mov eax, 0x4adfd0
call fcn.00454f9c
lea edx, [edi + 0x721]
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.00482a00
add esp, 8
mov eax, 0x4a84b8
call fcn.0040a924
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00482924
add esp, 8
xor edx, edx
lea eax, [esp + 0x10]
call fcn.00409944
test al, al
jne 0x447f8c
lea ecx, [edi + 0x728]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.00482a00
add esp, 8
mov eax, 0x4a84b8
call fcn.0040a924
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00482924
add esp, 8
inc esi
push 0x400
lea ecx, [esp + 0x1014]
lea edx, [esp + 0xc14]
mov eax, dword [esp + 4]
call fcn.0040e25c
test al, al
je 0x447fba
cmp dword [0x4afc18], 0
je 0x447cb0
test esi, esi
jne 0x447fd0
cmp dword [esp + 8], 0
jne 0x447fd0
push dword [0x4ad5b4]
call sub.USER32.DLL_DestroyWindow
cmp dword [esp + 4], 0
jne 0x447ffa
push 0x30
mov eax, 0x65
call fcn.00410804
push eax
mov eax, 0x14c
call fcn.00410804
push eax
push dword [0x4ad5a8]
call sub.USER32.DLL_MessageBoxA
cmp dword [0x4ad5b4], 0
je 0x44802c
cmp dword [0x4afc18], 0
je 0x448018
mov eax, 0x271
call fcn.00410804
jmp 0x448022
mov eax, 0x270
call fcn.00410804
call fcn.0046c264
call fcn.0046c2f0
cmp dword [0x4afc0c], 0
jne 0x448056
lea eax, [esp + 0x10]
xor edx, edx
call fcn.00409944
test al, al
je 0x44804a
lea edx, [esp + 0x10]
jmp 0x44804c
xor edx, edx
mov eax, 0x4ad5bc
call fcn.00459fd8
add esp, 0x1aa8
pop edi
pop esi
pop ebx
ret