Function at 0x180135230
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 [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, rcx
cmp byte [0x1804ce541], 0
je 0x180135283
mov esi, 0xfffffff4
jmp 0x180135297
movss xmm0, dword [0x1804cf7ac]
mulss xmm0, dword [0x1803e86f0]
cvttss2si esi, xmm0
mov ecx, 0x180
call fcn.180388424
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.180221060
mov rdi, rax
mov dword [rax + 0x40], 0x1bc
mov rcx, qword [0x1804de0d0]
test rcx, rcx
je 0x180135318
mov edx, 0x30d
call fcn.18021abc0
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180135306
lea r8d, [r14 + 3]
mov rdx, rax
mov rcx, rdi
call fcn.1802162f0
nop
test rbx, rbx
je 0x180135318
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov edx, 0x1264
lea rcx, [rbp - 0x50]
call fcn.180216ba0
nop
lea rcx, [rdi + 0x118]
lea rax, [rbp - 0x50]
cmp rcx, rax
je 0x18013534e
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
call fcn.180004ea0
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.18021f9e0
mov edx, 0x9d57
lea rcx, [rbp - 0x70]
call fcn.180216ba0
nop
mov ecx, 0xb8
call fcn.180388424
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.18021f9e0
mov dword [rbx + 0x7c], esi
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.180222840
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.180216ba0
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x1801354e8
lea rcx, [rbp - 0x70]
call fcn.180004e20
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 0x18013552d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135528
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135528
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0xb8
call fcn.180388424
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.18021f9e0
mov dword [rbx + 0x7c], esi
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.180222840
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 [0x1804ce541], 0
je 0x180135664
mov eax, 6
jmp 0x18013567a
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
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.180216ba0
nop
movzx ecx, byte [0x1804ce541]
test cl, cl
je 0x1801356ca
mov eax, 0xac
jmp 0x1801356e7
mov r8d, 0x60
mov edx, dword [0x1804d0338]
lea ecx, [r8 + 0x4c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804ce541]
mov dword [rsp + 0x30], eax
test cl, cl
je 0x1801356f6
mov eax, 0x1c
jmp 0x18013570c
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
lea ecx, [r8 - 0x44]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x34], eax
mov ecx, 0x180
call fcn.180388424
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.180221060
mov rbx, rax
mov dword [rax + 0x40], 0x1c3
cmp dword [rax + 0x178], esi
je 0x180135761
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 0x18013578c
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x1801357ba
test r8, r8
je 0x1801357b6
nop
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x1801357ba
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x1801357a0
mov al, 1
jmp 0x1801357bc
xor al, al
test al, al
jne 0x1801357ee
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x1801357e2
lea rdx, [rsp + 0x40]
cmp rdi, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180004ea0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov rcx, qword [0x1804de0d0]
test rcx, rcx
je 0x180135835
mov edx, 0x30c
call fcn.18021abc0
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180135823
mov r8d, 3
mov rdx, rax
mov rcx, rbx
call fcn.1802162f0
nop
test rdi, rdi
je 0x180135835
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.18021f9e0
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.180216ba0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x1801358d7
lea rcx, [rsp + 0x40]
call fcn.180004e20
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 0x18013591c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135917
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135917
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0x180
call fcn.180388424
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.180221060
mov rbx, rax
mov dword [rax + 0x40], 0x1c4
cmp dword [rax + 0x178], esi
je 0x180135981
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 0x1801359ac
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x1801359da
test r8, r8
je 0x1801359d6
nop
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x1801359da
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x1801359c0
mov al, 1
jmp 0x1801359dc
xor al, al
test al, al
jne 0x180135a0e
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x180135a02
lea rdx, [rsp + 0x40]
cmp rdi, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180004ea0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov rcx, qword [0x1804de0d0]
test rcx, rcx
je 0x180135a55
mov edx, 0x30c
call fcn.18021abc0
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180135a43
mov r8d, 3
mov rdx, rax
mov rcx, rbx
call fcn.1802162f0
nop
test rdi, rdi
je 0x180135a55
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.18021f9e0
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.180216ba0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x180135af7
lea rcx, [rsp + 0x40]
call fcn.180004e20
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 0x180135b3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135b37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135b37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0x1d8
call fcn.180388424
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.180221060
nop
lea rax, vtable.RC::RCWidgetToggleImageButton.0
mov qword [r12], rax
lea rax, vtable.RC::RCWidgetToggleImageButton.2.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, [0x18008e2c0]
mov qword [rsp + 0x20], rax
lea r9, [fcn.18008e2e0]
mov edi, 4
mov r8d, edi
mov r15d, 8
mov edx, r15d
call fcn.180388c24
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 [0x1804de0d0]
call fcn.18021abc0
mov rdx, rax
mov rcx, r12
call fcn.1802167f0
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 0x180135c85
mov rcx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x180135cb2
test r8, r8
je 0x180135cae
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x180135cb2
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x180135c98
mov al, 1
jmp 0x180135cb4
xor al, al
test al, al
jne 0x180135ce7
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x180135cda
lea rdx, [rsp + 0x40]
cmp rbx, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180004ea0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0xd0]
cmp dword [r12 + 0x178], esi
je 0x180135d06
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.18021f9e0
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 [0x1804ce541]
test al, al
jne 0x180135d77
mov r8d, 0x60
mov edx, dword [0x1804d0338]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804ce541]
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 0x180135dbe
lea r8d, [r14 + 0x60]
mov edx, dword [0x1804d0338]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
call fcn.180202dc0
test al, al
je 0x180135def
cmp byte [0x1804ce541], r14b
je 0x180135dd7
mov edi, 3
jmp 0x180135def
mov r8d, 0x60
mov edx, dword [0x1804d0338]
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 [0x1804ce541], bl
je 0x180135f03
lea eax, [rbx + 0x14]
jmp 0x180135f19
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
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 0x180135f95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135f90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135f90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x180135feb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135fe6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135fe6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], bx
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x18013603e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180136039
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136039
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
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.180388400
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