Function at 0x180178910
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x180493400]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
xor r13d, r13d
cmp edx, 1
jne 0x18017897c
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x1801771d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x180178d9c
test edx, edx
jne 0x180178d9c
mov edx, 0x14
mov r15d, dword [0x180497740]
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov r14, 0xffffffffffffffff
mov eax, dword [rdx + rax]
cmp dword [0x180495c78], eax
jle 0x180178b21
lea rcx, [0x180495c78]
call fcn.18021e774
cmp dword [0x180495c78], r14d
jne 0x180178b21
mov byte [rbp + 0x160], 3
mov al, 0x70
mov cl, 0x66
mov dl, 0x71
mov r8b, 0x75
movzx r9d, cl
movzx r10d, dl
mov r11b, 0x2d
mov bl, 0x77
mov dil, 0x7b
movzx esi, bl
xor r12d, r12d
xor al, 3
mov byte [rbp + 0x161], al
xor cl, 3
mov byte [rbp + 0x162], cl
xor dl, 3
mov byte [rbp + 0x163], dl
xor r8b, 3
mov byte [rbp + 0x164], r8b
xor r9b, 3
mov byte [rbp + 0x165], r9b
xor r10b, 3
mov byte [rbp + 0x166], r10b
xor r11b, 3
mov byte [rbp + 0x167], r11b
xor bl, 3
mov byte [rbp + 0x168], bl
xor dil, 3
mov byte [rbp + 0x169], dil
xor sil, 3
mov byte [rbp + 0x16a], sil
mov byte [rbp + 0x16b], r12b
lea rcx, [rbp + 0x170]
call fcn.180109e80
nop
lea rcx, [rbp + 0x161]
mov r8, r14
inc r8
cmp byte [rcx + r8], 0
jne 0x180178a75
lea rdx, [rbp + 0x161]
mov rcx, rax
call fcn.180108eb0
xorps xmm0, xmm0
movups xmmword [0x180495c58], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x180495c68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [0x180495c58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x180495c68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x188]
cmp rdx, 0xf
jbe 0x180178b08
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180178b03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180178dd7
call fcn.18021e238
lea rcx, [0x1802e4ca0]
call fcn.18021e598
nop
lea rcx, [0x180495c78]
call fcn.18021e708
lea rdx, [0x180495c58]
cmp qword [0x180495c70], 0xf
cmova rdx, qword [0x180495c58]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rcx, [rbp + 0x50]
call fcn.1800fa3b0
nop
mov rax, qword gs:[0x58]
mov rcx, qword [rax + r15*8]
mov eax, 0x14
mov eax, dword [rax + rcx]
cmp dword [0x180495ca0], eax
jle 0x180178ccf
lea rcx, [0x180495ca0]
call fcn.18021e774
cmp dword [0x180495ca0], 0xffffffff
jne 0x180178ccf
mov byte [rbp + 0x160], 0x78
mov al, 0x16
mov cl, 0x19
mov dl, 0x15
mov r8b, 0x1d
mov r9b, 0x56
mov r10b, 0xc
xor r11b, r11b
movzx ebx, r10b
xor edi, edi
xor al, 0x78
mov byte [rbp + 0x161], al
xor cl, 0x78
mov byte [rbp + 0x162], cl
xor dl, 0x78
mov byte [rbp + 0x163], dl
xor r8b, 0x78
mov byte [rbp + 0x164], r8b
xor r9b, 0x78
mov byte [rbp + 0x165], r9b
xor r10b, 0x78
mov byte [rbp + 0x166], r10b
xor r11b, 0x78
mov byte [rbp + 0x167], r11b
xor bl, 0x78
mov byte [rbp + 0x168], bl
mov byte [rbp + 0x169], dil
lea rcx, [rbp + 0x190]
call fcn.180109e80
nop
lea rcx, [rbp + 0x161]
nop dword [rax]
inc r14
cmp byte [rcx + r14], 0
jne 0x180178c20
mov r8, r14
lea rdx, [rbp + 0x161]
mov rcx, rax
call fcn.180108eb0
xorps xmm0, xmm0
movups xmmword [0x180495c80], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x180495c90], xmm1
movups xmm0, xmmword [rax]
movups xmmword [0x180495c80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x180495c90], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0xf
jbe 0x180178cb6
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180178cb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180178dd1
call fcn.18021e238
lea rcx, [0x1802e4c30]
call fcn.18021e598
nop
lea rcx, [0x180495ca0]
call fcn.18021e708
lea rdx, [0x180495c80]
cmp qword [0x180495c98], 0xf
cmova rdx, qword [0x180495c80]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rcx, [rsp + 0x40]
call fcn.1800fa3b0
nop
lea rdx, [0x1802eae38]
lea rcx, [rbp + 0x50]
call fcn.1800f3940
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.18010b890
movzx edx, al
mov rcx, rbx
call fcn.18010acd0
mov rcx, rbx
call fcn.180109b50
lea rdx, [0x1802eae38]
lea rcx, [rsp + 0x40]
call fcn.1800f3940
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.18010b890
movzx edx, al
mov rcx, rbx
call fcn.18010acd0
mov rcx, rbx
call fcn.180109b50
lea rcx, [rbp + 0x50]
call fcn.180109360
lea rcx, [rsp + 0x40]
call fcn.180109360
nop
lea rcx, [rsp + 0x40]
call fcn.1800fca20
nop
lea rcx, [rbp + 0x50]
call fcn.1800fca20
mov eax, 1
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18021e680
lea r11, [rsp + 0x2c0]
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
call fcn.1802243a4
nop
call fcn.1802243a4
int3