Function at 0x100148c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1007ae0b
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x110]
mov ebx, ecx
mov ecx, dword [esp + 0x108]
mov dword [edi], 1
mov al, byte [ebx + 0x84]
and al, 1
je 0x1001490d
cmp cx, 0xd
je 0x1001490d
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x10014917
mov dword [esp + 0x18], 0x10001
xor ebp, ebp
test al, al
je 0x10014aa5
mov edx, ecx
shr edx, 0x10
cmp edx, 0x10
jne 0x10014a9d
mov esi, dword [esp + 0x10c]
mov dword [esp + 0x3c], esi
push esi
mov dword [esp + 0x100], ebp
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x13], 0
jle 0x10014bd9
jmp 0x10014970
mov esi, dword [esp + 0x10c]
lea esp, [esp]
xor eax, eax
mov ecx, 0xc
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push ecx
push 1
push ebp
lea eax, [esp + 0x9c]
push esi
mov dword [esp + 0x50], 0x30
mov dword [esp + 0x78], 0x64
mov dword [esp + 0x54], 0x3f
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x10014a34
mov eax, dword [esp + 0x48]
test ah, 8
jne 0x10014a34
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10014a34
cmp dword [eax], 0x1313
jne 0x10014a34
mov eax, dword [eax + 4]
test eax, eax
je 0x10014a34
mov cl, byte [eax]
test cl, cl
je 0x10014a34
lea ecx, [ecx]
cmp cl, 0x26
je 0x100149f4
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x100149e0
jmp 0x10014a34
cmp byte [eax], 0
je 0x10014a34
movsx edx, byte [eax + 1]
movsx eax, byte [esp + 0x108]
mov edi, dword [sym.imp.USER32.dll_CharLowerA]
movzx ecx, ax
push ecx
movzx esi, dx
call edi
push esi
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x10014a34
mov al, byte [esp + 0x13]
test al, al
jne 0x10014a43
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x10014965
jmp 0x10014a4b
mov dword [esp + 0x14], 3
mov al, byte [esp + 0x13]
test al, al
je 0x10014bd9
mov esi, dword [esp + 0x14]
cmp esi, 2
jne 0x10014a7a
mov edx, dword [ebx + 4]
push 0
push 0xffffffffffffffff
push 0x448
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, ebx
call fcn.10014c30
mov eax, dword [esp + 0x110]
movzx ecx, word [esp + 0x1c]
mov dword [eax], 1
movzx eax, si
shl eax, 0x10
or eax, ecx
mov dword [esp + 0x18], eax
jmp 0x10014bd9
test al, al
jne 0x10014bd9
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
movsx eax, cl
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x14]
push edx
push eax
push 0x44e
push ecx
mov dword [esp + 0x24], ebp
call esi
test eax, eax
jne 0x10014b0a
push ebp
push 0xffffffffffffffff
mov dword [edi], ebp
mov edx, dword [ebx + 4]
push 0x448
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, ebx
call fcn.10014c30
cmp byte [esp + 0x108], 0x2f
jne 0x10014bd9
mov ecx, ebx
call fcn.10014200
test al, al
je 0x10014bd9
mov dword [edi], 1
jmp 0x10014bd9
mov eax, dword [ebx + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10014bd9
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 4]
lea eax, [esp + 0x80]
push eax
push ecx
push 0x41d
push edx
call esi
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x38], eax
push edx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
push 0x417
push eax
mov dword [esp + 0x38], ebp
call esi
mov al, byte [esp + 0x30]
test al, 4
je 0x10014bd2
test al, 8
jne 0x10014bd2
mov ecx, dword [esp + 0x88]
cmp ecx, dword [esp + 0x78]
jg 0x10014bd2
mov al, byte [ebx + 0x85]
test al, 2
je 0x10014ba6
test al, 4
jne 0x10014ba6
or al, 8
push 1
mov ecx, ebx
mov byte [ebx + 0x85], al
call fcn.10014540
mov ecx, ebx
call fcn.10014c00
mov edx, dword [ebx + 4]
push ebp
push 0x28
push 0x100
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
push ebp
push eax
push 0x448
push ecx
call esi
jmp 0x10014bd9
push ebp
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf0
ret 0x10