Function at 0x14004b648
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 [0x1400a3ac8]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov rcx, qword [str._0_n_]
lea r12, str._0_n_
lea r13, [0x140094378]
mov dil, 5
mov r15b, 4
cmp rcx, r12
je 0x14004b6b8
test byte [rcx + 0x1c], r15b
je 0x14004b6b8
cmp byte [rcx + 0x19], dil
jb 0x14004b6b8
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x11]
mov r8, r13
call fcn.14000459c
mov ebx, 0xea60
mov esi, 2
mov r8d, ebx
mov ecx, esi
call fcn.140026550
call fcn.14006fdac
test eax, eax
jne 0x14004b7a2
lea rcx, [rbp - 0x40]
call fcn.140070474
test eax, eax
jne 0x14004b76c
cmp dword [rbp - 0x40], r14d
je 0x14004b798
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b71b
test byte [rcx + 0x1c], r15b
je 0x14004b71b
cmp byte [rcx + 0x19], dil
jb 0x14004b71b
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x11]
mov r8, r13
call fcn.14000459c
call fcn.1400706a0
test eax, eax
jne 0x14004b74d
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b798
test byte [rcx + 0x1c], r15b
je 0x14004b798
cmp byte [rcx + 0x19], dil
jb 0x14004b798
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x14]
mov r8, r13
call fcn.14000459c
jmp 0x14004b798
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b798
test byte [rcx + 0x1c], r15b
je 0x14004b798
cmp byte [rcx + 0x19], sil
jb 0x14004b798
mov edx, 0x15
jmp 0x14004b789
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b798
test byte [rcx + 0x1c], r15b
je 0x14004b798
cmp byte [rcx + 0x19], sil
jb 0x14004b798
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004900
mov r8d, ebx
mov ecx, esi
call fcn.140026550
mov r8d, ebx
mov ecx, esi
call fcn.140026550
lea rcx, [rbp - 0x30]
call fcn.14006a930
test eax, eax
jne 0x14004b7fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b7f3
test byte [rcx + 0x1c], r15b
je 0x14004b7f3
cmp byte [rcx + 0x19], sil
jb 0x14004b7f3
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r9d, eax
mov r8, r13
call fcn.140004900
mov eax, ebx
jmp 0x14004c103
mov r8d, ebx
mov ecx, esi
call fcn.140026550
call fcn.14006e3cc
mov ebx, eax
mov edi, 1
test eax, eax
je 0x14004b84f
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004c0bb
test byte [rcx + 0x1c], r15b
je 0x14004c0bb
cmp byte [rcx + 0x19], sil
jb 0x14004c0bb
lea edx, [rdi + 0x17]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004900
jmp 0x14004c0bb
call fcn.140053a54
test eax, eax
jne 0x14004b891
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004c0bb
test byte [rcx + 0x1c], r15b
je 0x14004c0bb
cmp byte [rcx + 0x19], sil
jb 0x14004c0bb
mov edx, 0x19
jmp 0x14004b83b
mov r8d, 0xea60
mov ecx, esi
call fcn.140026550
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 [0x1400a7640], rax
test rax, rax
jne 0x14004b8fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004c0bb
test byte [rcx + 0x1c], r15b
je 0x14004c0bb
cmp byte [rcx + 0x19], sil
jb 0x14004c0bb
mov edx, 0x1a
jmp 0x14004c0ac
mov r8d, 0xea60
mov ecx, esi
call fcn.140026550
mov ecx, 0x3c
call fcn.14006a264
mov qword [0x1400a7658], rax
test rax, rax
jne 0x14004b970
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b959
test byte [rcx + 0x1c], r15b
je 0x14004b959
cmp byte [rcx + 0x19], sil
jb 0x14004b959
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov r9d, eax
mov r8, r13
call fcn.140004994
mov r9d, 0xc0007d72
xor r8d, r8d
mov edx, edi
mov ecx, edi
call fcn.14006a378
jmp 0x14004b7f3
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.140086bdc
test eax, eax
jns 0x14004b9be
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b959
test byte [rcx + 0x1c], r15b
je 0x14004b959
cmp byte [rcx + 0x19], sil
jb 0x14004b959
mov edx, 0x1c
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.1400045c8
jmp 0x14004b959
call fcn.140086b18
test eax, eax
jns 0x14004b9ea
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b959
test byte [rcx + 0x1c], r15b
je 0x14004b959
cmp byte [rcx + 0x19], sil
jb 0x14004b959
mov edx, 0x1d
jmp 0x14004b9ad
mov rcx, qword [0x1400a7658]
lea rax, [rcx + 8]
lea r9, [rcx + 0xc]
mov qword [rsp + 0x20], rax
lea r8, [rcx + 4]
add rcx, 0x10
call fcn.140086d2c
test eax, eax
je 0x14004ba4e
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14004ba4e
test byte [rax + 0x1c], r15b
je 0x14004ba4e
cmp byte [rax + 0x19], sil
jb 0x14004ba4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x1e
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, qword [0x1400a7658]
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.140086fb0
test eax, eax
je 0x14004babf
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14004babf
test byte [rax + 0x1c], r15b
je 0x14004babf
cmp byte [rax + 0x19], sil
jb 0x14004babf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x1f
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, qword [0x1400a7658]
lea r9, [rcx + 0x34]
lea r8, [rcx + 0x38]
lea rdx, [rcx + 0x30]
add rcx, 0x2c
call fcn.1400872a8
test eax, eax
je 0x14004bb1e
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14004bb1e
test byte [rax + 0x1c], r15b
je 0x14004bb1e
cmp byte [rax + 0x19], sil
jb 0x14004bb1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x20
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
lea rcx, [0x1400a7618]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rdx, qword [0x1400a7658]
lea rcx, [0x1400a7618]
imul eax, dword [rdx + 0x20], 0x3c
mov dword [0x1400a7660], eax
imul eax, dword [rdx + 0x38], 0x3c
mov dword [0x1400a764c], eax
imul eax, dword [rdx + 0xc], 0x3c
mov dword [0x1400a7664], eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov r8d, 0xea60
mov ecx, esi
call fcn.140026550
lea rcx, [rbp - 0x30]
call fcn.14004b114
mov ebx, eax
test eax, eax
je 0x14004bbc2
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b7f3
test byte [rcx + 0x1c], r15b
je 0x14004b7f3
cmp byte [rcx + 0x19], sil
jb 0x14004b7f3
mov edx, 0x21
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140004994
jmp 0x14004b7f3
mov ebx, 0xea60
mov ecx, esi
mov r8d, ebx
call fcn.140026550
call fcn.1400536e4
test eax, eax
jne 0x14004bca5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004bc18
test byte [rcx + 0x1c], r15b
je 0x14004bc18
cmp byte [rcx + 0x19], sil
jb 0x14004bc18
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r9d, eax
mov r8, r13
call fcn.1400238ac
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x1400926e0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004520
test eax, eax
lea rcx, [rbp - 0x24]
mov rax, qword [0x1400a76e8]
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.14006a378
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004c0bb
test byte [rcx + 0x1c], r15b
je 0x14004c0bb
cmp byte [rcx + 0x19], sil
jb 0x14004c0bb
mov edx, 0x23
jmp 0x14004c0ac
mov r8d, ebx
mov ecx, esi
call fcn.140026550
call fcn.14002c814
mov ebx, eax
test eax, eax
je 0x14004bd8a
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004bcea
test byte [rcx + 0x1c], r15b
je 0x14004bcea
cmp byte [rcx + 0x19], sil
jb 0x14004bcea
mov rcx, qword [rcx + 0x10]
mov edx, 0x24
mov r9d, eax
mov r8, r13
call fcn.1400238ac
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x1400926e0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004520
test eax, eax
lea rcx, [rbp - 0x24]
mov rax, qword [0x1400a7560]
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.14006a378
lea rcx, [0x1400a7348]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rcx, [0x1400a7378]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rcx, [0x1400a7378]
mov qword [0x1400a7554], r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
lea rcx, [0x1400a7348]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov r8d, 0xea60
mov ecx, esi
call fcn.140026550
call fcn.14005a914
mov ebx, eax
test eax, eax
je 0x14004bdf9
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004bdce
test byte [rcx + 0x1c], r15b
je 0x14004bdce
cmp byte [rcx + 0x19], sil
jb 0x14004bdce
mov rcx, qword [rcx + 0x10]
mov edx, 0x25
mov r9d, eax
mov r8, r13
call fcn.140004994
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x1400926e0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004520
mov r9d, 0xc0007d2c
jmp 0x14004c0e1
mov r8d, 0xea60
mov ecx, esi
call fcn.140026550
call fcn.14005e0c4
mov ebx, eax
test eax, eax
je 0x14004be3f
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004c0bb
test byte [rcx + 0x1c], r15b
je 0x14004c0bb
cmp byte [rcx + 0x19], sil
jb 0x14004c0bb
mov edx, 0x26
jmp 0x14004c0ac
mov r8d, 0xea60
mov ecx, esi
call fcn.140026550
mov r9, qword [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea r8, [0x14004a700]
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 0x14004bebe
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14004b7f3
test byte [rax + 0x1c], r15b
je 0x14004b7f3
cmp byte [rax + 0x19], sil
jb 0x14004b7f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea edx, [rdi + 0x27]
mov ebx, eax
jmp 0x14004bbae
mov r8d, 0x4e20
mov ecx, esi
call fcn.140026550
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14004bf48
cmp eax, 0x102
jne 0x14004bf1d
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004bf15
test byte [rcx + 0x1c], r15b
je 0x14004bf15
cmp byte [rcx + 0x19], 5
jb 0x14004bf15
mov rcx, qword [rcx + 0x10]
mov edx, 0x29
mov r8, r13
call fcn.14000459c
mov r8d, 0x7530
jmp 0x14004bec4
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14004bfa0
test byte [rax + 0x1c], r15b
je 0x14004bfa0
cmp byte [rax + 0x19], sil
jb 0x14004bfa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x2a
jmp 0x14004bf88
lea rdx, [rbp - 0x3c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop dword [rax + rax]
test eax, eax
jne 0x14004bfb4
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14004bfa0
test byte [rax + 0x1c], r15b
je 0x14004bfa0
cmp byte [rax + 0x19], sil
jb 0x14004bfa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x28
mov rcx, qword [str._0_n_]
mov r9d, eax
mov r8, r13
mov ebx, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14004b7f3
mov ebx, dword [rbp - 0x3c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
je 0x14004bffb
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004b7f3
test byte [rcx + 0x1c], r15b
je 0x14004b7f3
cmp byte [rcx + 0x19], sil
jb 0x14004b7f3
mov edx, 0x2b
mov r9d, ebx
jmp 0x14004bbb1
xor r8d, r8d
mov r9d, 0x40007d01
lea edx, [r8 + 3]
lea edi, [rdx - 2]
mov ecx, edi
call fcn.14006a378
call fcn.140026c20
mov ebx, eax
test eax, eax
je 0x14004c042
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14004c0bb
test byte [rcx + 0x1c], r15b
je 0x14004c0bb
cmp byte [rcx + 0x19], sil
jb 0x14004c0bb
lea edx, [rdi + 0x2b]
jmp 0x14004c0ac
lea rax, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x14004b080]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [0x1400a7650], rax
test rax, rax
jne 0x14004c101
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14004c0bb
test byte [rax + 0x1c], r15b
je 0x14004c0bb
cmp byte [rax + 0x19], sil
jb 0x14004c0bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x2d
mov ebx, eax
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004994
mov r9d, ebx
mov dword [rbp - 0x28], ebx
lea r8, [0x1400926e0]
mov word [rbp - 0x24], r14w
mov edx, 0xc
lea rcx, [rbp - 0x24]
call fcn.140004520
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.14006a378
jmp 0x14004b7f3
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001b10
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