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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2e8], rbx
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r9
mov rsi, r8
mov rbx, rcx
sub edx, 2
je 0x140152094
sub edx, 0x10e
je 0x140151b26
sub edx, 1
je 0x1401510bd
cmp edx, 3
jne 0x14015154f
mov edx, 0x8fe
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp rdi, rax
jne 0x1401520ce
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov edx, 0x8fe
mov r8d, 0x400
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rdi, rax
call fcn.14000c980
mov rcx, rax
mov r8d, edi
mov rdx, qword [rbx + 0x18]
call fcn.1400d2a20
jmp 0x1401520ce
mov rdx, rsi
shr rdx, 0x10
mov eax, 0x300
cmp dx, ax
jne 0x140151233
mov r12d, 0x8ae
cmp si, r12w
jne 0x1401511c2
call fcn.140150e20
mov r13, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8d, [r14 + 0xe]
mov edx, r12d
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rdi, [rax + 1]
mov eax, 2
mul rdi
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.14017f5ec
mov r15, rax
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8d, [r14 + 0xd]
mov edx, r12d
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [r13 + 0x38]
test rcx, rcx
jne 0x1401511a0
lea ecx, [rsi + 0x21]
call fcn.14017f5a8
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14015118b
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
nop
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x140151170
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.140006d60
jmp 0x14015118e
mov rdi, r14
mov qword [r13 + 0x38], rdi
mov rcx, r15
call fcn.14017f5e4
jmp 0x14015153f
inc rsi
cmp word [r15 + rsi*2], r14w
jne 0x1401511a0
mov r8, rsi
mov rdx, r15
call fcn.140006d60
mov rcx, r15
call fcn.14017f5e4
jmp 0x14015153f
mov edx, 0x8a9
cmp si, dx
jne 0x14015154f
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
mov r8d, InitCommonControls
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rax, [rbp - 0x70]
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140151200
mov r8, rsi
mov eax, dword [rbx + 0x40]
dec eax
cdqe
imul rcx, rax, 0x7e8
add rcx, 0x868
add rcx, rbx
lea rdx, [rbp - 0x70]
call fcn.140006d60
jmp 0x14015153f
cmp rsi, 0x89c
ja 0x140151489
je 0x14015143e
cmp rsi, 2
jne case.0x1401514b5.2206
cmp byte [rcx + 0x63d38], 0
je 0x140151412
call fcn.14000c980
mov rdi, rax
movzx eax, byte [rbx + 0x63d27]
test al, al
je 0x14015134a
lea rdx, [rdi + 0x810]
lea rcx, [rsp + 0x60]
call fcn.140002f40
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400e8e70
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1401512e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401512dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401520fd
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x70], xmm0
xor r14d, r14d
mov word [rsp + 0x60], r14w
movzx eax, byte [rbx + 0x63d27]
test al, al
je 0x14015134a
lea rcx, [rbx + 0x31ef0]
lea rdx, [rdi + 0xfd8]
call fcn.140150b80
mov rdx, rax
lea rcx, [rbx + 0xa0]
call fcn.140150b80
lea rcx, [rbx + 0x63598]
lea rdx, [rdi + 0x32680]
call fcn.1400b34a0
mov rdx, rax
lea rcx, [rbx + 0x31748]
call fcn.1400b34a0
jmp 0x14015138e
lea rdx, [rbx + 0x63598]
lea rcx, [rbx + 0x31748]
call fcn.1400b34a0
mov rdx, rax
lea rcx, [rdi + 0x32680]
call fcn.1400b34a0
lea rdx, [rbx + 0x31ef0]
lea rcx, [rbx + 0xa0]
call fcn.140150b80
mov rdx, rax
lea rcx, [rdi + 0xfd8]
call fcn.140150b80
call fcn.14000c980
mov ecx, dword [rbx + 0x63d20]
mov dword [rax + 0x320], ecx
movzx ecx, word [rbx + 0x63d24]
mov word [rax + 0x324], cx
movzx ecx, byte [rbx + 0x63d26]
mov byte [rax + 0x326], cl
mov byte [rbx + 0x63d27], 0
mov word [rbx + 0x63d38], 0
mov rcx, rbx
call fcn.1401524c0
movsxd r8, dword [rbx + 0x44]
xor r9d, r9d
mov edx, 0x14e
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1789
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x178a
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x8fd
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1401297a0
jmp 0x1401520ce
call fcn.140150e20
mov rdi, rax
cmp dword [rax + 0x28], 0xffffffff
jne 0x140151453
xor r14d, r14d
mov dword [rax + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 2
je 0x14015153f
cmp rax, 1
jne 0x140151480
or dword [rdi + 0x28], eax
jmp 0x14015153f
and dword [rdi + 0x28], 0xfffffffe
jmp 0x14015153f
lea rax, [r8 - 0x89d]
cmp rax, 0x62
ja case.0x1401514b5.2206
lea r15, [0x140000000]
movzx eax, byte [r15 + rax + 0x152134]
mov ecx, dword [r15 + rax*4 + 0x152104]
add rcx, r15
jmp rcx
mov rcx, rbx
call fcn.140150e20
mov rdi, rax
cmp dword [rax + 0x28], 0xffffffff
jne 0x1401514cf
xor r14d, r14d
mov dword [rax + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 2
je 0x14015153f
cmp rax, 1
jne 0x1401514f6
or dword [rdi + 0x28], 2
jmp 0x14015153f
and dword [rdi + 0x28], 0xfffffffd
jmp 0x14015153f
mov rcx, rbx
call fcn.140150e20
mov rdi, rax
cmp dword [rax + 0x28], 0xffffffff
jne 0x140151514
xor r14d, r14d
mov dword [rax + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 2
je 0x14015153f
cmp rax, 1
jne 0x14015153b
or dword [rdi + 0x28], 4
jmp 0x14015153f
and dword [rdi + 0x28], 0xfffffffb
mov rcx, rbx
call fcn.140150fc0
mov rcx, rbx
call fcn.140150c90
xor eax, eax
jmp 0x1401520d3
cmp byte [rbx + 0x63d38], 0
je 0x140151611
call fcn.14000c980
mov rdi, rax
call fcn.14000c980
mov rsi, rax
lea r15, [rbx + 0xa0]
lea rdx, [rdi + 0xfd8]
mov rcx, r15
call fcn.140150b80
lea r14, [rbx + 0x31748]
lea rdx, [rsi + 0x32680]
mov rcx, r14
call fcn.1400b34a0
lea rdi, [rbx + 0x31ed0]
call fcn.14000c980
add rax, 0x810
cmp rax, rdi
je 0x1401515cf
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401515c3
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140006d60
mov byte [rbx + 0x63d27], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbx + 0x44], eax
mov edx, 1
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov byte [rbx + 0x63d38], 0
jmp 0x14015161f
lea r14, [rbx + 0x31748]
lea r15, [rbx + 0xa0]
mov byte [rbx + 0x63d39], 0
call fcn.14000c980
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400ed880
mov edx, 0x8fd
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1401297a0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1789
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x178a
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1401520ce
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov edx, 0x8ff
mov r8d, 0xf0
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete sil
jne 0x1401516ef
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov edx, 0x8fe
mov r8d, 0x400
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rdi, rax
call fcn.14000c980
mov rcx, rax
mov r8d, edi
mov rdx, qword [rbx + 0x18]
call fcn.1400d2a20
jmp 0x140151700
call fcn.14000c980
mov rcx, rax
mov rdx, qword [rbx + 0x18]
call fcn.1400e9120
movzx edi, sil
mov edx, 0x8fe
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, edi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1401520ce
call fcn.14000c980
mov rdi, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0xf0
mov edx, esi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rdi + 0x320], cl
mov rcx, rbx
call fcn.140150fc0
mov rcx, rbx
call fcn.140150c90
jmp 0x1401520ce
call fcn.14000c980
mov rdi, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0xf0
mov edx, esi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rdi + 0x321], cl
jmp 0x140151755
call fcn.14000c980
mov rdi, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0xf0
mov edx, esi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rdi + 0x322], cl
jmp 0x140151755
call fcn.14000c980
mov rdi, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0xf0
mov edx, esi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rdi + 0x323], cl
jmp 0x140151755
call fcn.14000c980
mov rdi, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0xf0
mov edx, esi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rdi + 0x324], cl
jmp 0x140151755
call fcn.14000c980
mov rdi, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0xf0
mov edx, esi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rdi + 0x325], cl
jmp 0x140151755
call fcn.14000c980
mov rdi, rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, 0xf0
mov edx, esi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 1
sete cl
mov byte [rdi + 0x326], cl
jmp 0x140151755
movzx ecx, dx
test ecx, ecx
je 0x140151a4f
cmp ecx, 1
jne 0x14015154f
movzx ecx, si
sub ecx, 0x89a
je 0x140151a11
sub ecx, 1
je 0x14015196c
sub ecx, 0x65
je 0x140151926
sub ecx, 1
je 0x140151919
cmp ecx, 2
jne 0x1401520ce
mov rcx, rbx
call fcn.140152d40
mov rcx, rbx
call fcn.1401524c0
mov rcx, rbx
call fcn.140150fc0
mov byte [rbx + 0x63d39], 0
mov rcx, rbx
call fcn.140150c90
jmp 0x1401520ce
mov rcx, rbx
call fcn.1401524c0
jmp 0x1401520ce
xor r14d, r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov edx, 0x900
mov r8d, 0x188
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x1401520ce
movzx edi, byte [rbx + 0x63d39]
mov edx, eax
mov rcx, rbx
call fcn.1401521a0
mov byte [rbx + 0x63d39], dil
jmp 0x1401520ce
mov rcx, rbx
call fcn.140150e20
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test rax, rax
je 0x140151a05
xor r9d, r9d
mov r8, rax
mov edx, 0x149
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 3
jae 0x140151755
lea r9, [rbp - 0x80]
mov r8, rsi
mov edx, 0x148
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp word [rbp - 0x80], 0
je 0x1401519f6
mov r8d, 0xa
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1401afbc0
mov dword [rdi + 0x2c], eax
mov rax, qword [rsp + 0x40]
cmp word [rax], 0
je 0x140151755
mov rsi, 0xffffffffffffffff
mov dword [rdi + 0x2c], esi
jmp 0x140151755
xor r14d, r14d
mov dword [rdi + 0x2c], r14d
jmp 0x140151755
mov rcx, rbx
call fcn.140150e20
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, rax
mov edx, 0x150
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rdi + 0x20], rax
jmp 0x140151755
mov rax, qword [rbx + 0x30]
cmp rdi, qword [rax + 0x18]
jne 0x140151ab3
mov rcx, rbx
call fcn.140150e20
mov rcx, qword [rbx + 0x30]
mov edx, dword [rcx + 0x20]
mov dword [rax + 0x10], edx
mov rcx, qword [rbx + 0x30]
cmp byte [rcx + 0x38], 0
je 0x140151a7b
or dword [rax + 0x18], 1
jmp 0x140151a7f
and dword [rax + 0x18], 0xfffffffe
mov rcx, rbx
call fcn.140150fc0
mov rcx, rbx
call fcn.1401530b0
cmp eax, 0xffffffff
je 0x14015175d
mov rcx, qword [rbx + 0x30]
mov edx, eax
mov ecx, dword [rcx + 0x20]
call fcn.14012c580
mov rcx, rbx
call fcn.140150c90
jmp 0x1401520ce
mov rax, qword [rbx + 0x38]
cmp rdi, qword [rax + 0x18]
jne 0x14015154f
mov rcx, rbx
call fcn.140150e20
mov rcx, qword [rbx + 0x38]
mov edx, dword [rcx + 0x20]
mov dword [rax + 0x14], edx
mov rcx, qword [rbx + 0x38]
cmp byte [rcx + 0x38], 0
je 0x140151ae3
or dword [rax + 0x18], 2
jmp 0x140151ae7
and dword [rax + 0x18], 0xfffffffd
mov rcx, rbx
call fcn.140150fc0
mov rcx, rbx
call fcn.1401530b0
cmp eax, 0xffffffff
je 0x14015175d
mov ecx, 4
cmp eax, 3
cmove eax, ecx
mov rcx, qword [rbx + 0x38]
mov edx, eax
mov ecx, dword [rcx + 0x20]
call fcn.14012c580
mov rcx, rbx
call fcn.140150c90
jmp 0x1401520ce
call fcn.14000c980
mov r12, rax
mov qword [rsp + 0x48], rax
mov edx, 0x89c
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x48], rax
mov edx, 0x89d
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x50], rax
mov edx, 0x8aa
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x58], rax
mov edx, 0x89a
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x60], rax
mov edx, 0x89b
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x68], rax
mov edx, 0x903
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x70], rax
mov edx, 0x89e
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x78], rax
mov edx, 0x89f
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x80], rax
mov edx, 0x8a0
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x88], rax
mov edx, 0x8a1
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x90], rax
mov edx, 0x8b9
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x98], rax
mov dword [rbx + 0x63d28], 0xff
mov rdi, rax
lea r8, [rbx + 0x63d28]
mov edx, 0xffffffeb
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea r8, [0x140152c20]
mov edx, 0xfffffffc
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [rbx + 0x63d30], rax
mov rsi, 0xffffffffffffffff
mov dword [rbx + 0x44], esi
xor r14d, r14d
mov edx, r14d
mov dword [rbp - 0x80], edx
mov qword [rsp + 0x40], r14
mov rcx, qword [r12 + 0x32fd8]
mov rax, qword [r12 + 0x32fe0]
sub rax, rcx
sar rax, 6
test rax, rax
je 0x140151dbd
lea rax, [r12 + 0x810]
mov qword [rsp + 0x50], rax
mov r13d, r14d
nop word [rax + rax]
lea rdi, [rcx + r13]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140151cb1
mov r9, qword [rdi]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12, rax
lea r15, [rdi + 0x20]
mov rdx, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400bd9b0
test eax, eax
jne 0x140151d01
mov dword [rbx + 0x44], r12d
lea rcx, [rbx + 0x31ed0]
cmp rcx, r15
je 0x140151d01
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140151cf8
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
call fcn.140006d60
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140151d0e
mov r9, qword [rdi]
mov r10, qword [rdi + 0x10]
mov rcx, r10
cmp r10, 7
mov eax, 7
cmova rcx, rax
lea r11, [0x140236290]
mov rax, r11
test rcx, rcx
je 0x140151d59
sub r9, r11
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jne 0x140151d63
add rax, 2
sub rcx, 1
jne 0x140151d40
cmp r10, 7
jae 0x140151d71
mov eax, esi
jmp 0x140151d77
mov eax, 1
cmp dx, r8w
cmovb eax, esi
jmp 0x140151d77
mov eax, r14d
seta al
test eax, eax
cmovne r12d, dword [rbp - 0x80]
mov edx, r12d
mov dword [rbp - 0x80], edx
mov r8, qword [rsp + 0x40]
inc r8
mov qword [rsp + 0x40], r8
add r13, 0x40
mov r12, qword [rsp + 0x48]
mov rcx, qword [r12 + 0x32fd8]
mov rax, qword [r12 + 0x32fe0]
sub rax, rcx
sar rax, 6
cmp r8, rax
jb 0x140151ca0
mov esi, dword [rbx + 0x44]
cmp esi, 0xffffffff
jne 0x140151dc7
mov dword [rbx + 0x44], edx
mov esi, edx
movsxd r8, esi
xor r9d, r9d
mov edx, 0x14e
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, r14d
lea r15, [0x140000000]
nop word [rax + rax]
movsxd rax, edi
lea rcx, [rax + rax*2]
lea r9, [r15 + 0x2361b0]
lea r9, [r9 + rcx*2]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
cmp edi, 0x11
jb 0x140151df0
call fcn.14000c980
mov r15, rax
mov rsi, qword [rax + 0x32e10]
sub rsi, qword [rax + 0x32e08]
sar rsi, 5
test rsi, rsi
je 0x140151e96
mov rdi, r14
nop dword [rax]
mov r9, qword [r15 + 0x32e08]
add r9, rdi
cmp qword [r9 + 0x18], 8
jb 0x140151e54
mov r9, qword [r9]
xor r8d, r8d
mov edx, 0x143
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [r15 + 0x32e08]
add r9, rdi
cmp qword [r9 + 0x18], 8
jb 0x140151e7a
mov r9, qword [r9]
mov r8, rax
mov edx, 0x151
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.USER32.dll_SendMessageW]
add rdi, 0x20
sub rsi, 1
jne 0x140151e40
mov ecx, 0x40
call fcn.14017f5a8
lea rdi, vtable.ColourPicker.0
test rax, rax
je 0x140151ed0
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax], rdi
mov dword [rax + 0x20], 0xff
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], r14
mov byte [rax + 0x38], 1
jmp 0x140151ed3
mov rax, r14
mov qword [rbx + 0x30], rax
mov ecx, 0x40
call fcn.14017f5a8
test rax, rax
je 0x140151f0a
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax], rdi
mov dword [rax + 0x20], 0xff
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], r14
mov byte [rax + 0x38], 1
jmp 0x140151f0d
mov rax, r14
mov qword [rbx + 0x38], rax
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
mov r8, qword [rbx + 0x18]
mov rdx, qword [rbx + 8]
call qword [rax + 8]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
mov r8, qword [rbx + 0x18]
mov rdx, qword [rbx + 8]
call qword [rax + 8]
mov r8, qword [rbx + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [r8 + 0x18]
mov rdx, qword [rbx + 0x78]
mov rcx, rbx
call fcn.1401293a0
mov r8, qword [rbx + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [r8 + 0x18]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1401293a0
mov ecx, dword [rsp + 0x30]
cmp dword [rsp + 0x38], ecx
cmovg ecx, dword [rsp + 0x38]
lea edx, [rcx + 0xa]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x38], edx
mov r8d, dword [rsp + 0x3c]
sub r8d, 4
mov dword [rsp + 0x3c], r8d
sub dword [rsp + 0x34], 4
mov rcx, qword [rbx + 0x30]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x19
mov r9d, 0x19
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbx + 0x38]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x19
mov r9d, 0x19
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x18]
movzx edi, byte [rbx + 0x63d38]
mov edx, 1
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, edi
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x8fd
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rax, qword [r12 + 0x32e60]
test rax, rax
je 0x140152072
mov edx, 6
mov rcx, qword [rbx + 0x18]
call rax
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, rbx
call fcn.140152f90
mov rcx, rbx
call fcn.1401524c0
mov rcx, rbx
call fcn.140129ce0
mov rcx, rbx
call fcn.140150ea0
jmp 0x1401520ce
mov rcx, qword [rcx + 0x30]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401520bb
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1401520ce
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov eax, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14017f700
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a10ac
int3