Function at 0x43e7e0
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x5672f1
call fcn.005140b0
mov ebx, ecx
mov eax, dword [ebx]
mov dword [ebp - 0x134], ebx
call dword [eax + 0x19c]
mov edi, eax
mov eax, dword [ebx + 0xdbc]
xor esi, esi
cmp eax, esi
je 0x43e889
push eax
call dword [sym.imp.USER32.dll_IsMenu]
neg eax
sbb eax, eax
neg eax
jne 0x43e821
call fcn.004308a9
cmp dword [ebx + 0x120], esi
jne 0x43e83e
push edi
push dword [ebx + 0xdbc]
mov ecx, 0x5d3650
call fcn.004cb04c
test eax, eax
jne 0x43e889
call fcn.0043a7cf
test eax, eax
je 0x43e864
mov eax, dword [edi]
push 1
push dword [ebx + 0xdbc]
mov ecx, edi
call dword [eax + 0x410]
test eax, eax
jne 0x43e889
xor eax, eax
jmp 0x43ed4b
mov edx, dword [edi]
xor eax, eax
cmp dword [ebx + 0x120], esi
setne al
xor ecx, ecx
cmp eax, esi
sete cl
push ecx
push dword [ebx + 0xdbc]
mov ecx, edi
call dword [edx + 0x410]
jmp 0x43e859
call fcn.004312b0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x12c], eax
cmp eax, esi
je 0x43eae4
cmp dword [0x5d0c94], esi
jne 0x43eae4
mov eax, dword [edi + 0xb08]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], eax
cmp eax, esi
je 0x43eae4
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [edi + 0xb04]
call fcn.0040a2d8
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x43e81c
cmp dword [esi + 0x20], 0xe110
jne 0x43e914
push str.Recent_File
lea ecx, [esi + 0x2c]
call fcn.0040b537
test eax, eax
je 0x43e935
mov esi, dword [esi + 0x24]
mov eax, dword [ebp - 0x120]
and esi, 1
inc dword [ebp - 0x11c]
mov dword [ebp - 0x124], esi
test eax, eax
jne 0x43e8d1
jmp 0x43eae2
push dword [ebp - 0x128]
lea ecx, [edi + 0xb04]
call fcn.00495448
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, dword [ebp - 0x12c]
mov byte [ebp + esi - 0x114], 0x5c
xor ebx, ebx
inc esi
cmp dword [eax + 4], ebx
mov byte [ebp + esi - 0x114], 0
mov dword [ebp - 0x118], ebx
jle 0x43ea82
lea ecx, [ebp - 0x128]
call fcn.00402270
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
push 1
push esi
lea edx, [ebp - 0x114]
push edx
push ebx
lea edx, [ebp - 0x128]
push edx
call dword [eax + 8]
test eax, eax
je 0x43ea57
lea ecx, [ebp - 0x130]
call fcn.00402270
push dword [ebp - 0x128]
inc dword [ebp - 0x118]
push dword [ebp - 0x118]
lea eax, [ebp - 0x130]
push str._d__s
push eax
mov byte [ebp - 4], 1
call fcn.00402307
add esp, 0x10
push 0
push dword [ebp - 0x130]
lea eax, [ebx + 0xe110]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.004183f3
push dword [ebp - 0x11c]
mov edx, dword [edi]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call dword [edx + 0x320]
inc dword [ebp - 0x11c]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.00416df6
mov ecx, dword [ebp - 0x130]
add ecx, 0xfffffff0
call fcn.00401188
mov ecx, dword [ebp - 0x128]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401188
mov eax, dword [ebp - 0x12c]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x43e998
cmp dword [ebp - 0x118], 0
jne 0x43eadc
cmp dword [ebp - 0x124], 0
je 0x43eadc
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x43eadc
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x120]
lea ebx, [edi + 0xb04]
push eax
mov ecx, ebx
call fcn.0040a2d8
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x43e81c
test byte [esi + 0x24], 1
je 0x43eadc
push dword [ebp - 0x128]
mov ecx, ebx
call fcn.00495448
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x134]
xor esi, esi
cmp dword [0x5d17d4], esi
je 0x43ecee
cmp dword [0x5d0c94], esi
jne 0x43ecee
mov eax, dword [edi + 0xb08]
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], eax
cmp eax, esi
je 0x43ecee
jmp 0x43eb2a
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x120]
lea ebx, [edi + 0xb04]
push eax
mov ecx, ebx
call fcn.0040a2d8
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x43e81c
mov eax, dword [0x5d17d4]
mov ecx, dword [eax + 0x20]
cmp ecx, dword [esi + 0x20]
jne 0x43ec9d
cmp dword [0x5d185c], 0
lea ebx, [eax + 4]
je 0x43eb78
cmp dword [ebx + 0xc], 0
je 0x43eb92
push dword [ebp - 0x12c]
lea ecx, [edi + 0xb04]
call fcn.00495448
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x124], 0
jne 0x43ecd5
xor esi, esi
cmp dword [ebp - 0x11c], esi
jne 0x43ebcc
cmp dword [ebx + 0xc], esi
je 0x43ebcc
cmp dword [edi + 0xb10], esi
je 0x43ebcc
push dword [ebp - 0x118]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x324]
inc dword [ebp - 0x118]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x124], eax
cmp eax, esi
je 0x43ec5f
lea eax, [ebp - 0x124]
push eax
mov ecx, ebx
call fcn.00416be3
mov esi, eax
mov eax, dword [esi + 0x10]
push 1
push eax
call fcn.00446c81
mov ecx, eax
call fcn.00446deb
mov ecx, dword [esi + 4]
mov esi, dword [esi + 0x10]
xor edx, edx
cmp eax, 0xffffffff
setne dl
push edx
push ecx
mov ecx, eax
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push 0
push esi
lea ecx, [ebp - 0x21c]
call fcn.004183f3
push dword [ebp - 0x118]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call dword [edx + 0x320]
inc dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00416df6
cmp dword [ebp - 0x124], 0
jne 0x43ebdd
xor esi, esi
cmp dword [ebp - 0x120], esi
je 0x43ec91
push dword [ebp - 0x118]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x324]
inc dword [ebp - 0x118]
mov dword [ebp - 0x11c], 1
test eax, eax
jge 0x43ec91
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x124], 1
jmp 0x43ecd5
test byte [esi + 0x24], 1
je 0x43ecce
cmp dword [ebp - 0x11c], 0
je 0x43ecc2
push dword [ebp - 0x12c]
mov ecx, ebx
call fcn.00495448
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x11c], 1
jmp 0x43ecd5
and dword [ebp - 0x11c], 0
inc dword [ebp - 0x118]
cmp dword [ebp - 0x120], 0
jne 0x43eb24
mov ebx, dword [ebp - 0x134]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3a0]
mov esi, eax
test esi, esi
je 0x43ed0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
test eax, eax
jne 0x43ed15
push ebx
call fcn.00447c0a
pop ecx
mov esi, eax
test esi, esi
je 0x43ed26
mov eax, dword [edi]
push 0
push esi
mov ecx, edi
call dword [eax + 0x21c]
push ebx
push ebx
call fcn.00416cf6
pop ecx
push eax
call fcn.0043c00b
test eax, eax
je 0x43e85d
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x150]
xor eax, eax
inc eax
call fcn.00514133
ret