Function at 0x4295a0
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x58664f
call fcn.0055ae59
mov esi, ecx
mov dword [ebp - 0x238], esi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42987f
lea ecx, [esi + 0x1c]
xor edi, edi
mov eax, dword [ecx]
mov dword [ebp - 0x234], edi
cmp dword [eax - 0xc], edi
jne 0x4295e9
cmp dword [ebx + 0xc], edi
je 0x4295e9
push edi
push ecx
push dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
call fcn.0043e30f
lea ecx, [esi + 0x1c]
mov eax, dword [esi + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
jne 0x429625
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], edi
je 0x42960c
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x595a54]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax]
mov ecx, esi
call dword [0x595a54]
mov ecx, ebx
call esi
call fcn.0055ae08
ret 4
cmp dword [ebx + 0xc], edi
je 0x42961d
mov edx, edi
mov dword [ebp - 0x230], edi
cmp dword [esi + 4], edi
jle 0x42965c
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
add eax, edx
push edi
push eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_DeleteMenu]
mov edx, dword [ebp - 0x230]
inc edx
mov dword [ebp - 0x230], edx
cmp edx, dword [esi + 4]
jl 0x429637
lea eax, [ebp - 0x22c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42961d
cmp eax, 0x104
jae 0x42961d
lea eax, [ebp - 0x22c]
push eax
call fcn.005668e8
pop ecx
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x22c], cx
inc eax
mov dword [ebp - 0x240], eax
add eax, eax
cmp eax, 0x208
jae 0x42987a
xor ecx, ecx
mov word [ebp + eax - 0x22c], cx
lea ecx, [ebp - 0x23c]
call fcn.00407af5
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], edi
call fcn.00407af5
mov byte [ebp - 4], 1
cmp dword [esi + 4], edi
jle 0x429840
mov eax, dword [esi]
push 1
push dword [ebp - 0x240]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x22c]
push eax
push edi
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call dword [0x595a54]
mov ecx, dword [ebp - 0x238]
call esi
test eax, eax
je 0x429840
mov esi, dword [ebp - 0x23c]
lea ecx, [ebp - 0x230]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
call fcn.00409583
mov ecx, eax
movzx eax, word [esi]
test ax, ax
je 0x429756
push 0x26
mov edx, eax
pop edi
cmp dx, di
jne 0x42973a
mov word [ecx], di
add ecx, 2
movzx eax, word [esi]
add esi, 2
mov word [ecx], ax
add ecx, 2
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x42972f
mov edi, dword [ebp - 0x234]
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x230]
push 0xffffffffffffffff
call fcn.0040bd5d
mov ecx, dword [ebp - 0x238]
push 0xa
mov eax, dword [ecx + 0x14]
add eax, edi
and eax, 0xf
inc eax
pop ecx
cmp eax, ecx
jbe 0x429786
push eax
push 0x59c690
jmp 0x4297a5
jne 0x42979f
push str.10
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.00567289
push eax
call fcn.004081e6
jmp 0x4297af
push eax
push str._d
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.0040c01e
mov edi, dword [ebx + 0xc]
lea eax, [ebp - 0x24]
add esp, 0x10
lea ecx, [ebp - 0x248]
push eax
call fcn.00407a4b
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.00428fad
mov edx, dword [ebx + 4]
add esp, 0xc
mov ecx, dword [ebx + 8]
mov esi, dword [eax]
push esi
push edx
lea eax, [edx + 1]
mov dword [ebx + 4], eax
lea eax, [ecx + 1]
push 0x400
push ecx
mov dword [ebx + 8], eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InsertMenuW]
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.00407117
mov ecx, dword [ebp - 0x248]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00407117
mov edi, dword [ebp - 0x234]
mov esi, dword [ebp - 0x238]
inc edi
mov dword [ebp - 0x234], edi
cmp edi, dword [esi + 4]
jl 0x4296d5
mov eax, dword [ebx + 0xc]
dec dword [ebx + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ecx, dword [ebp - 0x230]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x18], 1
lea ecx, [ecx - 0x10]
call fcn.00407117
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00407117
jmp 0x42961d
call fcn.0055b3cc
call fcn.00419557
int3