Function at 0x1401bad00
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r12
push r14
sub rsp, 0x430
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140334860]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbp, rcx
movsxd rax, dword [rcx + 0x128]
mov r14, rax
inc eax
mov dword [rcx + 0x128], eax
lea rsi, [rcx + 0xb8]
mov r12d, 8
cmp qword [rsi + 0x18], r12
jb 0x1401bad61
mov rsi, qword [rsi]
mov ebx, dword [rcx + 0x1dc]
mov edi, dword [rcx + 0x1d8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [rbp + 0x1e4]
sub edx, ebx
mov ecx, dword [rbp + 0x1e0]
sub ecx, edi
and qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov rax, qword [rbp + 0x230]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
mov r9d, 0x5000008b
mov r8, rsi
lea rdx, str.STATIC
xor ecx, ecx
call fcn.1400aa8e8
mov qword [rbp + 0x250], rax
call fcn.1401b9044
mov r8, rax
mov r14d, 1
mov r9d, r14d
lea edx, [r14 + 0x2f]
mov rcx, qword [rbp + 0x250]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rax, dword [rbp + 0x128]
mov rbx, rax
inc eax
mov dword [rbp + 0x128], eax
mov edi, dword [rbp + 0x1cc]
mov esi, dword [rbp + 0x1c8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [rbp + 0x1d4]
sub edx, edi
mov ecx, dword [rbp + 0x1d0]
sub ecx, esi
xor r9d, r9d
cmp dword [rbp + 0xa0], 2
cmove r9d, r12d
or r9d, 0x50000000
and qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rbp + 0x230]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rdx, str.msctls_progress32
xor ecx, ecx
call fcn.1400aa8e8
mov qword [rbp + 0x248], rax
lea rdx, [0x14021e1b4]
mov r8, rdx
mov rcx, rax
call qword [sym.imp.UxTheme.dll_SetWindowTheme]
movzx r9d, word [0x1403644c8]
shl r9d, 0x10
xor r8d, r8d
mov edx, 0x401
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8d, r14d
mov edx, 0x404
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [r14 + 4]
call qword [sym.imp.USER32.dll_GetSysColor]
mov r9d, eax
xor r8d, r8d
mov edx, 0x2001
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x3ceb
xor r8d, r8d
mov edx, 0x409
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbp + 0xa0], 2
jne 0x1401baf2b
lea r9d, [r14 + 0x63]
mov r8d, r14d
mov edx, 0x40a
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rbp + 0xa8], 0
je 0x1401bb099
mov ecx, 0x48
call fcn.14000e5ac
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401baf5c
xor r8d, r8d
mov dl, r14b
mov rcx, rax
call fcn.14018d27c
nop
lea rbx, [rbp + 0x178]
mov dword [rsp + 0x88], 0x93
test rax, rax
je 0x1401baf78
lock add dword [rax + 0x18], r14d
mov rcx, qword [rbx]
mov qword [rsp + 0x70], rcx
mov qword [rbx], rax
mov qword [rsp + 0x80], rcx
or esi, 0xffffffff
test rcx, rcx
je 0x1401bafb0
add rcx, 0x10
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x1401bafb0
test rcx, rcx
je 0x1401bafb0
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rbp
lea r8, [0x1401bbc40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1401bb00c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, str.CreateThread_call_failed.
lea edx, [rdi + 0xf]
lea rcx, [rsp + 0x90]
call fcn.140189b10
lea rdx, [0x140294a58]
lea rcx, [rsp + 0x90]
call fcn.1401377ec
int3
mov ecx, 0x20
call fcn.14000e5ac
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1401bb04a
lea rcx, vtable.RefCounted.0
mov qword [rax], rcx
mov dword [rax + 8], 0
lea rcx, vtable.OHandle.0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
mov byte [rax + 0x18], r14b
mov dword [rax + 0x1c], 0x55
test rax, rax
je 0x1401bb054
lock add dword [rax + 8], r14d
mov r8, qword [rbp + 0xd8]
mov qword [rsp + 0x60], r8
mov qword [rbp + 0xd8], rax
test r8, r8
je 0x1401bb086
mov eax, esi
lock xadd dword [r8 + 8], eax
add eax, esi
jne 0x1401bb086
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov rcx, rbx
call fcn.1401d47f4
or edx, 0xffffffff
mov rcx, rax
call fcn.14018f1cc
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140135130
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret