Function at 0x18013a0a0
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 [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, rcx
cmp byte [0x1804e2bfc], 0
je 0x18013a0f3
mov esi, 0xfffffff4
jmp 0x18013a107
movss xmm0, dword [0x1804e2c48]
mulss xmm0, dword [0x1803f71c0]
cvttss2si esi, xmm0
mov ecx, 0x180
call fcn.180393f74
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.18021bf60
mov rdi, rax
mov dword [rax + 0x40], 0x1bd
mov rcx, qword [0x1804f19e8]
test rcx, rcx
je 0x18013a188
mov edx, 0x30d
call fcn.18021b240
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18013a176
lea r8d, [r14 + 3]
mov rdx, rax
mov rcx, rdi
call fcn.180216800
nop
test rbx, rbx
je 0x18013a188
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov edx, 0x1264
lea rcx, [rbp - 0x50]
call fcn.1802170b0
nop
lea rcx, [rdi + 0x118]
lea rax, [rbp - 0x50]
cmp rcx, rax
je 0x18013a1be
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
call fcn.180005cd0
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.18021de90
mov edx, 0x9d57
lea rcx, [rbp - 0x70]
call fcn.1802170b0
nop
mov ecx, 0xb8
call fcn.180393f74
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], 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.18021de90
mov dword [rbx + 0x7c], esi
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.18021d740
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.1802170b0
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x18013a358
lea rcx, [rbp - 0x70]
call fcn.180005c50
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 0x18013a39d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013a398
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013a398
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0xb8
call fcn.180393f74
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], 0x1c0
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.18021de90
mov dword [rbx + 0x7c], esi
mov r8b, 1
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.18021d740
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 [0x1804e2bfc], 0
je 0x18013a4d4
mov eax, 6
jmp 0x18013a4ea
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
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.1802170b0
nop
movzx ecx, byte [0x1804e2bfc]
test cl, cl
je 0x18013a53a
mov eax, 0xac
jmp 0x18013a557
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 + 0x4c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804e2bfc]
mov dword [rsp + 0x30], eax
test cl, cl
je 0x18013a566
mov eax, 0x1c
jmp 0x18013a57c
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
lea ecx, [r8 - 0x44]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x34], eax
mov ecx, 0x180
call fcn.180393f74
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.18021bf60
mov rbx, rax
mov dword [rax + 0x40], 0x1c4
cmp dword [rax + 0x178], esi
je 0x18013a5d1
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 0x18013a5fc
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x18013a62a
test r8, r8
je 0x18013a626
nop
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x18013a62a
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x18013a610
mov al, 1
jmp 0x18013a62c
xor al, al
test al, al
jne 0x18013a65e
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x18013a652
lea rdx, [rsp + 0x40]
cmp rdi, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180005cd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov rcx, qword [0x1804f19e8]
test rcx, rcx
je 0x18013a6a5
mov edx, 0x30c
call fcn.18021b240
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18013a693
mov r8d, 3
mov rdx, rax
mov rcx, rbx
call fcn.180216800
nop
test rdi, rdi
je 0x18013a6a5
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.18021de90
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.1802170b0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x18013a747
lea rcx, [rsp + 0x40]
call fcn.180005c50
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 0x18013a78c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013a787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013a787
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0x180
call fcn.180393f74
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.18021bf60
mov rbx, rax
mov dword [rax + 0x40], 0x1c5
cmp dword [rax + 0x178], esi
je 0x18013a7f1
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 0x18013a81c
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x18013a84a
test r8, r8
je 0x18013a846
nop
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x18013a84a
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x18013a830
mov al, 1
jmp 0x18013a84c
xor al, al
test al, al
jne 0x18013a87e
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x18013a872
lea rdx, [rsp + 0x40]
cmp rdi, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180005cd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
mov rcx, qword [0x1804f19e8]
test rcx, rcx
je 0x18013a8c5
mov edx, 0x30c
call fcn.18021b240
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18013a8b3
mov r8d, 3
mov rdx, rax
mov rcx, rbx
call fcn.180216800
nop
test rdi, rdi
je 0x18013a8c5
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.18021de90
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.1802170b0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x18013a967
lea rcx, [rsp + 0x40]
call fcn.180005c50
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 0x18013a9ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013a9a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013a9a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov ecx, 0x1d8
call fcn.180393f74
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.18021bf60
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, [0x180090870]
mov qword [rsp + 0x20], rax
lea r9, [fcn.180090890]
mov edi, 4
mov r8d, edi
mov r15d, 8
mov edx, r15d
call fcn.180394774
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], 0x1c6
mov edx, 0x30f
mov rcx, qword [0x1804f19e8]
call fcn.18021b240
mov rdx, rax
mov rcx, r12
call fcn.180216d00
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 0x18013aaf5
mov rcx, qword [r9]
mov r8, qword [r9 + 0x10]
mov r10, qword [rsp + 0x50]
cmp r8, r10
jne 0x18013ab22
test r8, r8
je 0x18013ab1e
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x18013ab22
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x18013ab08
mov al, 1
jmp 0x18013ab24
xor al, al
test al, al
jne 0x18013ab57
lea rax, [rsp + 0x40]
cmp r9, rax
je 0x18013ab4a
lea rdx, [rsp + 0x40]
cmp rbx, 8
cmovae rdx, r11
mov r8, r10
mov rcx, r9
call fcn.180005cd0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0xd0]
cmp dword [r12 + 0x178], esi
je 0x18013ab76
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.18021de90
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 [0x1804e2bfc]
test al, al
jne 0x18013abe7
mov r8d, 0x60
mov edx, dword [0x1804e3778]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804e2bfc]
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 0x18013ac2e
lea r8d, [r14 + 0x60]
mov edx, dword [0x1804e3778]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
call fcn.180372370
test al, al
je 0x18013ac5f
cmp byte [0x1804e2bfc], r14b
je 0x18013ac47
mov edi, 3
jmp 0x18013ac5f
mov r8d, 0x60
mov edx, dword [0x1804e3778]
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 [0x1804e2bfc], bl
je 0x18013ad73
lea eax, [rbx + 0x14]
jmp 0x18013ad89
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
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 0x18013ae05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013ae00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013ae00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x18013ae5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013ae56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013ae56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], bx
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x18013aeae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013aea9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013aea9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
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.180393f50
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