Function at 0x14004b078
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14009b978]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov rcx, qword [0x14009b020]
lea r12, [0x14009b020]
lea r13, [0x14008d138]
mov dil, 5
mov r15b, 4
cmp rcx, r12
je 0x14004b0e8
test byte [rcx + 0x1c], r15b
je 0x14004b0e8
cmp byte [rcx + 0x19], dil
jb 0x14004b0e8
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x11]
mov r8, r13
call fcn.1400042fc
mov ebx, 0xea60
mov esi, 2
mov r8d, ebx
mov ecx, esi
call fcn.140026128
call fcn.14006f22c
test eax, eax
jne 0x14004b1d2
lea rcx, [rbp - 0x40]
call fcn.14006f90c
test eax, eax
jne 0x14004b19c
cmp dword [rbp - 0x40], r14d
je 0x14004b1c8
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b14b
test byte [rcx + 0x1c], r15b
je 0x14004b14b
cmp byte [rcx + 0x19], dil
jb 0x14004b14b
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x11]
mov r8, r13
call fcn.1400042fc
call fcn.14006fb38
test eax, eax
jne 0x14004b17d
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b1c8
test byte [rcx + 0x1c], r15b
je 0x14004b1c8
cmp byte [rcx + 0x19], dil
jb 0x14004b1c8
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x14]
mov r8, r13
call fcn.1400042fc
jmp 0x14004b1c8
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b1c8
test byte [rcx + 0x1c], r15b
je 0x14004b1c8
cmp byte [rcx + 0x19], sil
jb 0x14004b1c8
mov edx, 0x15
jmp 0x14004b1b9
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b1c8
test byte [rcx + 0x1c], r15b
je 0x14004b1c8
cmp byte [rcx + 0x19], sil
jb 0x14004b1c8
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004668
mov r8d, ebx
mov ecx, esi
call fcn.140026128
mov r8d, ebx
mov ecx, esi
call fcn.140026128
lea rcx, [rbp - 0x30]
call fcn.14006a334
test eax, eax
jne 0x14004b22a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b223
test byte [rcx + 0x1c], r15b
je 0x14004b223
cmp byte [rcx + 0x19], sil
jb 0x14004b223
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r9d, eax
mov r8, r13
call fcn.140004668
mov eax, ebx
jmp 0x14004bb37
mov r8d, ebx
mov ecx, esi
call fcn.140026128
call fcn.14006d860
mov ebx, eax
mov edi, 1
test eax, eax
je 0x14004b27f
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004baef
test byte [rcx + 0x1c], r15b
je 0x14004baef
cmp byte [rcx + 0x19], sil
jb 0x14004baef
lea edx, [rdi + 0x17]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004668
jmp 0x14004baef
call fcn.14005345c
test eax, eax
jne 0x14004b2c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004baef
test byte [rcx + 0x1c], r15b
je 0x14004baef
cmp byte [rcx + 0x19], sil
jb 0x14004baef
mov edx, 0x19
jmp 0x14004b26b
mov r8d, 0xea60
mov ecx, esi
call fcn.140026128
xor r9d, r9d
mov r8d, edi
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [0x14009f480], rax
test rax, rax
jne 0x14004b32c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004baef
test byte [rcx + 0x1c], r15b
je 0x14004baef
cmp byte [rcx + 0x19], sil
jb 0x14004baef
mov edx, 0x1a
jmp 0x14004bae0
mov r8d, 0xea60
mov ecx, esi
call fcn.140026128
mov ecx, 0x3c
call fcn.140069c6c
mov qword [0x14009f498], rax
test rax, rax
jne 0x14004b3a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b389
test byte [rcx + 0x1c], r15b
je 0x14004b389
cmp byte [rcx + 0x19], sil
jb 0x14004b389
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov r9d, eax
mov r8, r13
call fcn.1400046fc
mov r9d, 0xc0007d72
xor r8d, r8d
mov edx, edi
mov ecx, edi
call fcn.140069d80
jmp 0x14004b223
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rcx
mov dword [rax + 0x38], ecx
call fcn.14007f790
test eax, eax
jns 0x14004b3ee
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b389
test byte [rcx + 0x1c], r15b
je 0x14004b389
cmp byte [rcx + 0x19], sil
jb 0x14004b389
mov edx, 0x1c
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004328
jmp 0x14004b389
call fcn.14007f6cc
test eax, eax
jns 0x14004b41a
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b389
test byte [rcx + 0x1c], r15b
je 0x14004b389
cmp byte [rcx + 0x19], sil
jb 0x14004b389
mov edx, 0x1d
jmp 0x14004b3dd
mov rcx, qword [0x14009f498]
lea rax, [rcx + 8]
lea r9, [rcx + 0xc]
mov qword [rsp + 0x20], rax
lea r8, [rcx + 4]
add rcx, 0x10
call fcn.14007f8e0
test eax, eax
je 0x14004b47e
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14004b47e
test byte [rax + 0x1c], r15b
je 0x14004b47e
cmp byte [rax + 0x19], sil
jb 0x14004b47e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x1e
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rcx, qword [0x14009f498]
lea rax, [rcx + 0x1c]
lea r10, [rcx + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rcx + 0x18]
mov qword [rsp + 0x20], r10
lea r8, [rcx + 0x14]
lea rdx, [rcx + 0x28]
add rcx, 0x24
call fcn.14007fb64
test eax, eax
je 0x14004b4ef
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14004b4ef
test byte [rax + 0x1c], r15b
je 0x14004b4ef
cmp byte [rax + 0x19], sil
jb 0x14004b4ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x1f
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rcx, qword [0x14009f498]
lea r9, [rcx + 0x34]
lea r8, [rcx + 0x38]
lea rdx, [rcx + 0x30]
add rcx, 0x2c
call fcn.14007fe5c
test eax, eax
je 0x14004b54e
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14004b54e
test byte [rax + 0x1c], r15b
je 0x14004b54e
cmp byte [rax + 0x19], sil
jb 0x14004b54e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x20
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
lea rcx, [0x14009f458]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rdx, qword [0x14009f498]
lea rcx, [0x14009f458]
imul eax, dword [rdx + 0x20], 0x3c
mov dword [0x14009f4a0], eax
imul eax, dword [rdx + 0x38], 0x3c
mov dword [0x14009f48c], eax
imul eax, dword [rdx + 0xc], 0x3c
mov dword [0x14009f4a4], eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov r8d, 0xea60
mov ecx, esi
call fcn.140026128
lea rcx, [rbp - 0x30]
call fcn.14004ab44
mov ebx, eax
test eax, eax
je 0x14004b5f2
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b223
test byte [rcx + 0x1c], r15b
je 0x14004b223
cmp byte [rcx + 0x19], sil
jb 0x14004b223
mov edx, 0x21
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.1400046fc
jmp 0x14004b223
mov ebx, 0xea60
mov ecx, esi
mov r8d, ebx
call fcn.140026128
call fcn.1400530f8
test eax, eax
jne 0x14004b6d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b648
test byte [rcx + 0x1c], r15b
je 0x14004b648
cmp byte [rcx + 0x19], sil
jb 0x14004b648
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r9d, eax
mov r8, r13
call fcn.140023570
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x14008b4c0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004280
test eax, eax
lea rcx, [rbp - 0x24]
mov rax, qword [0x14009f528]
mov r9d, 0xc0007d68
cmovs rcx, r14
mov r8d, esi
mov qword [rsp + 0x28], rcx
mov edx, edi
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0x20], rcx
mov ecx, edi
call fcn.140069d80
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004baef
test byte [rcx + 0x1c], r15b
je 0x14004baef
cmp byte [rcx + 0x19], sil
jb 0x14004baef
mov edx, 0x23
jmp 0x14004bae0
mov r8d, ebx
mov ecx, esi
call fcn.140026128
call fcn.14002c3b4
mov ebx, eax
test eax, eax
je 0x14004b7ba
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b71a
test byte [rcx + 0x1c], r15b
je 0x14004b71a
cmp byte [rcx + 0x19], sil
jb 0x14004b71a
mov rcx, qword [rcx + 0x10]
mov edx, 0x24
mov r9d, eax
mov r8, r13
call fcn.140023570
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x14008b4c0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004280
test eax, eax
lea rcx, [rbp - 0x24]
mov rax, qword [0x14009f3a0]
mov r9d, 0xc0007d69
cmovs rcx, r14
mov r8d, esi
mov qword [rsp + 0x28], rcx
mov edx, edi
mov ecx, edi
mov qword [rsp + 0x20], rax
call fcn.140069d80
lea rcx, [0x14009f188]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rcx, [0x14009f1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rcx, [0x14009f1b8]
mov qword [0x14009f394], r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
lea rcx, [0x14009f188]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov r8d, 0xea60
mov ecx, esi
call fcn.140026128
call fcn.14005a334
mov ebx, eax
test eax, eax
je 0x14004b829
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b7fe
test byte [rcx + 0x1c], r15b
je 0x14004b7fe
cmp byte [rcx + 0x19], sil
jb 0x14004b7fe
mov rcx, qword [rcx + 0x10]
mov edx, 0x25
mov r9d, eax
mov r8, r13
call fcn.1400046fc
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x14008b4c0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004280
mov r9d, 0xc0007d2c
jmp 0x14004bb15
mov r8d, 0xea60
mov ecx, esi
call fcn.140026128
call fcn.14005db0c
mov ebx, eax
test eax, eax
je 0x14004b86f
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004baef
test byte [rcx + 0x1c], r15b
je 0x14004baef
cmp byte [rcx + 0x19], sil
jb 0x14004baef
mov edx, 0x26
jmp 0x14004bae0
mov r8d, 0xea60
mov ecx, esi
call fcn.140026128
mov r9, qword [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea r8, [0x14004a130]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14004b8ee
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14004b223
test byte [rax + 0x1c], r15b
je 0x14004b223
cmp byte [rax + 0x19], sil
jb 0x14004b223
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea edx, [rdi + 0x27]
mov ebx, eax
jmp 0x14004b5de
mov r8d, 0x4e20
mov ecx, esi
call fcn.140026128
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14004b9a6
cmp eax, 0x102
jne 0x14004b951
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b949
test byte [rcx + 0x1c], r15b
je 0x14004b949
cmp byte [rcx + 0x19], 5
jb 0x14004b949
mov rcx, qword [rcx + 0x10]
mov edx, 0x29
mov r8, r13
call fcn.1400042fc
mov r8d, 0x7530
jmp 0x14004b8f4
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14004b992
test byte [rax + 0x1c], r15b
je 0x14004b992
cmp byte [rax + 0x19], sil
jb 0x14004b992
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x2a
mov rcx, qword [0x14009b020]
mov r9d, eax
mov r8, r13
mov ebx, eax
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14004b223
lea rdx, [rbp - 0x3c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop dword [rax + rax]
test eax, eax
jne 0x14004b9e8
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14004b992
test byte [rax + 0x1c], r15b
je 0x14004b992
cmp byte [rax + 0x19], sil
jb 0x14004b992
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x28
jmp 0x14004b97a
mov ebx, dword [rbp - 0x3c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
je 0x14004ba2f
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004b223
test byte [rcx + 0x1c], r15b
je 0x14004b223
cmp byte [rcx + 0x19], sil
jb 0x14004b223
mov edx, 0x2b
mov r9d, ebx
jmp 0x14004b5e1
xor r8d, r8d
mov r9d, 0x40007d01
lea edx, [r8 + 3]
lea edi, [rdx - 2]
mov ecx, edi
call fcn.140069d80
call fcn.140026800
mov ebx, eax
test eax, eax
je 0x14004ba76
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14004baef
test byte [rcx + 0x1c], r15b
je 0x14004baef
cmp byte [rcx + 0x19], sil
jb 0x14004baef
lea edx, [rdi + 0x2b]
jmp 0x14004bae0
lea rax, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x14004aab0]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [0x14009f490], rax
test rax, rax
jne 0x14004bb35
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14004baef
test byte [rax + 0x1c], r15b
je 0x14004baef
cmp byte [rax + 0x19], sil
jb 0x14004baef
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x2d
mov ebx, eax
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.1400046fc
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x14008b4c0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004280
mov r9d, 0xc0007d29
test eax, eax
lea rcx, [rbp - 0x24]
mov r8d, edi
mov edx, edi
cmovs rcx, r14
mov qword [rsp + 0x20], rcx
mov ecx, edi
call fcn.140069d80
jmp 0x14004b223
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400018f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret