Function at 0x44a4a0
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 0x44a4e9
push 0x30
mov eax, 0x65
call fcn.004116e8
push eax
mov eax, 0x14c
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
jmp 0x44a8d4
push 0
lea edx, [edi + 9]
xor ecx, ecx
mov eax, 3
call fcn.00475efc
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 0x44a80b
lea eax, [esp + 0xc10]
call fcn.0040b578
push eax
mov eax, 0x20c
call fcn.004116e8
push eax
lea edx, [esp + 0x1818]
push edx
call fcn.004908b8
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.004779f4
call fcn.00476f7c
lea edx, [esp + 0x410]
push edx
call fcn.0048f2ec
pop ecx
lea edx, [esp + 0x1010]
lea eax, [esp + 0xc10]
call fcn.0040a4fc
call fcn.0040a240
test al, al
jne 0x44a80b
inc dword [esp + 4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc10]
mov eax, 0x4b98a4
call fcn.00461614
test al, al
jne 0x44a838
test esi, esi
je 0x44a5c0
lea eax, [edi + 9]
call fcn.00477b04
lea eax, [esp + 0xc10]
call fcn.0040b578
call fcn.00477b04
mov eax, 0x264
call fcn.004116e8
call fcn.00477b04
call fcn.004525f4
xor ebx, ebx
push 1
push 0
lea ecx, [esp + 0x1018]
lea edx, [esp + 0xc18]
mov eax, 0x4ba5d4
call fcn.0045bd3c
dec eax
je 0x44a68f
mov bl, 1
lea eax, [esp + 0x1e20]
push eax
push 0
push 0
lea edx, [esp + 0xc1c]
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d344
mov edx, dword [esp + 0x1e20]
sub edx, 1
jb 0x44a63b
je 0x44a654
jmp 0x44a66d
lea eax, [edi + 0x1b9]
push eax
lea edx, [esp + 0x1e14]
push edx
call fcn.0048d8e8
add esp, 8
jmp 0x44a6a0
lea ecx, [edi + 0xbfe]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.0048d8e8
add esp, 8
jmp 0x44a6a0
xor edx, edx
mov dword [esp + 0x1e20], edx
lea ecx, [edi + 0xc02]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.0048d8e8
add esp, 8
jmp 0x44a6a0
lea edx, [esp + 0x1e10]
mov eax, 0x4ba5d4
call fcn.0045d2a4
lea edx, [esp + 0x1e10]
push edx
lea ecx, [edi + 0xc06]
push ecx
lea eax, [esp + 0x1818]
push eax
call fcn.004908b8
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.00477b04
mov eax, dword [esp + 0x1e20]
test eax, eax
je 0x44a6f1
dec eax
je 0x44a6f1
mov eax, 0x266
call fcn.004116e8
call fcn.00477b04
inc dword [esp + 8]
jmp 0x44a80b
lea eax, [edi + 9]
call fcn.00477b04
mov edx, 0x4b2734
lea eax, [esp + 0xc10]
call fcn.0040a568
mov edx, 0x4b2b34
lea eax, [esp + 0x1010]
call fcn.0040a5b0
mov edx, dword [esp + 0x1e20]
test bl, bl
mov dword [0x4b12ec], edx
jne 0x44a730
test esi, esi
jne 0x44a771
lea ecx, [esp + 0xc10]
lea eax, [edi + 0xc0e]
push ecx
push 0x4400be
push dword [0x4b989c]
push eax
push dword [0x4a7028]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x44a838
lea edx, [esp + 0x810]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x44a77f
lea ecx, [esp + 0x810]
push ecx
call fcn.0048f2ec
pop ecx
lea eax, [esp + 0x810]
push eax
push 0x4ae86c
call fcn.0048d8e8
add esp, 8
call fcn.00476f7c
mov eax, 0x4ba5d4
call fcn.00459044
lea edx, [edi + 0xc18]
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.0048d8e8
add esp, 8
mov eax, 0x4b2734
call fcn.0040b578
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0048d80c
add esp, 8
xor edx, edx
lea eax, [esp + 0x10]
call fcn.0040a0c8
test al, al
jne 0x44a80a
lea ecx, [edi + 0xc1f]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.0048d8e8
add esp, 8
mov eax, 0x4b2734
call fcn.0040b578
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0048d80c
add esp, 8
inc esi
push 0x400
lea ecx, [esp + 0x1014]
lea edx, [esp + 0xc14]
mov eax, dword [esp + 4]
call fcn.0040f064
test al, al
je 0x44a838
cmp dword [0x4bc224], 0
je 0x44a52c
test esi, esi
jne 0x44a84e
cmp dword [esp + 8], 0
jne 0x44a84e
push dword [0x4b989c]
call sub.USER32.DLL_DestroyWindow
cmp dword [esp + 4], 0
jne 0x44a878
push 0x30
mov eax, 0x65
call fcn.004116e8
push eax
mov eax, 0x14c
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
cmp dword [0x4b989c], 0
je 0x44a8aa
cmp dword [0x4bc224], 0
je 0x44a896
mov eax, 0x271
call fcn.004116e8
jmp 0x44a8a0
mov eax, 0x270
call fcn.004116e8
call fcn.00477b04
call fcn.00477b9c
cmp dword [0x4bc218], 0
jne 0x44a8d4
lea eax, [esp + 0x10]
xor edx, edx
call fcn.0040a0c8
test al, al
je 0x44a8c8
lea edx, [esp + 0x10]
jmp 0x44a8ca
xor edx, edx
mov eax, 0x4b98a4
call fcn.0045e350
add esp, 0x1eac
pop edi
pop esi
pop ebx
ret