Function at 0x43c944
Capabilities:
Get common file path

Disassembly:
mov eax, 0x452b18
call fcn.00417068
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 0x43c9a1
test eax, eax
je 0x43c9a1
mov eax, dword [esi + 4]
push 0
mov dword [ebp + 8], eax
mov eax, 0x100
push eax
push eax
mov ecx, ebx
call fcn.0043a881
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.0043a8d0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
xor eax, eax
cmp dword [ecx - 8], eax
jne 0x43c9c9
mov ebx, dword [ebx]
cmp dword [ebx - 8], eax
je 0x43c9bc
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 0x43cb74
cmp dword [esi + 0xc], eax
je 0x43cb74
xor ebx, ebx
cmp dword [edi + 4], eax
jle 0x43c9f3
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 0x43c9d9
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 [0x46496c]
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 0x43cb43
jmp 0x43ca49
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.0043c83e
test eax, eax
je 0x43cb43
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.0043a881
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x43caac
cmp dl, 0x26
jne 0x43ca8c
mov byte [eax], dl
inc eax
mov dl, byte [ecx]
mov byte [ebp + 0xb], dl
movzx edx, dl
test byte [edx + 0x46b749], 4
je 0x43caa4
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 0x43ca7e
and byte [eax], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0043a8d0
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.0043a4bf
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043a680
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.0043a451
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0043a451
inc ebx
cmp ebx, dword [edi + 4]
jl 0x43ca46
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.0043a451
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043a451
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4