Function at 0x403a5c
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48452c
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1a4]
push ebx
push ebx
push 0x1032
push eax
call edi
cmp eax, 1
jb 0x403de7
lea ecx, [esp + 0x24]
push ebp
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ebp, vtable.CMenu.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x138], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x18]
call fcn.0047d48b
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x138], 1
call fcn.0048123a
mov eax, dword [eax + 0xc]
push 0x81
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x20]
call fcn.0047d48b
mov edx, dword [esp + 0x20]
push ebx
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0047d458
mov ebp, eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ebx
jle 0x403b63
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetMenuItemID]
mov ecx, dword [ebp + 4]
mov ebx, eax
push 0
lea eax, [esp + 0x34]
push 0x100
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetMenuStringA]
mov edx, dword [ebp + 4]
push 0
push ebx
push edx
call dword [sym.imp.USER32.dll_GetMenuState]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x403b09
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebx
push esi
push eax
push ecx
push 0x100
lea ecx, [esp + 0x28]
call fcn.004798ce
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.0047d4e2
lea eax, [ebp - 0x8003]
cmp eax, 5
ja case.default.0x403b97
jmp dword [eax*4 + 0x403e00]
mov edx, dword [esi + 0x1a4]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call edi
lea ebx, [eax + 1]
test ebx, ebx
je case.default.0x403b97
mov eax, dword [esi + 0x1a4]
lea ebp, [ebx - 1]
push 2
push ebp
push 0x100c
push eax
call edi
push 2
lea ecx, [esp + 0x14]
push ebp
push ecx
lea ecx, [esi + 0x188]
lea ebx, [eax + 1]
call fcn.00477db0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x403c06
mov edx, dword [esi + 0x1c]
push 5
push 0
push 0
push eax
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
call fcn.0047bf10
test ebx, ebx
jne 0x403bbb
jmp case.default.0x403b97
mov eax, dword [esi + 0x1a4]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call edi
lea ebx, [eax + 1]
test ebx, ebx
je case.default.0x403b97
mov ecx, dword [esi + 0x1a4]
lea ebp, [ebx - 1]
push 2
push ebp
push 0x100c
push ecx
call edi
push 3
lea edx, [esp + 0x14]
push ebp
push edx
lea ecx, [esi + 0x188]
lea ebx, [eax + 1]
call fcn.00477db0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x403c80
push 5
push 0
push 0
push eax
mov eax, dword [esi + 0x1c]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
call fcn.0047bf10
test ebx, ebx
jne 0x403c35
jmp case.default.0x403b97
mov ecx, dword [esi + 0x1a4]
push ebx
push ebx
push 0x1004
push ecx
xor ebp, ebp
call edi
cmp eax, ebx
jle case.default.0x403b97
push ebx
lea edx, [esp + 0x14]
push ebp
push edx
lea ecx, [esi + 0x188]
call fcn.00477db0
mov eax, dword [esp + 0x10]
push 0x496590
push eax
call fcn.0046517e
add esp, 8
test eax, eax
jne 0x403ce5
mov ecx, dword [esi + 0x1a4]
push ebx
push ebp
push 0x1008
push ecx
call edi
dec ebp
lea ecx, [esp + 0x10]
call fcn.0047bf10
mov edx, dword [esi + 0x1a4]
push ebx
push ebx
push 0x1004
push edx
inc ebp
call edi
cmp ebp, eax
jl 0x403cac
jmp case.default.0x403b97
mov eax, dword [esi + 0x1a4]
push ebx
push ebx
push 0x1004
push eax
xor ebp, ebp
call edi
cmp eax, ebx
jle case.default.0x403b97
push ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
lea ecx, [esi + 0x188]
call fcn.00477db0
mov edx, dword [esp + 0x10]
push 0x496614
push edx
call fcn.0046517e
add esp, 8
test eax, eax
jne 0x403d5b
mov eax, dword [esi + 0x1a4]
push ebx
push ebp
push 0x1008
push eax
call edi
dec ebp
lea ecx, [esp + 0x10]
call fcn.0047bf10
mov ecx, dword [esi + 0x1a4]
push ebx
push ebx
push 0x1004
push ecx
inc ebp
call edi
cmp ebp, eax
jl 0x403d22
jmp case.default.0x403b97
mov edx, dword [esi + 0x1a4]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call edi
cmp eax, 0xffffffff
je case.default.0x403b97
push ebx
push eax
mov eax, dword [esi + 0x1a4]
push 0x1008
push eax
call edi
jmp case.0x403b97.32773
mov ecx, dword [esi + 0x1a4]
push ebx
push ebx
push 0x1009
push ecx
call edi
mov esi, vtable.CMenu.0
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 2
call fcn.0047d4e2
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], 3
call fcn.0047d4e2
pop ebp
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret