Function at 0x44e3e4
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 0x44e44a
cmp dword [0x4c3de4], 1
jne 0x44e422
mov ecx, 0x4ba2b4
mov edx, 0x4b9eb4
mov eax, dword [esp]
call fcn.0040f74c
jmp 0x44e44a
push 0x30
mov eax, 0x65
call fcn.00411fe8
push eax
mov eax, 0x14c
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
jmp 0x44e835
push 0
lea edx, [edi + 9]
xor ecx, ecx
mov eax, 3
call fcn.0047c8e4
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 0x44e76c
lea eax, [esp + 0xc10]
call fcn.0040ba30
push eax
mov eax, 0x20c
call fcn.00411fe8
push eax
lea edx, [esp + 0x1818]
push edx
call fcn.00497928
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0047e4c0
call fcn.0047d960
lea edx, [esp + 0x410]
push edx
call fcn.0049635c
pop ecx
lea edx, [esp + 0x1010]
lea eax, [esp + 0xc10]
call fcn.0040a90c
call fcn.0040a650
test al, al
jne 0x44e76c
inc dword [esp + 4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc10]
mov eax, 0x4c1454
call fcn.00466978
test al, al
jne 0x44e799
test esi, esi
je 0x44e521
lea eax, [edi + 9]
call fcn.0047e5d0
lea eax, [esp + 0xc10]
call fcn.0040ba30
call fcn.0047e5d0
mov eax, 0x264
call fcn.00411fe8
call fcn.0047e5d0
call fcn.00456acc
xor ebx, ebx
push 1
push 0
lea ecx, [esp + 0x1018]
lea edx, [esp + 0xc18]
mov eax, 0x4c219c
call fcn.00460e08
dec eax
je 0x44e5f0
mov bl, 1
lea eax, [esp + 0x1e20]
push eax
push 0
push 0
lea edx, [esp + 0xc1c]
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004624c4
mov edx, dword [esp + 0x1e20]
sub edx, 1
jb 0x44e59c
je 0x44e5b5
jmp 0x44e5ce
lea eax, [edi + 0x1e1]
push eax
lea edx, [esp + 0x1e14]
push edx
call fcn.004949c8
add esp, 8
jmp 0x44e601
lea ecx, [edi + 0xc89]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.004949c8
add esp, 8
jmp 0x44e601
xor edx, edx
mov dword [esp + 0x1e20], edx
lea ecx, [edi + 0xc8d]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.004949c8
add esp, 8
jmp 0x44e601
lea edx, [esp + 0x1e10]
mov eax, 0x4c219c
call fcn.00462424
lea edx, [esp + 0x1e10]
push edx
lea ecx, [edi + 0xc91]
push ecx
lea eax, [esp + 0x1818]
push eax
call fcn.00497928
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0047e5d0
mov eax, dword [esp + 0x1e20]
test eax, eax
je 0x44e652
dec eax
je 0x44e652
mov eax, 0x266
call fcn.00411fe8
call fcn.0047e5d0
inc dword [esp + 8]
jmp 0x44e76c
lea eax, [edi + 9]
call fcn.0047e5d0
mov edx, 0x4b9eb4
lea eax, [esp + 0xc10]
call fcn.0040a978
mov edx, 0x4ba2b4
lea eax, [esp + 0x1010]
call fcn.0040a9c0
mov edx, dword [esp + 0x1e20]
test bl, bl
mov dword [0x4b8a6c], edx
jne 0x44e691
test esi, esi
jne 0x44e6d2
lea ecx, [esp + 0xc10]
lea eax, [edi + 0xc99]
push ecx
push 0x443b61
push dword [0x4c144c]
push eax
push dword [0x4ae754]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x44e799
lea edx, [esp + 0x810]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x44e6e0
lea ecx, [esp + 0x810]
push ecx
call fcn.0049635c
pop ecx
lea eax, [esp + 0x810]
push eax
push 0x4b5fd4
call fcn.004949c8
add esp, 8
call fcn.0047d960
mov eax, 0x4c219c
call fcn.0045e014
lea edx, [edi + 0xca3]
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.004949c8
add esp, 8
mov eax, 0x4b9eb4
call fcn.0040ba30
push eax
lea edx, [esp + 0x14]
push edx
call fcn.004948ec
add esp, 8
xor edx, edx
lea eax, [esp + 0x10]
call fcn.0040a4d8
test al, al
jne 0x44e76b
lea ecx, [edi + 0xcaa]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.004949c8
add esp, 8
mov eax, 0x4b9eb4
call fcn.0040ba30
push eax
lea edx, [esp + 0x14]
push edx
call fcn.004948ec
add esp, 8
inc esi
push 0x400
lea ecx, [esp + 0x1014]
lea edx, [esp + 0xc14]
mov eax, dword [esp + 4]
call fcn.0040f7d4
test al, al
je 0x44e799
cmp dword [0x4c3df0], 0
je 0x44e48d
test esi, esi
jne 0x44e7af
cmp dword [esp + 8], 0
jne 0x44e7af
push dword [0x4c144c]
call sub.USER32.DLL_DestroyWindow
cmp dword [esp + 4], 0
jne 0x44e7d9
push 0x30
mov eax, 0x65
call fcn.00411fe8
push eax
mov eax, 0x14c
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
cmp dword [0x4c144c], 0
je 0x44e80b
cmp dword [0x4c3df0], 0
je 0x44e7f7
mov eax, 0x271
call fcn.00411fe8
jmp 0x44e801
mov eax, 0x270
call fcn.00411fe8
call fcn.0047e5d0
call fcn.0047e668
cmp dword [0x4c3de0], 0
jne 0x44e835
lea eax, [esp + 0x10]
xor edx, edx
call fcn.0040a4d8
test al, al
je 0x44e829
lea edx, [esp + 0x10]
jmp 0x44e82b
xor edx, edx
mov eax, 0x4c1454
call fcn.0046364c
add esp, 0x1eac
pop edi
pop esi
pop ebx
ret