Function at 0x44e67c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff004
push eax
add esp, 0xfffff154
mov dword [esp], eax
mov edi, str.MAIN_MENU
mov eax, dword [esp]
cmp dword [eax + 0x30], 0
jne 0x44e6e2
cmp dword [0x4c4de4], 1
jne 0x44e6ba
mov ecx, 0x4bb2b4
mov edx, 0x4baeb4
mov eax, dword [esp]
call fcn.0040f784
jmp 0x44e6e2
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x14c
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
jmp 0x44eacd
push 0
lea edx, [edi + 9]
xor ecx, ecx
mov eax, 3
call fcn.0047cd94
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 0x44ea04
lea eax, [esp + 0xc10]
call fcn.0040ba60
push eax
mov eax, 0x20c
call fcn.0041202c
push eax
lea edx, [esp + 0x1818]
push edx
call fcn.00497eb8
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0047e984
call fcn.0047de20
lea edx, [esp + 0x410]
push edx
call fcn.004968ec
pop ecx
lea edx, [esp + 0x1010]
lea eax, [esp + 0xc10]
call fcn.0040a938
call fcn.0040a67c
test al, al
jne 0x44ea04
inc dword [esp + 4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc10]
mov eax, 0x4c2454
call fcn.00466ca8
test al, al
jne 0x44ea31
test esi, esi
je 0x44e7b9
lea eax, [edi + 9]
call fcn.0047ea94
lea eax, [esp + 0xc10]
call fcn.0040ba60
call fcn.0047ea94
mov eax, 0x264
call fcn.0041202c
call fcn.0047ea94
call fcn.00456dc0
xor ebx, ebx
push 1
push 0
lea ecx, [esp + 0x1018]
lea edx, [esp + 0xc18]
mov eax, 0x4c319c
call fcn.00461128
dec eax
je 0x44e888
mov bl, 1
lea eax, [esp + 0x1e20]
push eax
push 0
push 0
lea edx, [esp + 0xc1c]
mov eax, 0x4c319c
xor ecx, ecx
call fcn.004627e4
mov edx, dword [esp + 0x1e20]
sub edx, 1
jb 0x44e834
je 0x44e84d
jmp 0x44e866
lea eax, [edi + 0x1e1]
push eax
lea edx, [esp + 0x1e14]
push edx
call fcn.00494f58
add esp, 8
jmp 0x44e899
lea ecx, [edi + 0xc89]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.00494f58
add esp, 8
jmp 0x44e899
xor edx, edx
mov dword [esp + 0x1e20], edx
lea ecx, [edi + 0xc8d]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.00494f58
add esp, 8
jmp 0x44e899
lea edx, [esp + 0x1e10]
mov eax, 0x4c319c
call fcn.00462744
lea edx, [esp + 0x1e10]
push edx
lea ecx, [edi + 0xc91]
push ecx
lea eax, [esp + 0x1818]
push eax
call fcn.00497eb8
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0047ea94
mov eax, dword [esp + 0x1e20]
test eax, eax
je 0x44e8ea
dec eax
je 0x44e8ea
mov eax, 0x266
call fcn.0041202c
call fcn.0047ea94
inc dword [esp + 8]
jmp 0x44ea04
lea eax, [edi + 9]
call fcn.0047ea94
mov edx, 0x4baeb4
lea eax, [esp + 0xc10]
call fcn.0040a9a4
mov edx, 0x4bb2b4
lea eax, [esp + 0x1010]
call fcn.0040a9ec
mov edx, dword [esp + 0x1e20]
test bl, bl
mov dword [0x4b9a6c], edx
jne 0x44e929
test esi, esi
jne 0x44e96a
lea ecx, [esp + 0xc10]
lea eax, [edi + 0xc99]
push ecx
push 0x443dd1
push dword [0x4c244c]
push eax
push dword [0x4af754]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x44ea31
lea edx, [esp + 0x810]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x44e978
lea ecx, [esp + 0x810]
push ecx
call fcn.004968ec
pop ecx
lea eax, [esp + 0x810]
push eax
push 0x4b6fd4
call fcn.00494f58
add esp, 8
call fcn.0047de20
mov eax, 0x4c319c
call fcn.0045e318
lea edx, [edi + 0xca3]
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.00494f58
add esp, 8
mov eax, 0x4baeb4
call fcn.0040ba60
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00494e7c
add esp, 8
xor edx, edx
lea eax, [esp + 0x10]
call fcn.0040a504
test al, al
jne 0x44ea03
lea ecx, [edi + 0xcaa]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.00494f58
add esp, 8
mov eax, 0x4baeb4
call fcn.0040ba60
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00494e7c
add esp, 8
inc esi
push 0x400
lea ecx, [esp + 0x1014]
lea edx, [esp + 0xc14]
mov eax, dword [esp + 4]
call fcn.0040f80c
test al, al
je 0x44ea31
cmp dword [0x4c4df0], 0
je 0x44e725
test esi, esi
jne 0x44ea47
cmp dword [esp + 8], 0
jne 0x44ea47
push dword [0x4c244c]
call sub.USER32.DLL_DestroyWindow
cmp dword [esp + 4], 0
jne 0x44ea71
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x14c
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
cmp dword [0x4c244c], 0
je 0x44eaa3
cmp dword [0x4c4df0], 0
je 0x44ea8f
mov eax, 0x271
call fcn.0041202c
jmp 0x44ea99
mov eax, 0x270
call fcn.0041202c
call fcn.0047ea94
call fcn.0047eb2c
cmp dword [0x4c4de0], 0
jne 0x44eacd
lea eax, [esp + 0x10]
xor edx, edx
call fcn.0040a504
test al, al
je 0x44eac1
lea edx, [esp + 0x10]
jmp 0x44eac3
xor edx, edx
mov eax, 0x4c2454
call fcn.00463974
add esp, 0x1eac
pop edi
pop esi
pop ebx
ret