Function at 0x140011041
Capabilities:
Create thread

Disassembly:
jmp 0x140012ea0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x998
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x19a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x9b8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x950], rax
lea rcx, [0x1400260a3]
call fcn.1400113f2
cmp qword [rbp + 0x980], 0
jne 0x140012f04
xor eax, eax
jmp 0x1400132b2
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012f6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.VirtualAlloc
lea rcx, str._____s_Failed_With_Error:__d_n
call fcn.1400111c2
xor eax, eax
jmp 0x1400132b2
mov dword [rbp + 0x64], 0
jmp 0x140012f7f
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jge 0x14001300e
movsxd rax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x980]
mov rcx, qword [rcx + 0x18]
mov eax, dword [rcx + rax + 0x10]
movsxd rcx, dword [rbp + 0x64]
imul rcx, rcx, 0x28
mov rdx, qword [rbp + 0x980]
mov rdx, qword [rdx + 0x18]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rbp + 0x980]
add rcx, qword [rdx]
movsxd rdx, dword [rbp + 0x64]
imul rdx, rdx, 0x28
mov r8, qword [rbp + 0x980]
mov r8, qword [r8 + 0x18]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rbp + 8]
add r8, rdx
mov rdx, r8
mov qword [rbp + 0x948], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 0x948]
mov rcx, rax
call fcn.1400111e0
jmp 0x140012f77
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x980]
mov rcx, qword [rax + 0x20]
call fcn.140011145
test eax, eax
jne 0x14001302d
xor eax, eax
jmp 0x1400132b2
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x980]
mov rcx, qword [rax + 0x28]
call fcn.1400113bb
test eax, eax
jne 0x14001305b
xor eax, eax
jmp 0x1400132b2
mov rax, qword [rbp + 0x980]
mov r8, qword [rax + 0x18]
mov rax, qword [rbp + 0x980]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp + 8]
call fcn.14001123a
test eax, eax
jne 0x140013085
xor eax, eax
jmp 0x1400132b2
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x40]
cmp dword [rax + 4], 0
je 0x1400130cf
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x40]
cmp dword [rax], 0
je 0x1400130cf
cmp qword [rbp + 0x988], 0
je 0x1400130cf
mov r8, qword [rbp + 0x988]
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x980]
mov rcx, qword [rax + 0x40]
call fcn.1400113d4
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x990]
call fcn.14001135c
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x38]
cmp dword [rax + 4], 0
je 0x140013158
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x38]
mov eax, dword [rax]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x38]
mov eax, dword [rax + 4]
xor edx, edx
mov ecx, 0xc
div rcx
mov r8, qword [rbp + 8]
mov edx, eax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
movzx eax, al
test eax, eax
jne 0x140013158
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.RtlAddFunctionTable
lea rcx, str._____s_Failed_With_Error:__d_n
call fcn.1400111c2
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x30]
cmp dword [rax + 4], 0
je 0x140013202
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x30]
mov eax, dword [rax]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rbp + 0x5d4], 0
jmp 0x1400131ca
mov eax, dword [rbp + 0x5d4]
inc eax
mov dword [rbp + 0x5d4], eax
movsxd rax, dword [rbp + 0x5d4]
mov rcx, qword [rbp + 0xc8]
cmp qword [rcx + rax*8], 0
je 0x140013202
movsxd rax, dword [rbp + 0x5d4]
lea r8, [rbp + 0xf0]
mov edx, 1
mov rcx, qword [rbp + 8]
mov rdi, qword [rbp + 0xc8]
call qword [rdi + rax*8]
jmp 0x1400131bc
mov rax, qword [rbp + 0x980]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x980]
cmp dword [rax + 0x48], 0
je 0x1400132a1
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x5f8], rax
mov qword [rbp + 0x618], 0
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 8]
call qword [rbp + 0x5f8]
cmp qword [rbp + 0x48], 0
je 0x140013283
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x618], rax
cmp qword [rbp + 0x618], 0
je 0x14001329f
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x618]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400132b2
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x638], rax
call qword [rbp + 0x638]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001cd90]
call fcn.140011375
mov rax, rdi
mov rcx, qword [rbp + 0x950]
xor rcx, rbp
call fcn.1400111db
lea rsp, [rbp + 0x968]
pop rdi
pop rbp
ret