Function at 0x14008e370
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r12, rdx
mov qword [rbp - 0x68], rdx
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor esi, esi
mov r15d, esi
mov dword [rsp + 0x58], esi
call fcn.14000c980
mov r14, rax
mov rcx, r12
call qword [sym.imp.USER32.dll_GetMenu]
mov qword [rbx + 0x979d0], rax
movzx ecx, byte [r14 + 0x170]
neg cl
sbb edx, edx
add edx, 6
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.USER32.dll_RemoveMenu]
lea rax, [rbx + 0x490]
mov qword [rbx + 0x640], rax
lea rcx, [rbx + 0x6f0]
mov qword [rbx + 0x8d0], rcx
lea rax, [rbx + 0x568]
mov qword [rbx + 0x648], rax
lea rdi, [rbx + 0x650]
mov qword [rbx + 0x8d8], rdi
mov rax, qword [rbx]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
mov rax, qword [rbx]
mov r9, qword [rdi]
mov r8, r12
mov rdx, qword [rax + 8]
mov rcx, rdi
call qword [r9 + 8]
mov rax, qword [rbx]
mov r9, qword [rbx + 0x830]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0x830]
call qword [r9 + 8]
call fcn.14004a480
mov rcx, rax
lea r8, [rbx + 0x830]
mov rdx, rbx
call fcn.14001f640
mov rdx, r12
mov rcx, r14
call fcn.1400e9520
mov byte [rbx + 0x98408], 1
mov dword [rbx + 0x9840c], esi
mov r13d, dword [r14 + 0x98]
mov eax, r13d
shr eax, 3
and al, 1
mov byte [rbx + 0xc00], al
mov ecx, 0x14
mov eax, InitCommonControls
cmovne ecx, eax
lea r8d, [rsi + 0x60]
mov edx, dword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov rcx, qword [rbx]
lea rsi, [rbx + 0xb60]
mov dword [rsp + 0x20], 4
lea r9, [0x1402a29b0]
mov r8, qword [rcx + 8]
mov edx, eax
mov rcx, rsi
call fcn.140074940
mov rcx, qword [rbx]
mov dword [rsp + 0x20], 4
lea r9, [0x1402a29c0]
mov r8, qword [rcx + 8]
mov edx, edi
lea rcx, [rbx + 0xb80]
call fcn.140074940
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rsp + 0x50], rsi
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400629d0
lea rax, [rbx + 0xb80]
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x78]
cmp qword [rbp - 0x70], rdx
je 0x14008e563
mov qword [rdx], rax
add rdx, 8
mov qword [rbp - 0x78], rdx
jmp 0x14008e571
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400629d0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x50]
call fcn.140062f80
nop
mov rcx, qword [rbx]
mov rdx, qword [rcx + 8]
mov edi, r13d
shr edi, 0xa
and dil, 1
mov byte [rsp + 0x28], dil
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x6f0]
mov r8, r12
lea rcx, [rbx + 0x490]
call fcn.14008e2b0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x50]
call fcn.140062f80
nop
mov rcx, qword [rbx]
mov rdx, qword [rcx + 8]
mov byte [rsp + 0x28], dil
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x650]
mov r8, r12
lea rcx, [rbx + 0x568]
call fcn.14008e2b0
lea rcx, [rbx + 0x6f0]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov rax, qword [rbx]
mov r9, qword [rbx + 0x790]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0x790]
call qword [r9 + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7dc
lea rcx, [rbx + 0x790]
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87f
lea rcx, [rbx + 0x790]
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8dc
lea rcx, [rbx + 0x790]
call fcn.14000fa00
movzx r8d, byte [r14 + 0x890]
mov edx, dword [0x14022ccd0]
lea rdi, [rbx + 0x6f0]
mov rcx, rdi
call fcn.14011a500
movzx r8d, byte [r14 + 0x890]
mov edx, dword [0x14022ccd0]
lea rcx, [rbx + 0x650]
call fcn.14011a500
movzx r8d, byte [r14 + 0x892]
mov edx, dword [0x14022ccd4]
mov rcx, rdi
call fcn.14011a500
movzx r8d, byte [r14 + 0x892]
mov edx, dword [0x14022ccd4]
lea rcx, [rbx + 0x650]
call fcn.14011a500
movzx edx, byte [r14 + 0x89d]
mov rcx, rdi
call fcn.14011a4b0
movzx edx, byte [r14 + 0x89d]
lea rcx, [rbx + 0x650]
call fcn.14011a4b0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x412
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x413
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx]
lea rcx, [rbx + 0x1c38]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
mov rax, qword [rbx]
lea rcx, [rbx + 0x65978]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov qword [rbx + 0x97690], rcx
mov qword [rbx + 0x97698], r12
mov edx, dword [r14 + 0x894]
mov rcx, rdi
call fcn.140061b30
mov edx, dword [r14 + 0x894]
lea rcx, [rbx + 0x650]
call fcn.140061b30
mov rax, qword [rbx + 0x730]
mov edx, dword [rax + 0x20]
mov rcx, rdi
call fcn.14010eec0
mov rax, qword [rbx + 0x690]
mov edx, dword [rax + 0x20]
lea rcx, [rbx + 0x650]
call fcn.14010eec0
mov eax, dword [r14 + 0x898]
mov ecx, 2
cmp eax, 1
jne 0x14008e7bf
mov r8d, eax
jmp 0x14008e7c8
xor r8d, r8d
cmp eax, ecx
cmove r8, rcx
xor r9d, r9d
mov edx, 0x9a8
mov rcx, rdi
call fcn.14000fa00
mov eax, dword [r14 + 0x898]
cmp eax, 1
jne 0x14008e7e9
mov r8d, eax
jmp 0x14008e7f8
xor r8d, r8d
cmp eax, 2
mov eax, 2
cmove r8d, eax
xor r9d, r9d
mov edx, 0x9a8
lea rcx, [rbx + 0x650]
call fcn.14000fa00
movzx r8d, byte [r14 + 0x89e]
xor r9d, r9d
mov edx, 0x830
mov rcx, rdi
call fcn.14000fa00
movzx r8d, byte [r14 + 0x89e]
xor r9d, r9d
mov edx, 0x830
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r8d, r8d
cmp byte [r14 + 0x8d0], r8b
sete r8b
xor r9d, r9d
mov edx, 0x8e5
mov rcx, rdi
call fcn.14000fa00
xor r8d, r8d
cmp byte [r14 + 0x8d0], r8b
sete r8b
xor r9d, r9d
mov edx, 0x8e5
lea rcx, [rbx + 0x650]
call fcn.14000fa00
cmp byte [r14 + 0x8d3], 0
je 0x14008e8b6
xor r9d, r9d
mov edx, 0xa33
lea r8d, [r9 + 3]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa33
lea r8d, [r9 + 3]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
movzx edx, byte [r14 + 0x8d4]
mov rcx, rdi
call fcn.140115d60
movzx edx, byte [r14 + 0x8d4]
lea rcx, [rbx + 0x650]
call fcn.140115d60
xor r9d, r9d
mov edx, 0xa5f
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa5f
lea r8d, [r9 + 1]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
movzx r8d, byte [r14 + 0x8a0]
xor r9d, r9d
mov edx, 0x8dc
mov rcx, rdi
call fcn.14000fa00
movzx r8d, byte [r14 + 0x8a0]
xor r9d, r9d
mov edx, 0x8dc
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x433
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r8d, byte [r14 + 0x8c9]
xor r9d, r9d
mov edx, 0x934
mov rcx, rdi
call fcn.14000fa00
movzx r8d, byte [r14 + 0x8c9]
xor r9d, r9d
mov edx, 0x934
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r8d, r8d
cmp byte [r14 + 0x8c8], r8b
setne r8b
xor r9d, r9d
mov edx, 0x7e5
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0x826
lea r8d, [r9 + 2]
mov rcx, rdi
call fcn.14000fa00
xor r8d, r8d
cmp byte [r14 + 0x8c8], r8b
setne r8b
xor r9d, r9d
mov edx, 0x7e5
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r9d, r9d
mov edx, 0x826
lea r8d, [r9 + 2]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
movzx edi, byte [r14 + 0x89f]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x99e
lea rcx, [rbx + 0x6f0]
call fcn.14000fa00
xor r8d, r8d
test dil, dil
setne r8b
xor r9d, r9d
mov edx, 0x99c
lea rcx, [rbx + 0x6f0]
call fcn.14000fa00
movzx edi, byte [r14 + 0x89f]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x99e
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r8d, r8d
test dil, dil
setne r8b
xor r9d, r9d
mov edx, 0x99c
lea rcx, [rbx + 0x650]
call fcn.14000fa00
lea rdi, [rbx + 0x6f0]
mov rcx, rdi
call fcn.1401146f0
lea rcx, [rbx + 0x650]
call fcn.1401146f0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x946
mov rcx, qword [rbx + 0x8d0]
call fcn.14000fa00
mov dword [rbx + 0x97ab0], eax
movsxd r8, dword [r14 + 0x8c0]
xor r9d, r9d
mov edx, 0x945
mov rcx, rdi
call fcn.14000fa00
movsxd r8, dword [r14 + 0x8c4]
xor r9d, r9d
mov edx, 0x945
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0xa05
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa05
lea r8d, [r9 + 1]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa24
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa24
lea r8d, [r9 + 1]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa36
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa36
lea r8d, [r9 + 1]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa6c
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa6c
lea r8d, [r9 + 1]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa67
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.14000fa00
xor r9d, r9d
mov edx, 0xa67
lea r8d, [r9 + 1]
lea rcx, [rbx + 0x650]
call fcn.14000fa00
mov byte [0x1402bd3f0], 1
cmp byte [rbx + 0xc00], 0
je 0x14008ec84
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rdi, rax
test rax, rax
je 0x14008ec1d
mov r9d, 1
mov r8, rax
lea edx, [r9 + 0x2f]
mov rcx, qword [rbx + 0x4a8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 1
mov r8, rdi
lea edx, [r9 + 0x2f]
mov rcx, qword [rbx + 0x580]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, 0x60
mov edx, dword [r14 + 0x10]
lea ecx, [r8 - 0x4a]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov r8d, 0x60
mov edx, dword [r14 + 0xc]
lea ecx, [r8 - 0x33]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx edi, di
shl rdi, 0x10
movzx eax, ax
or rdi, rax
mov r9, rdi
xor r8d, r8d
mov edx, 0x1329
mov rcx, qword [rbx + 0x4a8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rdi
xor r8d, r8d
mov edx, 0x1329
mov rcx, qword [rbx + 0x580]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x490]
mov dl, 1
lea rcx, [rbx + 0x490]
call qword [rax + 0x18]
mov eax, r13d
shr eax, 2
and al, 1
mov byte [0x1402bd3f0], al
movzx eax, r13b
and al, 1
mov byte [0x1402a64f1], al
call fcn.14012a720
mov eax, r13d
shr eax, 1
and al, 1
mov byte [0x1402a64f0], al
call fcn.14012a720
mov eax, r13d
shr eax, 4
and al, 1
mov byte [0x1402bd3f1], al
call fcn.14012a720
mov eax, r13d
shr eax, 5
and al, 1
mov byte [0x1402bd3f2], al
shr r13d, 6
and r13b, 1
mov byte [0x1402bd3f3], r13b
call fcn.14012a910
mov rcx, rbx
call fcn.140088c40
cmp byte [r14 + 0x9c], 1
sete dil
mov rax, qword [rbx]
mov r9, qword [rbx + 0x8e8]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0x8e8]
call qword [r9 + 8]
mov byte [rsp + 0x30], dil
mov dword [rsp + 0x28], 0x32
mov byte [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbx + 0x568]
lea r13, [rbx + 0x490]
mov rdx, r13
lea rcx, [rbx + 0x8e8]
call fcn.140128bb0
movzx esi, byte [r14 + 0x95]
mov rax, qword [rbx]
lea rdi, [rbx + 0xba0]
mov r9d, 6
mov r8, r12
mov rdx, qword [rax + 8]
mov rcx, rdi
call fcn.14012a010
mov r8d, 0x60
mov edx, dword [r14 + 0xc]
lea ecx, [r8 + 0x7c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
mov edx, 1
mov rcx, rdi
call fcn.14012a300
mov r8d, 0x60
mov edx, dword [r14 + 0xc]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
mov edx, 2
mov rcx, rdi
call fcn.14012a300
mov r8d, 0x60
mov edx, dword [r14 + 0xc]
lea ecx, [r8 + 0xe]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
mov edx, 3
mov rcx, rdi
call fcn.14012a300
mov r8d, 0x60
mov edx, dword [r14 + 0xc]
lea ecx, [r8 + 0x18]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
mov edx, 4
mov rcx, rdi
call fcn.14012a300
mov r8d, 0x60
mov edx, dword [r14 + 0xc]
lea ecx, [r8 - 0x42]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
mov edx, 5
mov rcx, rdi
call fcn.14012a300
neg sil
sbb edx, edx
and edx, 5
mov rcx, qword [rbx + 0xbb8]
call qword [sym.imp.USER32.dll_ShowWindow]
lea r9, [rbx + 8]
mov qword [r9], r13
mov rax, qword [rbx]
lea rcx, [rbx + 0x10]
mov r8, r12
mov rdx, qword [rax + 8]
call fcn.140048340
cmp byte [r14 + 0xd5], 0
je 0x14008eeda
cmp qword [rbx + 0x97aa8], 0
jne 0x14008eeda
mov rax, qword [rbx]
mov edx, 0x64
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdi, rax
mov ecx, 0x3d8
call fcn.14017f5a8
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14008eed3
lea rcx, [0x1401e4278]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdi
mov r9d, 0x436
mov r8d, 0x64
mov rdx, r12
mov rcx, rax
call fcn.14013b1b0
nop
mov qword [rbx + 0x97aa8], rax
movzx eax, byte [rbx + 0x98408]
mov ecx, eax
and al, 1
xor r13d, r13d
mov edx, r13d
movzx eax, al
and cl, 2
cmovne edx, eax
test dl, dl
je 0x14008eefd
mov dil, 1
jmp 0x14008ef68
xor dil, dil
mov word [rbx + 0x97a9c], r13w
xor r8d, r8d
mov edx, 0xac03
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r8d, r8d
mov edx, 0xac04
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor r9d, r9d
mov edx, 0x402
mov r8d, 0xac03
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0x402
mov r8d, 0xac04
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, 3
test dil, dil
cmovne esi, r13d
mov r8d, esi
mov edx, 0xac03
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx edi, dil
mov r9d, edi
mov edx, 0x401
mov r8d, 0xac03
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, esi
mov edx, 0xac04
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r9d, edi
mov edx, 0x401
mov r8d, 0xac04
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbp + 0x50], r12
mov rax, qword [rbx + 0x708]
mov qword [rbp + 0x58], rax
mov rax, qword [rbx + 0x668]
mov qword [rbp + 0x60], rax
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov qword [rbx + 0x97bf8], rcx
mov qword [rbx + 0x97c00], r12
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbx + 0x97b18], xmm0
movsd xmm1, qword [rbp + 0x60]
movsd qword [rbx + 0x97b28], xmm1
lea rdx, [r14 + 0x331b0]
cmp qword [rdx + 0x18], 8
jb 0x14008f030
mov rdx, qword [rdx]
lea rcx, [rbx + 0x97b18]
call fcn.1400f07b0
mov rax, qword [rbx]
lea rcx, [rbx + 0x97ba0]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
mov rcx, rbx
call fcn.140099600
mov edx, 8
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rdi, rax
mov qword [rsp + 0x48], rax
mov rcx, qword [r14 + 0x32ed0]
sub rcx, qword [r14 + 0x32ec8]
movabs rax, 0xa0a0a0a0a0a0a0a1
imul rcx
lea r13, [rcx + rdx]
sar r13, 8
mov rcx, r13
shr rcx, 0x3f
add r13, rcx
mov ecx, 0xffffffff
cmp r13, 1
jb 0x14008f0ca
xor eax, eax
mov qword [rsp + 0x20], rax
mov r9d, ecx
lea edx, [rax + 5]
mov r8d, 0x400
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
xor r8d, r8d
mov esi, r8d
test r13, r13
je 0x14008f28b
mov ecx, r8d
mov qword [rsp + 0x50], rcx
mov rdi, qword [r14 + 0x32ec8]
add rdi, rcx
lea rdx, [rdi + 0xb6]
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r8w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14008f112
lea rcx, [rbp + 0x50]
call fcn.140006d60
or r15d, 1
mov dword [rsp + 0x58], r15d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x88]
test al, al
je 0x14008f1e0
mov r8d, 1
lea rdx, [0x1401f5b40]
lea rcx, [rbp + 0x50]
call fcn.140006a90
mov rax, qword [rdi]
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [rax + 0x90]
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14008f177
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x50]
call fcn.140006a90
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x14008f1c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f1c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009065c
call fcn.14017f5e4
xor eax, eax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], ax
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rax, qword [rbp + 0x50]
lea r9, [rsi + 0x4e20]
lea edx, [rsi + 6]
mov qword [rsp + 0x20], rax
mov r8d, 0x400
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
and r15d, 0xfffffffe
mov dword [rsp + 0x58], r15d
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14008f25a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f255
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090662
call fcn.14017f5e4
xor r8d, r8d
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r8w
inc rsi
mov rcx, qword [rsp + 0x50]
add rcx, 0x198
mov qword [rsp + 0x50], rcx
cmp rsi, r13
jb 0x14008f0e1
mov esi, 0xffffffff
cmp r13, 1
jb 0x14008f2d3
lea edx, [r13 + 7]
mov qword [rsp + 0x20], r8
mov r9d, esi
mov r8d, 0x400
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
lea edx, [r13 + 8]
lea rax, str.Modify_Shortcut_Delete_Macro...
mov qword [rsp + 0x20], rax
mov r9d, 0xbb90
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
mov edx, 9
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rdi, rax
mov qword [rsp + 0x48], rax
mov rcx, qword [r14 + 0x32ee8]
sub rcx, qword [r14 + 0x32ee0]
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
mov r13, rdx
sar r13, 7
mov rcx, r13
shr rcx, 0x3f
add r13, rcx
cmp r13, 1
jb 0x14008f33b
xor eax, eax
mov qword [rsp + 0x20], rax
mov r9, rsi
lea edx, [rax + 1]
mov r8d, 0x400
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
xor r8d, r8d
mov esi, r8d
test r13, r13
je 0x14008f4fc
mov ecx, r8d
mov qword [rsp + 0x50], rcx
mov rdi, qword [r14 + 0x32ee0]
add rdi, rcx
lea rdx, [rdi + 0xb6]
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r8w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14008f383
lea rcx, [rbp + 0x50]
call fcn.140006d60
or r15d, 2
mov dword [rsp + 0x58], r15d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x88]
test al, al
je 0x14008f451
mov r8d, 1
lea rdx, [0x1401f5b40]
lea rcx, [rbp + 0x50]
call fcn.140006a90
mov rax, qword [rdi]
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [rax + 0x90]
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14008f3e8
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x50]
call fcn.140006a90
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x14008f439
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f434
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090668
call fcn.14017f5e4
xor eax, eax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], ax
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rax, qword [rbp + 0x50]
lea r9, [rsi + 0x5208]
lea edx, [rsi + 2]
mov qword [rsp + 0x20], rax
mov r8d, 0x400
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
and r15d, 0xfffffffd
mov dword [rsp + 0x58], r15d
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14008f4cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f4c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009066e
call fcn.14017f5e4
xor r8d, r8d
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r8w
inc rsi
mov rcx, qword [rsp + 0x50]
add rcx, 0x1a0
mov qword [rsp + 0x50], rcx
cmp rsi, r13
jb 0x14008f352
cmp r13, 1
jb 0x14008f542
lea edx, [r13 + 3]
mov qword [rsp + 0x20], r8
mov r9d, 0xffffffff
mov r8d, 0x400
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
lea edx, [r13 + 4]
lea rax, str.Modify_Shortcut_Delete_Command...
mov qword [rsp + 0x20], rax
mov r9d, 0xbb91
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.USER32.dll_InsertMenuW]
cmp byte [r14 + 0x3ec], 0
jne 0x14008f5bf
xor r8d, r8d
mov edx, 0xb79e
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_DeleteMenu]
xor r8d, r8d
mov edx, 0xb7a1
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_DeleteMenu]
mov edx, 0xb
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_GetSubMenu]
test rax, rax
jne 0x14008f5a2
lea edx, [rax + 0xa]
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_GetSubMenu]
test rax, rax
je 0x14008f5b6
mov edx, 7
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.USER32.dll_DeleteMenu]
mov rcx, r12
call qword [sym.imp.USER32.dll_DrawMenuBar]
mov edx, 5
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rsi, rax
xor edi, edi
cmp dword [r14 + 0xfb8], edi
jle 0x14008f682
lea r12, [r14 + 0xec8]
mov ebx, edi
nop dword [rax]
mov r15, qword [r12]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuItemCount]
mov r13d, eax
test edi, edi
je 0x14008f618
lea rdx, [rbp + 0x150]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jle 0x14008f641
cmp edi, r13d
jge 0x14008f641
mov dword [rsp + 0x20], 0x400
mov r9d, 0x64
lea r8, [rbp + 0x150]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuStringW]
inc edi
jmp 0x14008f600
lea eax, [rbx + 0xb455]
movsxd r9, eax
lea edx, [rdi - 1]
mov qword [rsp + 0x20], r15
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.USER32.dll_InsertMenuW]
inc ebx
add r12, 8
cmp ebx, dword [r14 + 0xfb8]
mov edi, 0
jl 0x14008f5f0
mov rbx, qword [rsp + 0x78]
mov r12, qword [rbp - 0x68]
mov rcx, qword [r14 + 0x160]
sub rcx, qword [r14 + 0x158]
movabs rax, 0x6666666666666667
imul rcx
mov r13, rdx
sar r13, 4
mov rax, r13
shr rax, 0x3f
add r13, rax
je 0x14008f761
xor ebx, ebx
nop word [rax + rax]
mov rax, qword [r14 + 0x158]
mov edx, dword [rdi + rax]
mov rcx, r14
call fcn.1400e6080
mov r15d, eax
mov dword [rsp + 0x20], ebx
mov r9d, 0x100
lea r8, [rbp + 0x150]
mov edx, eax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuStringW]
mov rcx, qword [r14 + 0x158]
mov dword [rdi + rcx + 4], r15d
mov rcx, qword [r14 + 0x158]
add rcx, 8
add rcx, rdi
lea rax, [rbp + 0x150]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x14008f720
lea rdx, [rbp + 0x150]
call fcn.140006d60
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.USER32.dll_DeleteMenu]
mov rcx, r12
call qword [sym.imp.USER32.dll_DrawMenuBar]
add rdi, 0x28
sub r13, 1
jne 0x14008f6c0
mov rbx, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuItemCount]
lea edi, [rax - 1]
movzx eax, byte [r14 + 0xe80]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14008f7e8
xor eax, eax
mov r13d, eax
lea r15, [r14 + 0xd90]
mov r12d, 0xb465
sub r12d, edi
mov rbx, qword [rsp + 0x48]
nop dword [rax]
mov rcx, qword [r15]
add rcx, 0x788
cmp qword [rcx + 0x18], 8
jb 0x14008f7b4
mov rcx, qword [rcx]
lea eax, [r12 + rdi]
movsxd r9, eax
mov qword [rsp + 0x20], rcx
mov r8d, 0x400
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_InsertMenuW]
inc edi
inc r13
add r15, 8
cmp r13, rbx
jl 0x14008f7a0
mov rbx, qword [rsp + 0x78]
mov r12, qword [rbp - 0x68]
xor edx, edx
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_GetSubMenu]
movsxd rdi, dword [r14 + 0xcf0]
movzx ecx, byte [r14 + 0xcf8]
lea rdx, [rbx + 0x97ab8]
mov byte [rsp + 0x28], cl
mov qword [rsp + 0x20], rdx
mov r9d, 0x16
mov r8d, 0xa042
mov rdx, rax
lea rcx, [rbx + 0x97950]
call fcn.140075db0
mov eax, dword [rbx + 0x480]
mov dword [rbx + 0x97988], eax
mov r15, rdi
test edi, edi
jle 0x14008f897
lea rsi, [r14 + 0xc00]
nop dword [rax + rax]
mov rdi, qword [rsi]
cmp byte [r14 + 0xb0], 0
je 0x14008f874
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14008f86a
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14008f88d
cmp qword [rdi + 0x18], 8
jb 0x14008f87e
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbx + 0x97950]
call fcn.140075270
add rsi, 8
sub r15, 1
jne 0x14008f850
lea rcx, [rbx + 0x97688]
call fcn.14003ee80
lea rsi, [rbx + 0x97b18]
mov qword [rbx + 0x978a8], rsi
movzx r9d, al
xor r8d, r8d
mov rdx, qword [rbx + 0x979d0]
mov rcx, rsi
call fcn.1400f1fa0
mov r8, qword [rbx + 0x97b30]
mov rdx, qword [rbx + 0x979d0]
mov rcx, r14
call fcn.1400de6e0
mov rax, qword [r14 + 0x33018]
cmp qword [r14 + 0x33010], rax
je 0x14008f91b
xor r9d, r9d
xor r8d, r8d
mov edx, 0x943
lea rcx, [rbx + 0x6f0]
call fcn.14000fa00
xor r9d, r9d
xor r8d, r8d
mov edx, 0x943
lea rcx, [rbx + 0x650]
call fcn.14000fa00
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0xa0], xmm1
xor r15d, r15d
mov word [rbp + 0x90], r15w
movdqu xmmword [rbp + 0xc0], xmm0
movdqu xmmword [rbp + 0xc0], xmm1
mov word [rbp + 0xb0], r15w
lea rcx, [rbx + 0x478]
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0x90]
mov rdx, qword [rbx + 0x979d0]
call fcn.140078330
mov rcx, r12
call qword [sym.imp.USER32.dll_DrawMenuBar]
cmp qword [rbp + 0xa0], r15
je 0x14008f9c2
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rax, qword [rbp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea edx, [r15 + 0xa]
mov r8d, 0x400
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_ModifyMenuW]
lea r9, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae r9, qword [rbp + 0xb0]
mov rax, qword [rbx]
lea rcx, [rbx + 0x979c8]
mov r8, qword [rbx + 0x979d0]
mov rdx, qword [rax + 8]
call fcn.14014a790
mov rcx, qword [r14 + 0x33018]
sub rcx, qword [r14 + 0x33010]
movabs rax, 0xe38e38e38e38e39
imul rcx
mov rcx, rdx
sar rcx, 2
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov qword [rsp + 0x48], rcx
mov r13, r15
je 0x14008fb33
xor esi, esi
mov r15d, esi
mov rax, qword [r14 + 0x33010]
cmp qword [rax + r15 + 0x18], 0
jne 0x14008fb19
mov dword [rsp + 0x20], esi
mov r9d, 0x40
lea r8, [rbp + 0xd0]
mov edx, dword [rax + r15]
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_GetMenuStringW]
xor r8d, r8d
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x70]
call fcn.14002a6a0
mov rdi, rax
mov rsi, qword [r14 + 0x33010]
add rsi, 8
add rsi, r15
cmp rsi, rax
je 0x14008fab9
mov rcx, rsi
call fcn.1400068c0
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
jmp 0x14008fabb
xor esi, esi
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x14008fafe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008faf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090674
call fcn.14017f5e4
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], si
mov rcx, qword [rsp + 0x48]
inc r13
add r15, 0x48
cmp r13, rcx
jb 0x14008fa32
lea rsi, [rbx + 0x97b18]
xor r15d, r15d
mov rcx, rbx
call fcn.14009bd10
lea rcx, [rbx + 0x478]
call fcn.140079520
mov rcx, r14
call fcn.1400e1cd0
mov rax, qword [rbx + 0x979d0]
lea rdi, [rbx + 0x97ab8]
mov qword [rdi], rax
mov qword [rdi + 8], r12
mov rcx, rdi
call fcn.14011e880
mov qword [r14 + 0x332c8], rdi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov rax, qword [rbx + 0x708]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14001c1a0
mov rax, qword [rbx + 0x668]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rdx
je 0x14008fbc5
mov qword [rdx], rax
add qword [rsp + 0x68], 8
jmp 0x14008fbd4
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14001c1a0
lea rdi, [rbx + 0x97af0]
mov r9, r12
mov r8, qword [rbx + 0x979d0]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14011c5e0
mov qword [r14 + 0x332d0], rdi
mov rcx, rdi
call fcn.14011dde0
mov rcx, r12
call qword [sym.imp.USER32.dll_DrawMenuBar]
mov edi, dword [r14 + 0x90]
movzx eax, byte [r14 + 0x94]
mov byte [rsp + 0x40], al
mov dword [rbp - 0x40], 0x3ea
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r15
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1400f16a0
mov rax, qword [rbx]
mov r10, qword [rbx + 0xa18]
mov dword [rsp + 0x28], 0x26
lea rcx, [0x1402a29d0]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0xa18]
call qword [r10 + 0x60]
cmp qword [rbx + 0xb58], 0
je 0x14008fcef
mov rcx, qword [rbx + 0xb48]
sub rcx, qword [rbx + 0xb40]
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
je 0x14008fcef
xor eax, eax
mov esi, eax
nop dword [rax + rax]
mov rax, qword [rbx + 0xb40]
lea r8, [rsi + 8]
add r8, rax
cmp qword [r8 + 0x18], 8
jb 0x14008fcc8
mov r8, qword [r8]
movsxd rcx, dword [rax + rsi]
cmp ecx, 2
ja 0x14008fce5
shl rcx, 5
add rcx, qword [rbx + 0xa40]
mov edx, dword [rax + rsi + 4]
call fcn.1400748a0
add rsi, 0x28
sub rdi, 1
jne 0x14008fcb0
mov rax, qword [rbx]
lea rdi, [rbx + 0xc08]
mov r9, qword [rdi]
mov r8, r12
mov rdx, qword [rax + 8]
mov rcx, rdi
call qword [r9 + 8]
mov rax, qword [rbx]
mov r9, qword [rbx + 0xc40]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0xc40]
call qword [r9 + 8]
mov rdx, rdi
lea rcx, [rbx + 0xa18]
call fcn.140139890
movzx r8d, byte [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call fcn.14013ae40
movzx edi, byte [rbx + 0x97a38]
movzx eax, dil
neg al
sbb r8d, r8d
and r8d, 3
mov edx, 0xa422
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
xor r15d, r15d
mov r9d, r15d
test dil, dil
sete r9b
mov edx, 0x401
mov r8d, 0xa422
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edi, byte [rbx + 0x97a38]
mov r8d, 3
test dil, dil
cmovne r8d, r15d
mov edx, 0xa423
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r9d, edi
mov edx, 0x401
mov r8d, 0xa423
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x97a28]
cmp qword [rbx + 0x97a20], rax
je 0x14008fdef
cmp byte [rbx + 0x97a38], r15b
jne 0x14008fdef
mov dil, 1
jmp 0x14008fdf2
xor dil, dil
mov r8d, 3
test dil, dil
cmovne r8d, r15d
mov edx, 0xa425
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx r9d, dil
mov edx, 0x401
mov r8d, 0xa425
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x97a28]
cmp qword [rbx + 0x97a20], rax
je 0x14008fe54
cmp byte [rbx + 0x97a38], r15b
jne 0x14008fe54
cmp byte [rbx + 0x97a3a], r15b
jne 0x14008fe54
mov dil, 1
jmp 0x14008fe57
xor dil, dil
mov r8d, 3
test dil, dil
cmovne r8d, r15d
mov edx, 0xa429
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx r9d, dil
mov edx, 0x401
mov r8d, 0xa429
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x97a28]
cmp qword [rbx + 0x97a20], rax
je 0x14008feab
cmp byte [rbx + 0x97a38], r15b
je 0x14008fec5
call fcn.14000c980
mov rcx, qword [rax + 0x32ed0]
cmp qword [rax + 0x32ec8], rcx
jne 0x14008fec5
xor dil, dil
jmp 0x14008fec8
mov dil, 1
mov r8d, 3
test dil, dil
cmovne r8d, r15d
mov edx, 0xa430
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_EnableMenuItem]
movzx r9d, dil
mov edx, 0x401
mov r8d, 0xa430
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov qword [rbx + 0xc80], rcx
mov qword [rbx + 0xc88], r12
lea rax, [rbx + 0x8d0]
test rax, rax
je 0x14009067a
mov qword [rbx + 0xd48], rax
mov rax, qword [rbx]
lea rcx, [rbx + 0x16a0]
mov r10, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r10 + 8]
movzx r8d, byte [rbx + 0x484]
mov rax, qword [rbx]
mov byte [rsp + 0x20], r8b
lea r9, [rbx + 0xc78]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0x1770]
call fcn.140057cc0
lea rdx, [rbx + 0xc40]
lea rcx, [rbx + 0x1770]
call fcn.1400505d0
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov qword [rbx + 0x1bc8], rcx
mov qword [rbx + 0x1bd0], r12
lea rdx, [rbx + 0x8d0]
mov qword [rbx + 0x1bf8], rdx
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov qword [rbx + 0x97658], rcx
mov qword [rbx + 0x97660], r12
test rdx, rdx
je 0x14009069b
mov qword [rbx + 0x97680], rdx
mov rax, qword [rbx]
lea rcx, [rbx + 0x1c00]
mov r9, rdx
mov r8, r12
mov rdx, qword [rax + 8]
call fcn.140024b60
mov rax, qword [rbx]
lea rcx, [rbx + 0x1840]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
lea rdx, [rbp + 0x70]
lea rcx, [rbx + 0x97b18]
call fcn.1400efad0
nop
mov rcx, qword [rbx]
mov rdi, qword [rcx + 8]
movzx ecx, byte [rbx + 0x97bd9]
mov byte [rbx + 0x19b0], cl
lea rcx, [rbx + 0x19b8]
cmp rcx, rax
je 0x140090044
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14009003b
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.140006d60
mov qword [rbx + 0x1968], rdi
mov qword [rbx + 0x1970], r12
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140090095
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090090
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400906bc
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0x80], xmm0
xor esi, esi
mov word [rbp + 0x70], si
mov rax, qword [rbx]
lea rcx, [rbx + 0x1a50]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
mov rax, qword [rbx]
lea rcx, [rbx + 0x97a40]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
mov rax, qword [rbx]
lea rcx, [rbx + 0x97900]
mov r9, qword [rcx]
mov r8, r12
mov rdx, qword [rax + 8]
call qword [r9 + 8]
mov rax, qword [rbx]
mov r9, qword [rbx + 0x1aa0]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0x1aa0]
call qword [r9 + 8]
xor edx, edx
lea rcx, [rbx + 0x1aa0]
call fcn.14000d5e0
mov rax, qword [rbx]
mov r9, qword [rbx + 0x1ae8]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0x1ae8]
call qword [r9 + 8]
xor edx, edx
lea rcx, [rbx + 0x1ae8]
call fcn.14000d5e0
mov rax, qword [rbx]
mov r9, qword [rbx + 0x1b30]
mov r8, r12
mov rdx, qword [rax + 8]
lea rcx, [rbx + 0x1b30]
call qword [r9 + 8]
lea edx, [rsi + 1]
lea rcx, [rbx + 0x1b30]
call fcn.14000d5e0
mov rax, qword [rbx]
lea rdi, [rbx + 0x1b78]
mov r9, qword [rdi]
mov r8, r12
mov rdx, qword [rax + 8]
mov rcx, rdi
call qword [r9 + 8]
lea edx, [rsi + 1]
mov rcx, rdi
call fcn.14000d5e0
mov ecx, dword [r14 + 0xa0]
xor dil, dil
sub ecx, 1
je 0x140090240
sub ecx, 1
je 0x140090237
cmp ecx, 1
jne 0x1400902a0
movzx edi, byte [rbx + 0x484]
lea rcx, [0x1402bd1d0]
mov rax, qword [0x1402bd1d0]
call qword [rax + 0x68]
test al, al
jne 0x1400901f6
mov r9b, 1
movzx r8d, dil
mov edx, 0x4e20
lea rcx, [0x1402bd1d0]
mov rax, qword [0x1402bd1d0]
call qword [rax + 0x60]
xor r8d, r8d
mov dl, 1
lea rcx, [0x1402bd1d0]
call fcn.1401297a0
lea rdx, [0x1402bd1d0]
lea rcx, [rbx + 0x478]
call fcn.1400798d0
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x4e21
mov rcx, qword [0x1402bd1e8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14009029d
mov byte [rbx + 0x97aa0], 1
jmp 0x1400902a0
movzx edi, byte [rbx + 0x484]
lea rcx, [0x1402bd1d0]
mov rax, qword [0x1402bd1d0]
call qword [rax + 0x68]
test al, al
jne 0x140090279
mov r9b, 1
movzx r8d, dil
mov edx, 0x4e20
lea rcx, [0x1402bd1d0]
mov rax, qword [0x1402bd1d0]
call qword [rax + 0x60]
xor r8d, r8d
mov dl, 1
lea rcx, [0x1402bd1d0]
call fcn.1401297a0
lea rdx, [0x1402bd1d0]
lea rcx, [rbx + 0x478]
call fcn.1400798d0
mov dil, 1
movzx r8d, dil
shl r8d, 3
mov edx, 0xb4aa
mov rcx, qword [rbx + 0x979d0]
call qword [sym.imp.USER32.dll_CheckMenuItem]
movzx r9d, dil
mov edx, 0x402
mov r8d, 0xb4aa
mov rcx, qword [rbx + 0xa30]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [r14 + 0x32680]
mov edx, esi
movsxd r8, dword [r14 + 0x32e00]
test r8, r8
jle 0x14009032f
mov rax, rsi
nop
cmp dword [rcx], 0x20
je 0x140090305
inc edx
inc rax
add rcx, 0x40
cmp rax, r8
jl 0x1400902f0
jmp 0x14009032f
cmp edx, 0xffffffff
je 0x14009032f
movsxd rcx, edx
shl rcx, 6
mov eax, dword [rcx + r14 + 0x32690]
mov dword [r14 + 0x33374], eax
mov eax, dword [rcx + r14 + 0x32694]
mov dword [r14 + 0x33370], eax
mov r8d, dword [r14 + 0x2c8]
xor edx, edx
lea rcx, [rbx + 0x10]
call fcn.140048f90
mov r8d, dword [r14 + 0x2cc]
mov edx, 1
lea rcx, [rbx + 0x10]
call fcn.140048f90
mov r8d, dword [r14 + 0x2d0]
mov edx, 2
lea rcx, [rbx + 0x10]
call fcn.140048f90
mov r8d, dword [r14 + 0x2d4]
mov edx, 3
lea rcx, [rbx + 0x10]
call fcn.140048f90
cmp byte [r14 + 0xd7], sil
jne 0x1400904b2
mov rcx, qword [r14 + 0x2f8]
sub rcx, qword [r14 + 0x2f0]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov rdi, rdx
sar rdi, 3
mov rax, rdi
shr rax, 0x3f
add rdi, rax
je 0x14009046c
lea r13, str.Notepad::InternalFunction
nop word [rax + rax]
mov rdx, qword [r14 + 0x2f0]
add rdx, rsi
cmp byte [rdx + 0x2c], 0
je 0x14009045e
mov r9, rdx
mov r10, qword [rdx + 0x18]
cmp r10, 8
jb 0x1400903f0
mov r9, qword [rdx]
cmp qword [rdx + 0x10], 0x1b
jne 0x14009043f
mov r8d, 0x1b
mov rcx, r13
sub r9, r13
movzx eax, word [rcx]
cmp word [rcx + r9], ax
jne 0x14009043f
add rcx, 2
sub r8, 1
jne 0x140090403
lea r8, [rdx + 0x20]
lea rcx, [rbx + 0x1c8]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x140090438
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x14009045e
call fcn.140023700
jmp 0x14009045e
mov rax, rdx
cmp r10, 8
jb 0x14009044b
mov rax, qword [rdx]
mov r8d, dword [rdx + 0x20]
mov rdx, rax
lea rcx, [rbx + 0x97b18]
call fcn.1400f1e30
add rsi, 0x30
sub rdi, 1
jne 0x1400903d0
mov rsi, qword [r14 + 0x310]
sub rsi, qword [r14 + 0x308]
sar rsi, 3
xor eax, eax
mov edi, eax
test rsi, rsi
je 0x1400904b0
nop word [rax + rax]
mov rax, qword [r14 + 0x308]
mov r8d, dword [rax + rdi*8 + 4]
mov edx, dword [rax + rdi*8]
lea rcx, [rbx + 0x10]
call fcn.140048f60
inc rdi
cmp rdi, rsi
jb 0x140090490
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx + 0x728]
mov rcx, rbx
call fcn.140092c10
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, qword [rbx + 0x688]
mov rcx, rbx
call fcn.140092c10
xor r8d, r8d
mov rdx, qword [rbx + 0x728]
mov rcx, rbx
call fcn.140082600
mov r8d, 1
mov rdx, qword [rbx + 0x688]
mov rcx, rbx
call fcn.140082600
mov rcx, qword [rbx + 0x708]
call qword [sym.imp.USER32.dll_SetFocus]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140090568
mov rax, qword [rsp + 0x70]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090555
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400906c2
call fcn.14017f5e4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x1400905ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400905a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400906c8
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], si
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140090607
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140090602
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090656
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], si
lea rcx, [rbp - 0x80]
call fcn.14001cb70
mov eax, 1
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14017f700
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
lea rdx, str.FindIncrementDlg::init_:_ppEditView_is_null.
lea rcx, [rbp + 0x50]
call fcn.140004160
lea rdx, [0x14029c6c0]
lea rcx, [rbp + 0x50]
call fcn.14019d50c
int3
lea rdx, str.FindCharsInRangeDlg::init_:_ppEditView_is_null.
lea rcx, [rbp + 0x50]
call fcn.140004160
lea rdx, [0x14029c6c0]
lea rcx, [rbp + 0x50]
call fcn.14019d50c
int3
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
call fcn.1401a10ac
int3