Function at 0x1400039c0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400dd078]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, r9
mov r14d, r8d
mov esi, edx
mov r15, rcx
mov qword [rbp - 0x78], r9
lea rcx, [rbp + 0x270]
call fcn.140025900
nop
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0xc0]
call fcn.140029390
nop
mov ecx, 8
call fcn.140062608
lea rcx, [rbp + 0x270]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140007ea0]
xor edx, edx
xor ecx, ecx
call fcn.140068d38
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140003f72
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
lea r8d, [r12 + 0x15]
lea rdx, str.SelfClosingMessageBox
lea rcx, [rbp - 0x70]
call fcn.140018430
lea rax, [0x1400a5a00]
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0x48], rax
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x50]
call fcn.140003640
nop
mov qword [rsp + 0x40], 0xa
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x40]
call fcn.140029100
mov ebx, eax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0xc8]
call fcn.140061438
test eax, eax
jne 0x140003f82
mov dword [rsp + 0x20], ebx
lea r9d, [r12 + 1]
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x198]
call fcn.14002aa40
mov rbx, rax
lea rcx, [rbp + 0xc0]
call fcn.140029c20
movsxd rcx, dword [rbx + 0xc]
lea r8, [0x1400c4218]
mov r8, qword [r8 + rcx*8]
mov rcx, qword [rbp + 0x190]
mov r9, qword [rcx + 0x10]
mov ecx, dword [rbx + 0x10]
imul rcx, r8
xor edx, edx
mov rax, r9
div r8
sub rcx, rdx
add rcx, r9
mov qword [rbx + 0x18], rcx
lea rcx, [rbp + 0xc8]
call fcn.14006145c
cmp byte [rdi + 0x20], r12b
je 0x140003b6c
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140016050
jmp 0x140003b95
mov qword [rbp - 0x10], r12
mov qword [rbp], r12
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r12w
xor r8d, r8d
lea rdx, [0x1400a5300]
lea rcx, [rbp - 0x10]
call fcn.1400175d0
nop
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, esi
xor edx, edx
mov ecx, 0x1100
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140003c16
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140003be1
lea rcx, [rbp - 0x70]
call fcn.1400175d0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rsp + 0x70], xmm1
mov al, 1
jmp 0x140003c22
xor al, al
movups xmm1, xmmword [rsp + 0x70]
movups xmm0, xmmword [rsp + 0x60]
mov byte [rbp - 0x80], al
test al, al
je 0x140003c47
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm1
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
jmp 0x140003c70
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
xor r8d, r8d
lea rdx, [0x1400a5300]
lea rcx, [rbp - 0x50]
call fcn.1400175d0
nop
lea rax, str._nIf_you_do_not_click_OK__this_message_box_will_close_automatically_after_10_seconds.
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x5a
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rcx, [0x1400080f0]
mov qword [rsp + 0x48], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x20], xmm0
movabs rax, 0xd000000000000000
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x30], xmm0
movabs rax, 0xd000000000000010
mov qword [rbp + 0x18], rax
mov qword [rsp + 0x40], 2
lea rax, [rbp + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140015d30
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r9d, r14d
lea r8, [0x1400a5350]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140003d6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f8a
call fcn.14006235c
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140003dbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003db8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f90
call fcn.14006235c
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r12w
lea rcx, [rsp + 0x60]
call fcn.140004d40
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140003e1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f96
call fcn.14006235c
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x140003e5b
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003f9c
call fcn.14006235c
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x140003e9e
mov rax, qword [rcx]
lea rdx, [rbp + 0x58]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400956a8]
mov qword [rbp + 0x90], r12
cmp dword [rsp + 0x58], 0
jne 0x140003f6c
lea rax, vtable.winlib::event::TimerDispatcher.0
mov qword [rbp + 0xc0], rax
mov rcx, qword [rbp + 0x258]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x268]
mov rdx, qword [rbp + 0x260]
mov rax, qword [rax + 0x18]
call qword [0x1400956a8]
nop
lea rcx, [rbp + 0x1a0]
call fcn.140029080
lea rcx, [rbp + 0x198]
call fcn.140029f10
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x140003f08
mov edx, 0x18
call fcn.14006235c
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x140003f1a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x118]
call fcn.1400038b0
lea rcx, [rbp + 0xc8]
call fcn.1400613f4
nop
lea rcx, [rbp + 0x270]
call fcn.140025ac0
nop
mov rcx, rdi
call fcn.140004d40
mov rax, r15
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400620b0
add rsp, 0x4a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14006b6d0
nop
mov dword [rsp + 0x58], r12d
mov ecx, 6
call fcn.140060758
nop
mov ecx, eax
call fcn.14006071c
nop
call fcn.14006b338
nop
call fcn.14006b338
nop
call fcn.14006b338
nop
call fcn.14006b338
int3