Function at 0x140152ce0
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 [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r9
mov rsi, r8
mov rbx, rcx
sub edx, 2
je 0x140153d74
sub edx, 0x10e
je 0x140153806
sub edx, 1
je 0x140152d9d
cmp edx, 3
jne 0x14015322f
mov edx, 0x8fe
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp rdi, rax
jne 0x140153dae
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.14000c990
mov rcx, rax
mov r8d, edi
mov rdx, qword [rbx + 0x18]
call fcn.1400d4040
jmp 0x140153dae
mov rdx, rsi
shr rdx, 0x10
mov eax, 0x300
cmp dx, ax
jne 0x140152f13
mov r12d, 0x8ae
cmp si, r12w
jne 0x140152ea2
call fcn.140152b00
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.1401812cc
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 0x140152e80
lea ecx, [rsi + 0x21]
call fcn.140181288
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140152e6b
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
nop
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x140152e50
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.140006d70
jmp 0x140152e6e
mov rdi, r14
mov qword [r13 + 0x38], rdi
mov rcx, r15
call fcn.1401812c4
jmp 0x14015321f
inc rsi
cmp word [r15 + rsi*2], r14w
jne 0x140152e80
mov r8, rsi
mov rdx, r15
call fcn.140006d70
mov rcx, r15
call fcn.1401812c4
jmp 0x14015321f
mov edx, 0x8a9
cmp si, dx
jne 0x14015322f
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 0x140152ee0
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.140006d70
jmp 0x14015321f
cmp rsi, 0x89c
ja 0x140153169
je 0x14015311e
cmp rsi, 2
jne case.0x140153195.2206
cmp byte [rcx + 0x63d38], 0
je 0x1401530f2
call fcn.14000c990
mov rdi, rax
movzx eax, byte [rbx + 0x63d27]
test al, al
je 0x14015302a
lea rdx, [rdi + 0x810]
lea rcx, [rsp + 0x60]
call fcn.140002f50
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400ea590
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140152fc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140152fbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140153ddd
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x70], xmm0
xor r14d, r14d
mov word [rsp + 0x60], r14w
movzx eax, byte [rbx + 0x63d27]
test al, al
je 0x14015302a
lea rcx, [rbx + 0x31ef0]
lea rdx, [rdi + 0xfe0]
call fcn.140152860
mov rdx, rax
lea rcx, [rbx + 0xa0]
call fcn.140152860
lea rcx, [rbx + 0x63598]
lea rdx, [rdi + 0x32688]
call fcn.1400b4980
mov rdx, rax
lea rcx, [rbx + 0x31748]
call fcn.1400b4980
jmp 0x14015306e
lea rdx, [rbx + 0x63598]
lea rcx, [rbx + 0x31748]
call fcn.1400b4980
mov rdx, rax
lea rcx, [rdi + 0x32688]
call fcn.1400b4980
lea rdx, [rbx + 0x31ef0]
lea rcx, [rbx + 0xa0]
call fcn.140152860
mov rdx, rax
lea rcx, [rdi + 0xfe0]
call fcn.140152860
call fcn.14000c990
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.1401541a0
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.14012b470
jmp 0x140153dae
call fcn.140152b00
mov rdi, rax
cmp dword [rax + 0x28], 0xffffffff
jne 0x140153133
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 0x14015321f
cmp rax, 1
jne 0x140153160
or dword [rdi + 0x28], eax
jmp 0x14015321f
and dword [rdi + 0x28], 0xfffffffe
jmp 0x14015321f
lea rax, [r8 - 0x89d]
cmp rax, 0x62
ja case.0x140153195.2206
lea r15, [0x140000000]
movzx eax, byte [r15 + rax + 0x153e14]
mov ecx, dword [r15 + rax*4 + 0x153de4]
add rcx, r15
jmp rcx
mov rcx, rbx
call fcn.140152b00
mov rdi, rax
cmp dword [rax + 0x28], 0xffffffff
jne 0x1401531af
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 0x14015321f
cmp rax, 1
jne 0x1401531d6
or dword [rdi + 0x28], 2
jmp 0x14015321f
and dword [rdi + 0x28], 0xfffffffd
jmp 0x14015321f
mov rcx, rbx
call fcn.140152b00
mov rdi, rax
cmp dword [rax + 0x28], 0xffffffff
jne 0x1401531f4
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 0x14015321f
cmp rax, 1
jne 0x14015321b
or dword [rdi + 0x28], 4
jmp 0x14015321f
and dword [rdi + 0x28], 0xfffffffb
mov rcx, rbx
call fcn.140152ca0
mov rcx, rbx
call fcn.140152970
xor eax, eax
jmp 0x140153db3
cmp byte [rbx + 0x63d38], 0
je 0x1401532f1
call fcn.14000c990
mov rdi, rax
call fcn.14000c990
mov rsi, rax
lea r15, [rbx + 0xa0]
lea rdx, [rdi + 0xfe0]
mov rcx, r15
call fcn.140152860
lea r14, [rbx + 0x31748]
lea rdx, [rsi + 0x32688]
mov rcx, r14
call fcn.1400b4980
lea rdi, [rbx + 0x31ed0]
call fcn.14000c990
add rax, 0x810
cmp rax, rdi
je 0x1401532af
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401532a3
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140006d70
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 0x1401532ff
lea r14, [rbx + 0x31748]
lea r15, [rbx + 0xa0]
mov byte [rbx + 0x63d39], 0
call fcn.14000c990
mov rcx, rax
mov r8, r14
mov rdx, r15
call fcn.1400ef020
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.14012b470
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 0x140153dae
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 0x1401533cf
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.14000c990
mov rcx, rax
mov r8d, edi
mov rdx, qword [rbx + 0x18]
call fcn.1400d4040
jmp 0x1401533e0
call fcn.14000c990
mov rcx, rax
mov rdx, qword [rbx + 0x18]
call fcn.1400ea840
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 0x140153dae
call fcn.14000c990
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.140152ca0
mov rcx, rbx
call fcn.140152970
jmp 0x140153dae
call fcn.14000c990
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 0x140153435
call fcn.14000c990
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 0x140153435
call fcn.14000c990
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 0x140153435
call fcn.14000c990
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 0x140153435
call fcn.14000c990
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 0x140153435
call fcn.14000c990
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 0x140153435
movzx ecx, dx
test ecx, ecx
je 0x14015372f
cmp ecx, 1
jne 0x14015322f
movzx ecx, si
sub ecx, 0x89a
je 0x1401536f1
sub ecx, 1
je 0x14015364c
sub ecx, 0x65
je 0x140153606
sub ecx, 1
je 0x1401535f9
cmp ecx, 2
jne 0x140153dae
mov rcx, rbx
call fcn.140154a20
mov rcx, rbx
call fcn.1401541a0
mov rcx, rbx
call fcn.140152ca0
mov byte [rbx + 0x63d39], 0
mov rcx, rbx
call fcn.140152970
jmp 0x140153dae
mov rcx, rbx
call fcn.1401541a0
jmp 0x140153dae
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 0x140153dae
movzx edi, byte [rbx + 0x63d39]
mov edx, eax
mov rcx, rbx
call fcn.140153e80
mov byte [rbx + 0x63d39], dil
jmp 0x140153dae
mov rcx, rbx
call fcn.140152b00
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 0x1401536e5
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 0x140153435
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 0x1401536d6
mov r8d, 0xa
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1401b18a0
mov dword [rdi + 0x2c], eax
mov rax, qword [rsp + 0x40]
cmp word [rax], 0
je 0x140153435
mov rsi, 0xffffffffffffffff
mov dword [rdi + 0x2c], esi
jmp 0x140153435
xor r14d, r14d
mov dword [rdi + 0x2c], r14d
jmp 0x140153435
mov rcx, rbx
call fcn.140152b00
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 0x140153435
mov rax, qword [rbx + 0x30]
cmp rdi, qword [rax + 0x18]
jne 0x140153793
mov rcx, rbx
call fcn.140152b00
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 0x14015375b
or dword [rax + 0x18], 1
jmp 0x14015375f
and dword [rax + 0x18], 0xfffffffe
mov rcx, rbx
call fcn.140152ca0
mov rcx, rbx
call fcn.140154d90
cmp eax, 0xffffffff
je 0x14015343d
mov rcx, qword [rbx + 0x30]
mov edx, eax
mov ecx, dword [rcx + 0x20]
call fcn.14012e250
mov rcx, rbx
call fcn.140152970
jmp 0x140153dae
mov rax, qword [rbx + 0x38]
cmp rdi, qword [rax + 0x18]
jne 0x14015322f
mov rcx, rbx
call fcn.140152b00
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 0x1401537c3
or dword [rax + 0x18], 2
jmp 0x1401537c7
and dword [rax + 0x18], 0xfffffffd
mov rcx, rbx
call fcn.140152ca0
mov rcx, rbx
call fcn.140154d90
cmp eax, 0xffffffff
je 0x14015343d
mov ecx, 4
cmp eax, 3
cmove eax, ecx
mov rcx, qword [rbx + 0x38]
mov edx, eax
mov ecx, dword [rcx + 0x20]
call fcn.14012e250
mov rcx, rbx
call fcn.140152970
jmp 0x140153dae
call fcn.14000c990
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, [0x140154900]
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 + 0x32fe0]
mov rax, qword [r12 + 0x32fe8]
sub rax, rcx
sar rax, 6
test rax, rax
je 0x140153a9d
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 0x140153991
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.1400beed0
test eax, eax
jne 0x1401539e1
mov dword [rbx + 0x44], r12d
lea rcx, [rbx + 0x31ed0]
cmp rcx, r15
je 0x1401539e1
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1401539d8
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
call fcn.140006d70
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401539ee
mov r9, qword [rdi]
mov r10, qword [rdi + 0x10]
mov rcx, r10
cmp r10, 7
mov eax, 7
cmova rcx, rax
lea r11, [0x140238b80]
mov rax, r11
test rcx, rcx
je 0x140153a39
sub r9, r11
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jne 0x140153a43
add rax, 2
sub rcx, 1
jne 0x140153a20
cmp r10, 7
jae 0x140153a51
mov eax, esi
jmp 0x140153a57
mov eax, 1
cmp dx, r8w
cmovb eax, esi
jmp 0x140153a57
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 + 0x32fe0]
mov rax, qword [r12 + 0x32fe8]
sub rax, rcx
sar rax, 6
cmp r8, rax
jb 0x140153980
mov esi, dword [rbx + 0x44]
cmp esi, 0xffffffff
jne 0x140153aa7
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 + 0x238aa0]
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 0x140153ad0
call fcn.14000c990
mov r15, rax
mov rsi, qword [rax + 0x32e18]
sub rsi, qword [rax + 0x32e10]
sar rsi, 5
test rsi, rsi
je 0x140153b76
mov rdi, r14
nop dword [rax]
mov r9, qword [r15 + 0x32e10]
add r9, rdi
cmp qword [r9 + 0x18], 8
jb 0x140153b34
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 + 0x32e10]
add r9, rdi
cmp qword [r9 + 0x18], 8
jb 0x140153b5a
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 0x140153b20
mov ecx, 0x40
call fcn.140181288
lea rdi, vtable.ColourPicker.0
test rax, rax
je 0x140153bb0
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 0x140153bb3
mov rax, r14
mov qword [rbx + 0x30], rax
mov ecx, 0x40
call fcn.140181288
test rax, rax
je 0x140153bea
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 0x140153bed
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.14012b070
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.14012b070
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 + 0x32e68]
test rax, rax
je 0x140153d52
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.140154c70
mov rcx, rbx
call fcn.1401541a0
mov rcx, rbx
call fcn.14012b9b0
mov rcx, rbx
call fcn.140152b80
jmp 0x140153dae
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 0x140153d9b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140153dae
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov eax, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401813e0
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.1401a2d8c
int3