Function at 0x44e5f0
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, 0x4a4c30
mov eax, dword [esp]
cmp dword [eax + 0x30], 0
jne 0x44e656
cmp dword [0x4c4ce4], 1
jne 0x44e62e
mov ecx, 0x4bb1b4
mov edx, 0x4badb4
mov eax, dword [esp]
call fcn.0040f784
jmp 0x44e656
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x14c
call fcn.0041202c
push eax
push dword [0x4c2340]
call sub.USER32.DLL_MessageBoxA
jmp 0x44ea41
push 0
lea edx, [edi + 9]
xor ecx, ecx
mov eax, 3
call fcn.0047cca0
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 0x44e978
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.00497dc4
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0047e890
call fcn.0047dd2c
lea edx, [esp + 0x410]
push edx
call fcn.004967f8
pop ecx
lea edx, [esp + 0x1010]
lea eax, [esp + 0xc10]
call fcn.0040a938
call fcn.0040a67c
test al, al
jne 0x44e978
inc dword [esp + 4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0xc10]
mov eax, 0x4c2354
call fcn.00466c1c
test al, al
jne 0x44e9a5
test esi, esi
je 0x44e72d
lea eax, [edi + 9]
call fcn.0047e9a0
lea eax, [esp + 0xc10]
call fcn.0040ba60
call fcn.0047e9a0
mov eax, 0x264
call fcn.0041202c
call fcn.0047e9a0
call fcn.00456d34
xor ebx, ebx
push 1
push 0
lea ecx, [esp + 0x1018]
lea edx, [esp + 0xc18]
mov eax, 0x4c309c
call fcn.0046109c
dec eax
je 0x44e7fc
mov bl, 1
lea eax, [esp + 0x1e20]
push eax
push 0
push 0
lea edx, [esp + 0xc1c]
mov eax, 0x4c309c
xor ecx, ecx
call fcn.00462758
mov edx, dword [esp + 0x1e20]
sub edx, 1
jb 0x44e7a8
je 0x44e7c1
jmp 0x44e7da
lea eax, [edi + 0x1e1]
push eax
lea edx, [esp + 0x1e14]
push edx
call fcn.00494e64
add esp, 8
jmp 0x44e80d
lea ecx, [edi + 0xc89]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.00494e64
add esp, 8
jmp 0x44e80d
xor edx, edx
mov dword [esp + 0x1e20], edx
lea ecx, [edi + 0xc8d]
push ecx
lea eax, [esp + 0x1e14]
push eax
call fcn.00494e64
add esp, 8
jmp 0x44e80d
lea edx, [esp + 0x1e10]
mov eax, 0x4c309c
call fcn.004626b8
lea edx, [esp + 0x1e10]
push edx
lea ecx, [edi + 0xc91]
push ecx
lea eax, [esp + 0x1818]
push eax
call fcn.00497dc4
add esp, 0xc
lea eax, [esp + 0x1810]
call fcn.0047e9a0
mov eax, dword [esp + 0x1e20]
test eax, eax
je 0x44e85e
dec eax
je 0x44e85e
mov eax, 0x266
call fcn.0041202c
call fcn.0047e9a0
inc dword [esp + 8]
jmp 0x44e978
lea eax, [edi + 9]
call fcn.0047e9a0
mov edx, 0x4badb4
lea eax, [esp + 0xc10]
call fcn.0040a9a4
mov edx, 0x4bb1b4
lea eax, [esp + 0x1010]
call fcn.0040a9ec
mov edx, dword [esp + 0x1e20]
test bl, bl
mov dword [0x4b996c], edx
jne 0x44e89d
test esi, esi
jne 0x44e8de
lea ecx, [esp + 0xc10]
lea eax, [edi + 0xc99]
push ecx
push 0x443d54
push dword [0x4c234c]
push eax
push dword [0x4af654]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x44e9a5
lea edx, [esp + 0x810]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
jmp 0x44e8ec
lea ecx, [esp + 0x810]
push ecx
call fcn.004967f8
pop ecx
lea eax, [esp + 0x810]
push eax
push 0x4b6ed4
call fcn.00494e64
add esp, 8
call fcn.0047dd2c
mov eax, 0x4c309c
call fcn.0045e28c
lea edx, [edi + 0xca3]
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.00494e64
add esp, 8
mov eax, 0x4badb4
call fcn.0040ba60
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00494d88
add esp, 8
xor edx, edx
lea eax, [esp + 0x10]
call fcn.0040a504
test al, al
jne 0x44e977
lea ecx, [edi + 0xcaa]
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.00494e64
add esp, 8
mov eax, 0x4badb4
call fcn.0040ba60
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00494d88
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 0x44e9a5
cmp dword [0x4c4cf0], 0
je 0x44e699
test esi, esi
jne 0x44e9bb
cmp dword [esp + 8], 0
jne 0x44e9bb
push dword [0x4c234c]
call sub.USER32.DLL_DestroyWindow
cmp dword [esp + 4], 0
jne 0x44e9e5
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x14c
call fcn.0041202c
push eax
push dword [0x4c2340]
call sub.USER32.DLL_MessageBoxA
cmp dword [0x4c234c], 0
je 0x44ea17
cmp dword [0x4c4cf0], 0
je 0x44ea03
mov eax, 0x271
call fcn.0041202c
jmp 0x44ea0d
mov eax, 0x270
call fcn.0041202c
call fcn.0047e9a0
call fcn.0047ea38
cmp dword [0x4c4ce0], 0
jne 0x44ea41
lea eax, [esp + 0x10]
xor edx, edx
call fcn.0040a504
test al, al
je 0x44ea35
lea edx, [esp + 0x10]
jmp 0x44ea37
xor edx, edx
mov eax, 0x4c2354
call fcn.004638e8
add esp, 0x1eac
pop edi
pop esi
pop ebx
ret