Function at 0x4324a2
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4457fc
call fcn.00410f80
sub esp, 0x124
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0xc]
lea ebx, [edi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ecx - 8], 0
jne 0x4324ff
test eax, eax
je 0x4324ff
mov eax, dword [esi + 4]
push 0
mov dword [ebp + 8], eax
mov eax, 0x100
push eax
push eax
mov ecx, ebx
call fcn.00431728
push eax
mov eax, dword [ebp - 0x18]
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetMenuStringA]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00431777
mov eax, dword [edi + 8]
mov ecx, dword [eax]
xor eax, eax
cmp dword [ecx - 8], eax
jne 0x432527
mov ebx, dword [ebx]
cmp dword [ebx - 8], eax
je 0x43251a
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
jmp 0x4326d2
cmp dword [esi + 0xc], eax
je 0x4326d2
xor ebx, ebx
cmp dword [edi + 4], eax
jle 0x432551
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
add eax, ebx
push 0
push eax
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_DeleteMenu]
inc ebx
cmp ebx, dword [edi + 4]
jl 0x432537
lea eax, [ebp - 0x130]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x483950]
mov byte [ebp + eax - 0x130], 0x5c
and byte [ebp + eax - 0x12f], 0
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ebx
cmp dword [edi + 4], ebx
mov byte [ebp - 4], 1
jle 0x4326a1
jmp 0x4325a7
mov eax, dword [ebp - 0x18]
push 1
push eax
lea eax, [ebp - 0x130]
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0043239c
test eax, eax
je 0x4326a1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
mov eax, dword [eax - 8]
add eax, eax
push eax
call fcn.00431728
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x43260a
cmp dl, 0x26
jne 0x4325ea
mov byte [eax], dl
inc eax
mov dl, byte [ecx]
mov byte [ebp + 0xb], dl
movzx edx, dl
test byte [edx + 0x48a0e1], 4
je 0x432602
mov dl, byte [ebp + 0xb]
mov byte [eax], dl
inc eax
inc ecx
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
jmp 0x4325dc
and byte [eax], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00431777
mov eax, dword [edi + 0x14]
push 0xa
xor edx, edx
pop ecx
lea eax, [eax + ebx + 1]
div ecx
lea eax, [ebp - 0x2c]
push edx
push str._d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
call fcn.00431366
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00431527
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
push dword [ebp + 8]
lea edx, [ecx + 1]
mov dword [esi + 8], edx
lea edx, [eax + 1]
push eax
mov eax, dword [esi + 0xc]
push 0x400
push ecx
mov dword [esi + 4], edx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InsertMenuA]
lea ecx, [ebp - 0x1c]
call fcn.004312f8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004312f8
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4325a4
mov eax, dword [esi + 0xc]
dec dword [esi + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], 1
call fcn.004312f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004312f8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4