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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, rcx
cmp byte [0x1804cb541], 0
je 0x180134af3
mov esi, 0xfffffff4
jmp 0x180134b07
movss xmm0, dword [0x1804cc7ac]
mulss xmm0, dword [0x1803e66c0]
cvttss2si esi, xmm0
mov ecx, 0x180
call fcn.180385c34
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [rsp + 0x30], r14
lea rdx, [r13 + 0x50]
test r13, r13
cmove rdx, r14
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, rax
call fcn.180220aa0
mov rdi, rax
mov dword [rax + 0x40], 0x1bc
mov rcx, qword [0x1804db0a0]
test rcx, rcx
je 0x180134b88
mov edx, 0x30d
call fcn.18021a600
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180134b76
lea r8d, [r14 + 3]
mov rdx, rax
mov rcx, rdi
call fcn.180215d30
nop
test rbx, rbx
je 0x180134b88
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov edx, 0x1264
lea rcx, [rbp - 0x50]
call fcn.1802165e0
nop
lea rcx, [rdi + 0x118]
lea rax, [rbp - 0x50]
cmp rcx, rax
je 0x180134bbe
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
call fcn.180004e70
mov byte [rdi + 0xe1], 1
mov rdx, qword [r13 + 0x18]
sub rdx, qword [r13 + 0x10]
sar rdx, 3
mov r8, rdi
mov rcx, r13
call fcn.18021f420
mov edx, 0x9d57
lea rcx, [rbp - 0x70]
call fcn.1802165e0
nop
mov ecx, 0xb8
call fcn.180385c34
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rdi, vtable.RC::RCWidgetView.0
mov qword [rax], rdi
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov byte [rax + 0x28], 1
mov qword [rax + 0x2c], r14
mov qword [rax + 0x34], r14
mov word [rax + 0x3c], 0x101
mov dword [rax + 0x40], r14d
mov dword [rax + 0x44], 0xffffffff
mov byte [rax + 0x48], 0
lea r15, vtable.RC::RCWidgetStretchAttr.0
mov qword [rax + 0x50], r15
mov dword [rax + 0x58], r14d
mov qword [rax + 0x5c], r14
lea r12, vtable.RC::RCWidgetStatic.1.0
mov qword [rax], r12
lea rax, vtable.RC::RCWidgetStatic.0
mov qword [rbx + 0x50], rax
mov word [rbx + 0x68], 0
mov byte [rbx + 0x6a], 0xff
mov qword [rbx + 0x6c], r14
mov qword [rbx + 0x74], r14
mov dword [rbx + 0x7c], 0xfffffff4
mov qword [rbx + 0x80], r14
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xa0], 7
mov word [rbx + 0x88], r14w
mov dword [rbx + 0xa8], 0xff979797
mov dword [rbx + 0xac], 0xff000000
mov byte [rbx + 0xb0], 0
mov dword [rbx + 0x40], 0x1be
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x30]
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x50]
mov rdx, qword [r13 + 0x18]
sub rdx, qword [r13 + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, r13
call fcn.18021f420
mov dword [rbx + 0x7c], esi
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.180222280
mov dword [rbx + 0x6c], r14d
mov qword [rbx + 0x70], 1
mov dword [rbx + 0x78], r14d
mov dword [rbx + 0xa8], 0xffffffff
mov edx, 0xf230
lea rcx, [rsp + 0x60]
call fcn.1802165e0
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x180134d58
lea rcx, [rbp - 0x70]
call fcn.180004df0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x180134d9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180134d98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180134d98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0xb8
call fcn.180385c34
mov rbx, rax
mov qword [rsp + 0x60], rax
mov qword [rax], rdi
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov byte [rax + 0x28], 1
mov qword [rax + 0x2c], r14
mov qword [rax + 0x34], r14
mov word [rax + 0x3c], 0x101
mov dword [rax + 0x40], r14d
mov dword [rax + 0x44], 0xffffffff
mov byte [rax + 0x48], 0
mov qword [rax + 0x50], r15
mov dword [rax + 0x58], r14d
mov qword [rax + 0x5c], r14
mov qword [rax], r12
lea rax, vtable.RC::RCWidgetStatic.0
mov qword [rbx + 0x50], rax
mov word [rbx + 0x68], 0
mov byte [rbx + 0x6a], 0xff
mov qword [rbx + 0x6c], r14
mov qword [rbx + 0x74], r14
mov dword [rbx + 0x7c], 0xfffffff4
mov qword [rbx + 0x80], r14
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xa0], 7
mov word [rbx + 0x88], r14w
mov dword [rbx + 0xa8], 0xff979797
mov dword [rbx + 0xac], 0xff000000
mov byte [rbx + 0xb0], 0
mov dword [rbx + 0x40], 0x1bf
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x30]
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x50]
mov rdx, qword [r13 + 0x18]
sub rdx, qword [r13 + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, r13
call fcn.18021f420
mov dword [rbx + 0x7c], esi
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.180222280
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_CopyRect]
cmp byte [0x1804cb541], 0
je 0x180134ed4
mov eax, 6
jmp 0x180134eea
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x5a]
call qword [sym.imp.KERNEL32.dll_MulDiv]
sub dword [rbp - 0x7c], eax
add dword [rbp - 0x74], eax
lea rdx, [rbp - 0x80]
lea rcx, [rbx + 0x2c]
call qword [sym.imp.USER32.dll_CopyRect]
mov dword [rbx + 0x6c], r14d
mov qword [rbx + 0x70], 1
mov dword [rbx + 0x78], r14d
mov dword [rbx + 0xa8], 0xff33a8ff
mov edx, 0x9d59
lea rcx, [rsp + 0x40]
call fcn.1802165e0
nop
movzx ecx, byte [0x1804cb541]
test cl, cl
je 0x180134f3a
mov eax, 0xac
jmp 0x180134f57
mov r8d, 0x60
mov edx, dword [0x1804cd338]
lea ecx, [r8 + 0x4c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804cb541]
mov dword [rsp + 0x30], eax
test cl, cl
je 0x180134f66
mov eax, 0x1c
jmp 0x180134f7c
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x44]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x34], eax
mov ecx, 0x180
call fcn.180385c34
mov qword [rsp + 0x60], rax
lea rdx, [r13 + 0x50]
test r13, r13
cmove rdx, r14
lea r9, [rsp + 0x30]
mov r8d, 1
mov rcx, rax
call fcn.180220aa0
mov rbx, rax
mov dword [rax + 0x40], 0x1c3
cmp dword [rax + 0x178], esi
je 0x180134fd1
mov dword [rax + 0x178], esi
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xd0]
lea r9, [rbx + 0x138]
lea rcx, [rsp + 0x40]
mov r11, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
cmp rdi, 8
cmovae rcx, r11
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x180134ffc
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x18013502a
test r8, r8
je 0x180135026
nop
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x18013502a
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x180135010
mov al, 1
jmp 0x18013502c
xor al, al
test al, al
jne 0x18013505e
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x180135052
lea rdx, [rsp + 0x40]
cmp rdi, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180004e70
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov rcx, qword [0x1804db0a0]
test rcx, rcx
je 0x1801350a5
mov edx, 0x30c
call fcn.18021a600
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180135093
mov r8d, 3
mov rdx, rax
mov rcx, rbx
call fcn.180215d30
nop
test rdi, rdi
je 0x1801350a5
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdx, qword [r13 + 0x18]
sub rdx, qword [r13 + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, r13
call fcn.18021f420
mov dword [rbx + 0xe4], 1
mov qword [rbx + 0xe8], 1
mov dword [rbx + 0xf0], r14d
mov dword [rbx + 0x158], 0xff333333
mov dword [rbx + 0x15c], 0xff333333
mov dword [rbx + 0x160], 0xff333333
mov dword [rbx + 0x164], 0xff333333
mov edx, 0x9d5b
lea rcx, [rsp + 0x60]
call fcn.1802165e0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x180135147
lea rcx, [rsp + 0x40]
call fcn.180004df0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18013518c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135187
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135187
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0x180
call fcn.180385c34
mov qword [rsp + 0x60], rax
lea rdx, [r13 + 0x50]
test r13, r13
cmove rdx, r14
lea r9, [rsp + 0x30]
mov r8d, 1
mov rcx, rax
call fcn.180220aa0
mov rbx, rax
mov dword [rax + 0x40], 0x1c4
cmp dword [rax + 0x178], esi
je 0x1801351f1
mov dword [rax + 0x178], esi
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xd0]
lea r9, [rbx + 0x138]
lea rcx, [rsp + 0x40]
mov r11, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
cmp rdi, 8
cmovae rcx, r11
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x18013521c
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x18013524a
test r8, r8
je 0x180135246
nop
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x18013524a
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x180135230
mov al, 1
jmp 0x18013524c
xor al, al
test al, al
jne 0x18013527e
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x180135272
lea rdx, [rsp + 0x40]
cmp rdi, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180004e70
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov rcx, qword [0x1804db0a0]
test rcx, rcx
je 0x1801352c5
mov edx, 0x30c
call fcn.18021a600
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1801352b3
mov r8d, 3
mov rdx, rax
mov rcx, rbx
call fcn.180215d30
nop
test rdi, rdi
je 0x1801352c5
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdx, qword [r13 + 0x18]
sub rdx, qword [r13 + 0x10]
sar rdx, 3
mov r8, rbx
mov rcx, r13
call fcn.18021f420
mov dword [rbx + 0xe4], 1
mov qword [rbx + 0xe8], 1
mov dword [rbx + 0xf0], r14d
mov dword [rbx + 0x158], 0xff333333
mov dword [rbx + 0x15c], 0xff333333
mov dword [rbx + 0x160], 0xff333333
mov dword [rbx + 0x164], 0xff333333
mov edx, 0x9d5d
lea rcx, [rsp + 0x60]
call fcn.1802165e0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x180135367
lea rcx, [rsp + 0x40]
call fcn.180004df0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1801353ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801353a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801353a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0x1d8
call fcn.180385c34
mov r12, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r14
lea rdx, [r13 + 0x50]
test r13, r13
cmove rdx, r14
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, rax
call fcn.180220aa0
nop
lea rax, vtable.RC::RCWidgetToggleImageButton.2.0
mov qword [r12], rax
lea rax, vtable.RC::RCWidgetToggleImageButton.0
mov qword [r12 + 0x60], rax
lea rax, vtable.RC::RCWidgetToggleImageButton.1.0
mov qword [r12 + 0x78], rax
mov byte [r12 + 0x180], 0
lea rcx, [r12 + 0x188]
lea rax, [0x18008e230]
mov qword [rsp + 0x20], rax
lea r9, [fcn.18008e250]
mov edi, 4
mov r8d, edi
mov r15d, 8
mov edx, r15d
call fcn.180386434
nop
mov qword [r12 + 0x1b8], r14
mov qword [r12 + 0x1c0], 7
mov word [r12 + 0x1a8], r14w
lea rax, vtable.RC::RCWidgetCheckBtn.1.0
mov qword [r12], rax
lea rax, vtable.RC::RCWidgetCheckBtn.2.0
mov qword [r12 + 0x60], rax
lea rax, vtable.RC::RCWidgetCheckBtn.0
mov qword [r12 + 0x78], rax
mov qword [r12 + 0x1c8], 0xffffffffffffffff
mov byte [r12 + 0x1d0], 0
mov dword [r12 + 0x40], 0x1c5
mov edx, 0x30f
mov rcx, qword [0x1804db0a0]
call fcn.18021a600
mov rdx, rax
mov rcx, r12
call fcn.180216230
lea r9, [r12 + 0x138]
lea rdx, [rsp + 0x40]
mov r11, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
cmp rbx, r15
cmovae rdx, r11
mov rcx, r9
cmp qword [r9 + 0x18], r15
jb 0x1801354f5
mov rcx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x180135522
test r8, r8
je 0x18013551e
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x180135522
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x180135508
mov al, 1
jmp 0x180135524
xor al, al
test al, al
jne 0x180135557
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x18013554a
lea rdx, [rsp + 0x40]
cmp rbx, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180004e70
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0xd0]
cmp dword [r12 + 0x178], esi
je 0x180135576
mov dword [r12 + 0x178], esi
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0xd0]
mov rax, qword [r13 + 0x18]
sub rax, qword [r13 + 0x10]
sar rax, 3
mov r8, r12
mov edx, eax
mov rcx, r13
call fcn.18021f420
mov qword [r12 + 0x158], 0xffffffffffffffff
mov dword [r12 + 0x160], 0xffffffff
mov dword [r12 + 0x164], 0xff999999
mov r14d, dword [r12 + 0x34]
sub r14d, dword [r12 + 0x2c]
movzx eax, byte [0x1804cb541]
test al, al
jne 0x1801355e7
mov r8d, 0x60
mov edx, dword [0x1804cd338]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804cb541]
lea ecx, [r15 + r14]
mov dword [rsp + 0x30], ecx
xor r14d, r14d
mov dword [r12 + 0xe4], r14d
mov dword [r12 + 0xec], ecx
mov dword [r12 + 0xe8], 1
mov dword [r12 + 0xf0], r14d
test al, al
jne 0x18013562e
lea r8d, [r14 + 0x60]
mov edx, dword [0x1804cd338]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
call fcn.180202800
test al, al
je 0x18013565f
cmp byte [0x1804cb541], r14b
je 0x180135647
mov edi, 3
jmp 0x18013565f
mov r8d, 0x60
mov edx, dword [0x1804cd338]
lea ecx, [r8 - 0x5d]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov ecx, dword [r12 + 0x38]
sub ecx, dword [r12 + 0x30]
add ecx, edi
mov eax, dword [r12 + 0x34]
sub eax, dword [r12 + 0x2c]
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], ecx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r12 + 0x168], xmm0
xor edx, edx
mov r8d, 0x1f0
lea rcx, [rbp - 0xc]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x10], 0x1f4
xor r9d, r9d
lea r8, [rbp - 0x10]
mov edx, 0x1f4
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [rbp + 0xd0], esi
mov dword [rbp + 0xe0], 0x190
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0xd0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov r15, rax
mov rsi, qword [rsp + 0x50]
lea r14, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r14, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov rdx, r15
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x20], 0x400
lea r9, [rbp - 0x20]
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
mov qword [rbp - 0x30], rbx
mov eax, dword [rbp - 0x18]
sub eax, dword [rbp - 0x20]
add eax, dword [rsp + 0x30]
mov dword [rbp - 0x28], eax
cmp byte [0x1804cb541], bl
je 0x180135773
lea eax, [rbx + 0x14]
jmp 0x180135789
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x4c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rbp - 0x24], eax
lea rdx, [rbp - 0x30]
lea rcx, [r12 + 0x2c]
call qword [sym.imp.USER32.dll_CopyRect]
movzx eax, byte [r13 + 0x58]
mov byte [r12 + 0x180], al
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0xd0]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180135805
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135800
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x18013585b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135856
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135856
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], bx
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1801358ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801358a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801358a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], bx
mov al, 1
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret