Function at 0x14002ff10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x1400dd040]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov qword [rbp], r9
xor r12d, r12d
mov byte [rbp + 8], r12b
movabs r15, 0x7fffffffe2329aff
movabs r13, 0x7fffffffffffffff
nop dword [rax + rax]
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.14002f1d0
mov ebx, eax
lea rcx, [rbp - 0x50]
call fcn.14002ed20
mov rcx, qword [rbp - 0x50]
cmp rcx, r15
je 0x14002ffa9
setl dl
test dl, dl
je 0x14002ffa9
add rcx, 0x1dcd6500
mov qword [rsp + 0x50], rcx
jmp 0x14002ffae
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x50]
call fcn.140033380
test ebx, ebx
je 0x14002ff70
xor edx, edx
mov r8d, 0x398
lea rcx, [rbp + 0x80]
call fcn.1400a1a80
lea rcx, [rbp + 0x80]
call fcn.1400414d0
nop
mov edx, ebx
lea rcx, [rbp + 0x80]
call fcn.140041930
lea rax, [rbp + 8]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdi
mov ecx, 0x10
call fcn.140075910
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rax], xmm0
mov qword [rbp + 0x50], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140033840]
xor edx, edx
xor ecx, ecx
call fcn.140088320
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400308d7
cmp dword [rsp + 0x78], 0
je 0x1400308c6
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call fcn.140074890
test eax, eax
jne 0x1400308c6
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
movdqa xmmword [rsp + 0x70], xmm0
movabs r15, 0x7fffffffc46535ff
nop dword [rax]
cmp byte [rbp + 8], 0
jne 0x1400306f1
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0xa0]
call fcn.1400421a0
mov rbx, rax
mov ecx, dword [rax]
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov ecx, 0x48
call fcn.140075910
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbx + 0x30]
mov qword [rbp + 0x40], rcx
mov rcx, qword [rbx + 0x38]
mov qword [rbp + 0x48], rcx
mov rdx, qword [rbx + 0x20]
sub rdx, qword [rbx + 0x18]
sar rdx, 3
mov r8, rax
lea rcx, [rbp + 0x28]
call fcn.14002d9c0
mov rdi, qword [rbx + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14003012c
nop
lea r8, [rbx + 0x10]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.140033900
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140030110
mov r11, qword [rbp + 0x18]
mov rax, qword [r11]
cmp rax, r11
je 0x140030494
movups xmm0, xmmword [rsi]
movaps xmmword [rbp - 0x80], xmm0
mov r10, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
nop dword [rax + rax]
lea rcx, [rax + 0x10]
cmp qword [rax + 0x28], 7
jbe 0x14003015f
mov rcx, qword [rax + 0x10]
cmp r10, qword [rax + 0x20]
jne 0x140030485
mov r8, r10
test r10, r10
je 0x140030198
mov r9, rbx
sub r9, rcx
nop word [rax + rax]
movzx edx, word [r9 + rcx]
cmp dx, word [rcx]
jne 0x140030485
add rcx, 2
sub r8, 1
jne 0x140030180
lea rcx, [rbp + 0x10]
call fcn.140030970
mov rbx, qword [r14]
mov rsi, qword [r14 + 8]
sub rsi, rbx
mov r8, rbx
lea rdx, str.MemoryImage_0x_p
lea rcx, [rbp + 0x420]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea rax, [rbp + 0x420]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400301e2
lea rdx, [rbp + 0x420]
lea rcx, [rbp - 0x70]
call fcn.1400015e0
nop
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x360]
call fcn.140038fd0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14003025b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030256
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400308e7
call fcn.140075b8c
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
lea rcx, [rbp + 0x128]
cmp dword [rbp + 0x60], 0
jge 0x1400304d7
call fcn.14005e870
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.1400340f0
mov byte [rbp + 0x120], 0
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x2c0]
call fcn.140051cc0
lea rcx, [rbp + 0x360]
call fcn.140038990
lea rcx, [rbp + 0x1b0]
call fcn.14005f260
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1400302ee
jle 0x1400302e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x80], r12
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0x90], r12
test rcx, rcx
je 0x140030315
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
mov edx, 0x20
call fcn.140075b8c
mov dword [rbp + 0x88], r12d
cmp byte [rbp + 0x78], 0
je 0x14003032c
lea rcx, [rbp + 0x68]
call fcn.140031b90
nop
mov rcx, qword [rbp + 0x408]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x140030374
nop dword [rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x408]
lea rcx, [rbp + 0x408]
call fcn.140041bb0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140075b8c
cmp byte [rbx + 0x19], 0
je 0x140030340
mov rcx, qword [rbp + 0x408]
mov edx, 0x30
call fcn.140075b8c
lea rcx, [rbp + 0x360]
call fcn.140038f10
lea rcx, [rbp + 0x2c0]
call fcn.14004f290
nop
lea rcx, [rbp + 0x238]
call fcn.14005ecb0
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x1400303d7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400303d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400303d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0x1b0]
call fcn.14005ef20
lea rcx, [rbp + 0x128]
call fcn.14005df90
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.140030970
lea rcx, [rbp + 0x80]
call fcn.14005f450
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140030459
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140030449
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400308ed
mov rcx, r8
call fcn.140075b8c
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
xor al, al
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400758f0
mov rbx, qword [rsp + 0x5f0]
add rsp, 0x5b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, r11
jne 0x140030150
lea rcx, [rbp - 0x48]
call fcn.14002ed20
mov rax, qword [rbp - 0x48]
cmp rax, r15
je 0x1400304ba
setl cl
test cl, cl
je 0x1400304ba
add rax, 0x3b9aca00
mov qword [rsp + 0x58], rax
jmp 0x1400304bf
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x58]
call fcn.140033380
lea rcx, [rbp + 0x10]
call fcn.140030970
jmp 0x140030080
call fcn.14005e870
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.1400340f0
mov byte [rbp + 0x120], 0
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x2c0]
call fcn.140051cc0
lea rcx, [rbp + 0x360]
call fcn.140038990
lea rcx, [rbp + 0x1b0]
call fcn.14005f260
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140030548
jle 0x140030541
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x80], r12
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0x90], r12
test rcx, rcx
je 0x14003056f
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
mov edx, 0x20
call fcn.140075b8c
mov dword [rbp + 0x88], r12d
mov byte [rbp + 8], 1
lea rcx, [rbp - 0x80]
call fcn.14002ed20
mov rax, qword [rbp - 0x80]
cmp rax, r15
je 0x1400305a0
setl cl
test cl, cl
je 0x1400305a0
add rax, 0x3b9aca00
mov qword [rsp + 0x60], rax
jmp 0x1400305a5
mov qword [rsp + 0x60], r13
lea rcx, [rsp + 0x60]
call fcn.140033380
nop
cmp byte [rbp + 0x78], 0
je 0x1400305c0
lea rcx, [rbp + 0x68]
call fcn.140031b90
nop
mov rcx, qword [rbp + 0x408]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x140030605
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x408]
lea rcx, [rbp + 0x408]
call fcn.140041bb0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140075b8c
cmp byte [rbx + 0x19], 0
je 0x1400305d1
mov rcx, qword [rbp + 0x408]
mov edx, 0x30
call fcn.140075b8c
lea rcx, [rbp + 0x360]
call fcn.140038f10
lea rcx, [rbp + 0x2c0]
call fcn.14004f290
nop
lea rcx, [rbp + 0x238]
call fcn.14005ecb0
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x140030668
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140030668
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140030668
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0x1b0]
call fcn.14005ef20
lea rcx, [rbp + 0x128]
call fcn.14005df90
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.140030970
lea rcx, [rbp + 0x80]
call fcn.14005f450
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400306ea
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400306da
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400308ed
mov rcx, r8
call fcn.140075b8c
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov al, 1
jmp 0x14003045b
lea rcx, [rbp + 0x128]
call fcn.14005e870
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.1400340f0
mov byte [rbp + 0x120], 0
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x2c0]
call fcn.140051cc0
lea rcx, [rbp + 0x360]
call fcn.140038990
lea rcx, [rbp + 0x1b0]
call fcn.14005f260
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140030769
jle 0x140030762
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x80], r12
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0x90], r12
test rcx, rcx
je 0x140030790
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
mov edx, 0x20
call fcn.140075b8c
mov dword [rbp + 0x88], r12d
mov rcx, qword [rbp + 0x408]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x1400307e4
nop dword [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x408]
lea rcx, [rbp + 0x408]
call fcn.140041bb0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140075b8c
cmp byte [rbx + 0x19], 0
je 0x1400307b0
mov rcx, qword [rbp + 0x408]
mov edx, 0x30
call fcn.140075b8c
lea rcx, [rbp + 0x360]
call fcn.140038f10
lea rcx, [rbp + 0x2c0]
call fcn.14004f290
nop
lea rcx, [rbp + 0x238]
call fcn.14005ecb0
mov rbx, qword [rbp + 0x2a0]
test rbx, rbx
je 0x14003084e
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003084e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14003084e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0x1b0]
call fcn.14005ef20
lea rcx, [rbp + 0x128]
call fcn.14005df90
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.140030970
lea rcx, [rbp + 0x80]
call fcn.14005f450
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140030459
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140030449
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400308d1
jmp 0x140030446
mov ecx, 1
call fcn.140073ea8
nop
call fcn.14007caa4
nop
mov dword [rsp + 0x78], r12d
mov ecx, 6
call fcn.140073ea8
nop
call fcn.14007caa4
nop
call fcn.14007caa4
int3