Function at 0x44a3d8
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 0x44a421
push 0x30
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x14c
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
jmp 0x44a80c
push 0
lea edx, [edi + 9]
xor ecx, ecx
mov eax, 3
call fcn.00475d6c
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 0x44a743
lea eax, [esp + 0xc10]
call fcn.0040b578
push eax
mov eax, 0x20c
call fcn.004116e0
push eax
lea edx, [esp + 0x1818]
push edx
call fcn.00490628
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.00477864
call fcn.00476dec
lea edx, [esp + 0x410]
push edx
call fcn.0048f15c
pop ecx
lea edx, [esp + 0x1010]
lea eax, [esp + 0xc10]
call fcn.0040a4fc
call fcn.0040a240
test al, al
jne 0x44a743
inc dword [esp + 4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc10]
mov eax, 0x4b9834
call fcn.004614a0
test al, al
jne 0x44a770
test esi, esi
je 0x44a4f8
lea eax, [edi + 9]
call fcn.00477974
lea eax, [esp + 0xc10]
call fcn.0040b578
call fcn.00477974
mov eax, 0x264
call fcn.004116e0
call fcn.00477974
call fcn.004524d0
xor ebx, ebx
push 1
push 0
lea ecx, [esp + 0x1018]
lea edx, [esp + 0xc18]
mov eax, 0x4ba564
call fcn.0045bbc8
dec eax
je 0x44a5c7
mov bl, 1
lea eax, [esp + 0x1e20]
push eax
push 0
push 0
lea edx, [esp + 0xc1c]
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d1d0
mov edx, dword [esp + 0x1e20]
sub edx, 1
jb 0x44a573
je 0x44a58c
jmp 0x44a5a5
lea eax, [edi + 0x1b9]
push eax
lea edx, [esp + 0x1e14]
push edx
call fcn.0048d758
add esp, 8
jmp 0x44a5d8
lea ecx, [edi + 0xbfe]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.0048d758
add esp, 8
jmp 0x44a5d8
xor edx, edx
mov dword [esp + 0x1e20], edx
lea ecx, [edi + 0xc02]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.0048d758
add esp, 8
jmp 0x44a5d8
lea edx, [esp + 0x1e10]
mov eax, 0x4ba564
call fcn.0045d130
lea edx, [esp + 0x1e10]
push edx
lea ecx, [edi + 0xc06]
push ecx
lea eax, [esp + 0x1818]
push eax
call fcn.00490628
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.00477974
mov eax, dword [esp + 0x1e20]
test eax, eax
je 0x44a629
dec eax
je 0x44a629
mov eax, 0x266
call fcn.004116e0
call fcn.00477974
inc dword [esp + 8]
jmp 0x44a743
lea eax, [edi + 9]
call fcn.00477974
mov edx, 0x4b26c4
lea eax, [esp + 0xc10]
call fcn.0040a568
mov edx, 0x4b2ac4
lea eax, [esp + 0x1010]
call fcn.0040a5b0
mov edx, dword [esp + 0x1e20]
test bl, bl
mov dword [0x4b127c], edx
jne 0x44a668
test esi, esi
jne 0x44a6a9
lea ecx, [esp + 0xc10]
lea eax, [edi + 0xc0e]
push ecx
push 0x440082
push dword [0x4b982c]
push eax
push dword [0x4a6fb8]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x44a770
lea edx, [esp + 0x810]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x44a6b7
lea ecx, [esp + 0x810]
push ecx
call fcn.0048f15c
pop ecx
lea eax, [esp + 0x810]
push eax
push 0x4ae7fc
call fcn.0048d758
add esp, 8
call fcn.00476dec
mov eax, 0x4ba564
call fcn.00458ed0
lea edx, [edi + 0xc18]
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.0048d758
add esp, 8
mov eax, 0x4b26c4
call fcn.0040b578
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0048d67c
add esp, 8
xor edx, edx
lea eax, [esp + 0x10]
call fcn.0040a0c8
test al, al
jne 0x44a742
lea ecx, [edi + 0xc1f]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.0048d758
add esp, 8
mov eax, 0x4b26c4
call fcn.0040b578
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0048d67c
add esp, 8
inc esi
push 0x400
lea ecx, [esp + 0x1014]
lea edx, [esp + 0xc14]
mov eax, dword [esp + 4]
call fcn.0040f05c
test al, al
je 0x44a770
cmp dword [0x4bc1b4], 0
je 0x44a464
test esi, esi
jne 0x44a786
cmp dword [esp + 8], 0
jne 0x44a786
push dword [0x4b982c]
call sub.USER32.DLL_DestroyWindow
cmp dword [esp + 4], 0
jne 0x44a7b0
push 0x30
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x14c
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
cmp dword [0x4b982c], 0
je 0x44a7e2
cmp dword [0x4bc1b4], 0
je 0x44a7ce
mov eax, 0x271
call fcn.004116e0
jmp 0x44a7d8
mov eax, 0x270
call fcn.004116e0
call fcn.00477974
call fcn.00477a0c
cmp dword [0x4bc1a8], 0
jne 0x44a80c
lea eax, [esp + 0x10]
xor edx, edx
call fcn.0040a0c8
test al, al
je 0x44a800
lea edx, [esp + 0x10]
jmp 0x44a802
xor edx, edx
mov eax, 0x4b9834
call fcn.0045e1dc
add esp, 0x1eac
pop edi
pop esi
pop ebx
ret