Function at 0x18001bf00
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x498], rbx
mov rax, qword [0x1800ca088]
xor rax, rsp
mov qword [rbp + 0x338], rax
mov r13d, r9d
mov dword [rsp + 0x30], r9d
mov r12, r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [rbp + 0x3a0]
mov qword [rsp + 0x60], rax
movdqa xmm0, xmmword [0x1800c01d0]
movdqa xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
movdqa xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov word [rbp + 0xd0], 0
xor eax, eax
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], al
mov dword [rbp + 0xf8], eax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], al
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x130]
call fcn.18001cac0
nop
mov esi, r13d
lea eax, [r13 + 0x12]
mov dword [rsp + 0x50], eax
lea r8, [0x180000000]
cmp r13d, eax
jae 0x18001c45d
mov r15, qword [rsp + 0x48]
mov r14d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x30]
mov ebx, dword [rsp + 0x30]
mov edi, dword [rsp + 0x30]
nop
lea eax, [rsi - 0x12]
cmp eax, 0x2c
ja case.0x18001c050.36
movzx eax, byte [r8 + rax + 0x1c9b4]
mov ecx, dword [r8 + rax*4 + 0x1c968]
add rcx, r8
jmp rcx
mov eax, dword [0x1800b1713]
mov dword [rbp + 0x326], eax
movzx eax, byte [0x1800b1717]
mov byte [rbp + 0x32a], al
jmp case.0x18001c050.36
mov byte [rbp + 0x331], 0
mov r8d, 4
lea rdx, [0x1800b174f]
lea rcx, [rbp + 0x331]
call fcn.180088b50
jmp case.0x18001c050.36
mov byte [rbp + 0x320], 0
mov r8d, 2
lea rdx, [0x1800b179b]
lea rcx, [rbp + 0x320]
call fcn.180089030
jmp case.0x18001c050.36
mov byte [rbp + 0x326], 0
jmp case.0x18001c050.36
mov edx, 0xac
mov rcx, qword [rsp + 0x58]
call fcn.180070200
mov qword [rsp + 0x70], rax
jmp case.0x18001c050.36
movzx eax, word [0x1800b1814]
mov word [rbp + 0x32c], ax
movzx eax, byte [0x1800b1816]
mov byte [rbp + 0x32e], al
jmp case.0x18001c050.36
mov ecx, 0x48
cmp ecx, 0x48
je 0x18001c117
cmp ecx, 0x318
je case.0x18001c49e.17
jmp 0x18001c132
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax]
shl rax, 6
mov rdx, qword [rsp + 0x70]
mov rax, qword [rax + rdx + 0x10]
mov qword [rsp + 0x38], rax
add ecx, 0x2d0
cmp ecx, 0x5a0
jbe 0x18001c104
mov rax, qword [rsp + 0x48]
test rax, rax
je case.0x18001c050.36
mov dword [rax], r14d
jmp case.0x18001c050.36
mov byte [rbp + 0x335], 0
jmp case.0x18001c050.36
movsxd rax, r14d
mov byte [rax + r12], 0
mov byte [rsp + 0x38], 1
jmp case.0x18001c050.36
xor r13d, r13d
xor r14d, r14d
jmp case.0x18001c050.36
mov r15, qword [rsp + 0x58]
jmp case.0x18001c050.36
mov byte [rbp + 0x32b], 0
mov r8d, 1
lea rdx, [0x1800b1866]
lea rcx, [rbp + 0x32b]
call fcn.180088b50
jmp case.0x18001c050.36
mov byte [rbp + 0x32f], 0
mov r8d, 2
lea rdx, [0x1800b18fa]
lea rcx, [rbp + 0x32f]
call fcn.180088b50
jmp case.0x18001c050.36
cmp ebx, 0x3d
jne case.0x18001c050.36
mov ecx, r13d
and ecx, 0x80000003
jge 0x18001c1ee
dec ecx
or ecx, 0xfffffffc
inc ecx
sub ecx, 1
je 0x18001c202
sub ecx, 1
je 0x18001c231
cmp ecx, 1
je 0x18001c233
jmp case.0x18001c050.36
mov ecx, 0xb9
nop word [rax + rax]
mov eax, ecx
sub eax, 0xb8
je case.0x18001c49e.17
cmp eax, 1
jne 0x18001c227
mov byte [rsp + 0x38], 0
dec ecx
cmp ecx, 0xb7
ja 0x18001c210
inc edi
movsxd rax, edi
mov byte [rax + r12], 0
jmp case.0x18001c050.36
mov dword [rbp + 0x322], 0x6b636f4c
jmp case.0x18001c050.36
movzx ebx, byte [r15]
test ebx, ebx
je 0x18001c43f
nop dword [rax + rax]
inc r15
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
lea edx, [rax - 1]
mov dword [rcx], edx
test eax, eax
je 0x18001c442
cmp ebx, 0x3d
jne 0x18001c2e0
movzx ecx, byte [r15]
cmp cl, bl
je 0x18001c434
mov eax, r13d
and eax, 0x80000003
jge 0x18001c299
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 1
je 0x18001c4a0
mov rax, qword [rbp + 0x3a8]
cmp byte [rax], 0
je 0x18001c434
test edx, edx
je 0x18001c434
nop word [rax + rax]
inc r15
movzx ecx, byte [r15]
call fcn.180084c48
test eax, eax
jne 0x18001c2c0
cmp byte [r15], al
jne 0x18001c4a0
xor cl, cl
jmp 0x18001c42d
movsx r9d, byte [rbx + r8 + 0xbbd40]
mov rax, qword [rbp + 0x3a8]
cmp byte [rax], 0
jne 0x18001c2fe
test r9b, r9b
js 0x18001c429
cmp r9d, 0xffffffff
je 0x18001c429
cmp r9d, 0xfffffffe
jne 0x18001c323
mov eax, 0x46
cmp eax, 0x46
je 0x18001c4a0
dec eax
cmp eax, 0x45
ja 0x18001c313
mov ecx, r13d
and ecx, 0x80000003
jge 0x18001c335
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x18001c36e
sub ecx, 1
je 0x18001c387
sub ecx, 1
je 0x18001c3bf
cmp ecx, 1
jne 0x18001c421
mov eax, 0x6c
movsxd rdx, r14d
add rdx, r12
cmp eax, 0x6c
je 0x18001c3fd
cmp eax, 0x7b
je 0x18001c421
jmp 0x18001c406
mov eax, 0xc6
cmp eax, 0xc6
je 0x18001c416
inc eax
cmp eax, 0xc7
jb 0x18001c373
mov ecx, 0x91
movsxd rdx, r14d
add rdx, r12
mov eax, ecx
sub eax, 0x91
je 0x18001c3a6
cmp eax, 3
jne 0x18001c3b4
shl r9b, 4
jmp 0x18001c41a
mov eax, r9d
sar eax, 4
or byte [rdx], al
inc r14d
inc rdx
add ecx, 3
cmp ecx, 0x97
jb 0x18001c392
mov ecx, 0xe
movsxd rdx, r14d
add rdx, r12
nop word [rax + rax]
mov eax, ecx
sub eax, 0xe
je 0x18001c3e2
cmp eax, 1
jne 0x18001c3f0
shl r9b, 6
jmp 0x18001c41a
mov eax, r9d
sar eax, 2
or byte [rdx], al
inc r14d
inc rdx
inc ecx
cmp ecx, 0x10
jae 0x18001c34c
jmp 0x18001c3d0
or byte [rdx], r9b
inc r14d
inc rdx
add eax, 0xf
cmp eax, 0x8a
jb 0x18001c357
jmp 0x18001c421
shl r9b, 2
movsxd rax, r14d
mov byte [rax + r12], r9b
mov esi, 0x26
inc r13d
movzx ecx, byte [r15]
lea r8, [0x180000000]
movzx ebx, cl
test cl, cl
jne 0x18001c260
inc r15
mov edi, r14d
inc esi
lea r8, [0x180000000]
cmp esi, dword [rsp + 0x50]
jb 0x18001c030
mov r13d, dword [rsp + 0x30]
mov r12d, dword [rsp + 0x50]
cmp r13d, r12d
jae case.0x18001c49e.17
lea ebx, [r13 - 0x36]
mov r15, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
movzx edi, byte [rsp + 0x40]
mov r14, qword [rsp + 0x48]
lea rdx, [0x18006f730]
cmp ebx, 0x11
ja case.default.0x18001c49e
mov ecx, dword [r8 + rbx*4 + 0x1c9e4]
add rcx, r8
jmp rcx
mov byte [rsp + 0x38], 0
jmp case.0x18001c49e.17
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
xor r8d, r8d
lea rdx, [0x1800afa48]
lea rcx, [rbp - 0x20]
call fcn.180073f70
nop
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
xor r8d, r8d
lea rdx, [0x1800afa48]
lea rcx, [rbp]
call fcn.180073f70
nop
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
xor r8d, r8d
lea rdx, [0x1800afa48]
lea rcx, [rbp + 0x20]
call fcn.180073f70
nop
mov word [rbp + 0x40], 1
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0xf
mov byte [rbp + 0x48], 0
xor r8d, r8d
lea rdx, [0x1800afa48]
lea rcx, [rbp + 0x48]
call fcn.180073f70
nop
mov dword [rsp + 0x30], 0x1bb
mov dword [rsp + 0x20], 0xad
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x70]
lea rdx, [0x1800caaf8]
lea rcx, [rbp - 0x20]
call fcn.18000f0d0
nop
lea rcx, [rbp - 0x20]
call fcn.18001cd90
jmp case.default.0x18001c49e
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x40]
lea r8, [0x18006f9c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
test rax, rax
jne case.default.0x18001c49e
mov edx, 0x54
nop dword [rax]
mov ecx, edx
sub ecx, 0x53
je case.0x18001c49e.17
cmp ecx, 1
jne 0x18001c5d4
mov dword [rsp + 0x38], ecx
dec edx
cmp edx, 0x52
ja 0x18001c5c0
jmp case.default.0x18001c49e
mov edx, 0x57
lea rcx, [rbp + 0x320]
call fcn.1800465f0
test al, al
jne 0x18001c601
mov edx, 0x3b
xor ecx, ecx
call fcn.1800189c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.180084d5c
jmp case.default.0x18001c49e
test rsi, rsi
jne case.default.0x18001c49e
mov eax, 0x30
cmp eax, 0x30
je 0x18001c7ea
dec eax
cmp eax, 0x2f
ja 0x18001c621
jmp case.default.0x18001c49e
lea r8, [0x1800caa90]
mov edx, 0x4e
xor ecx, ecx
call fcn.1800202f0
jmp case.default.0x18001c49e
lea r8, [rbp + 0x130]
call fcn.180025da0
jmp case.default.0x18001c49e
test dil, dil
je 0x18001c672
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetThreadPriorityBoost]
mov dword [rsp + 0x38], 0
jmp case.default.0x18001c49e
xor r8d, r8d
lea edx, [r8 + 0x23]
lea rcx, [rbp + 0x130]
call fcn.18000c230
jmp case.default.0x18001c49e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x18000bb90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
jmp case.default.0x18001c49e
xor edx, edx
mov ecx, 0xc3
call fcn.180038a40
test al, al
jne case.default.0x18001c49e
mov eax, 0xaa
cmp eax, 0xaa
je 0x18001c7ea
add eax, 0x19
cmp eax, 0xc3
jb 0x18001c6e0
jmp case.default.0x18001c49e
lea rax, [rbp - 0x70]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x80], rax
mov eax, dword [0x1800cabe4]
mov dword [rbp - 0x78], eax
mov eax, dword [0x1800cabe8]
mov dword [rbp - 0x74], eax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp - 0x30], xmm1
jmp case.default.0x18001c49e
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
jmp case.default.0x18001c49e
lea r9, [rbp + 0x130]
lea r8, [rbp - 0x70]
lea rdx, [0x1800caa90]
mov ecx, 0x38
call fcn.180045330
xor ecx, ecx
movzx eax, dil
test r14, r14
cmovne ecx, eax
movzx edi, cl
jmp case.default.0x18001c49e
lea r9, [0x1800caa90]
xor r8d, r8d
xor edx, edx
mov ecx, IUnknown_AtomicRelease
call fcn.18003d980
mov dil, 1
jmp case.default.0x18001c49e
mov qword [rsp + 0x48], rdx
mov r9d, 6
xor r8d, r8d
lea rdx, [rsp + 0x48]
xor ecx, ecx
call fcn.18003eb10
jmp case.default.0x18001c49e
mov eax, dword [0x1800cabe4]
mov dword [rsp + 0x30], eax
mov r9d, 0x54
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.1800114b0
jmp case.default.0x18001c49e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r13d
inc ebx
cmp r13d, r12d
jae case.0x18001c49e.17
lea r8, [0x180000000]
jmp 0x18001c483
mov dword [rsp + 0x38], 1
lea rcx, [rbp + 0x2b0]
call fcn.18001d030
lea rcx, [rbp + 0x210]
call fcn.18000dd50
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
jb 0x18001c84b
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c846
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c961
call fcn.180080414
movdqa xmm0, xmmword [0x1800c01d0]
movdqa xmmword [rbp + 0x200], xmm0
mov byte [rbp + 0x1f0], 0
lea rcx, [rbp + 0x148]
call fcn.18001cf40
mov rcx, qword [rbp + 0x138]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x18001c8b4
nop
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x138]
call fcn.1800755c0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x38
call fcn.180080414
cmp byte [rbx + 0x19], 0
je 0x18001c880
mov rcx, qword [rbp + 0x138]
mov edx, 0x38
call fcn.180080414
nop
lea rcx, [rbp - 0x70]
call fcn.180074230
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x18001c906
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c901
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c95b
call fcn.180080414
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
lea rcx, [rbp + 0x70]
call fcn.18001cd90
mov rax, qword [rsp + 0x38]
mov rcx, qword [rbp + 0x338]
xor rcx, rsp
call fcn.1800803f0
mov rbx, qword [rsp + 0x498]
add rsp, 0x440
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea edi, [rax]
add eax, dword [rax]
add byte [rax + 0x33], cl
int3
call fcn.1800893f4
nop
call fcn.1800893f4
nop
nop
mov al, 1
add bh, bh
rol byte [rcx], 0
jg 0x18001c933
add dword [rax], eax
je 0x18001c937
add dword [rax], eax
ret 1