Function at 0x140052f04
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 [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov qword [rbp - 0x38], r14
mov rcx, qword [str.___t_]
lea r12, str.___t_
mov dil, 5
lea r13, [0x140003f38]
mov r15b, 4
cmp rcx, r12
je 0x140052f74
test byte [rcx + 0x1c], r15b
je 0x140052f74
cmp byte [rcx + 0x19], dil
jb 0x140052f74
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x11]
mov r8, r13
call fcn.14000e618
mov ebx, 0xea60
mov esi, 2
mov r8d, ebx
mov ecx, esi
call fcn.140030c8c
call fcn.140077084
test eax, eax
jne 0x14005305e
lea rcx, [rbp - 0x3c]
call fcn.1400778ec
test eax, eax
jne 0x140053028
cmp dword [rbp - 0x3c], r14d
je 0x140053054
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140052fd7
test byte [rcx + 0x1c], r15b
je 0x140052fd7
cmp byte [rcx + 0x19], dil
jb 0x140052fd7
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x11]
mov r8, r13
call fcn.14000e618
call fcn.140077a14
test eax, eax
jne 0x140053009
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140053054
test byte [rcx + 0x1c], r15b
je 0x140053054
cmp byte [rcx + 0x19], dil
jb 0x140053054
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x14]
mov r8, r13
call fcn.14000e618
jmp 0x140053054
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140053054
test byte [rcx + 0x1c], r15b
je 0x140053054
cmp byte [rcx + 0x19], sil
jb 0x140053054
mov edx, 0x15
jmp 0x140053045
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140053054
test byte [rcx + 0x1c], r15b
je 0x140053054
cmp byte [rcx + 0x19], sil
jb 0x140053054
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
mov r8d, ebx
mov ecx, esi
call fcn.140030c8c
mov r8d, ebx
mov ecx, esi
call fcn.140030c8c
lea rcx, [rbp - 0x38]
call fcn.14007237c
test eax, eax
jne 0x1400530b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400530a9
test byte [rcx + 0x1c], r15b
je 0x1400530a9
cmp byte [rcx + 0x19], sil
jb 0x1400530a9
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r9d, eax
mov r8, r13
call fcn.14000e63c
mov eax, ebx
jmp 0x140053912
mov r8d, ebx
mov ecx, esi
call fcn.140030c8c
call fcn.1400753b0
mov edi, 1
mov ebx, eax
test eax, eax
je 0x140053105
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400538ca
test byte [rcx + 0x1c], r15b
je 0x1400538ca
cmp byte [rcx + 0x19], sil
jb 0x1400538ca
lea edx, [rdi + 0x17]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x1400538ca
call fcn.14005ad98
test eax, eax
jne 0x140053141
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400538ca
test byte [rcx + 0x1c], r15b
je 0x1400538ca
cmp byte [rcx + 0x19], sil
jb 0x1400538ca
mov edx, 0x19
jmp 0x1400530f1
mov r8d, 0xea60
mov ecx, esi
call fcn.140030c8c
xor r9d, r9d
mov r8d, edi
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14009a3b0], rax
test rax, rax
jne 0x1400531a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400538ca
test byte [rcx + 0x1c], r15b
je 0x1400538ca
cmp byte [rcx + 0x19], sil
jb 0x1400538ca
mov edx, 0x1a
jmp 0x1400538bb
mov r8d, 0xea60
mov ecx, esi
call fcn.140030c8c
mov ecx, 0x3c
call fcn.140072274
mov qword [0x14009a3c8], rax
test rax, rax
jne 0x14005320e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400531f7
test byte [rcx + 0x1c], r15b
je 0x1400531f7
cmp byte [rcx + 0x19], sil
jb 0x1400531f7
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov r9d, eax
mov r8, r13
call fcn.14000e63c
mov r9d, 0xc0007d72
xor r8d, r8d
mov edx, edi
mov ecx, edi
call fcn.1400728a0
jmp 0x1400530a9
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x3c]
call sub.msvcrt.dll_memset
call fcn.14008708c
test eax, eax
jns 0x140053253
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400531f7
test byte [rcx + 0x1c], r15b
je 0x1400531f7
cmp byte [rcx + 0x19], sil
jb 0x1400531f7
mov edx, 0x1c
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x1400531f7
call fcn.1400871c8
test eax, eax
jns 0x14005327b
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400531f7
test byte [rcx + 0x1c], r15b
je 0x1400531f7
cmp byte [rcx + 0x19], sil
jb 0x1400531f7
mov edx, 0x1d
jmp 0x140053242
mov rcx, qword [0x14009a3c8]
lea rax, [rcx + 8]
lea r9, [rcx + 0xc]
lea r8, [rcx + 4]
add rcx, 0x10
mov qword [rsp + 0x20], rax
call fcn.140087468
test eax, eax
je 0x1400532d9
mov rax, qword [str.___t_]
cmp rax, r12
je 0x1400532d9
test byte [rax + 0x1c], r15b
je 0x1400532d9
cmp byte [rax + 0x19], sil
jb 0x1400532d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
mov rcx, qword [0x14009a3c8]
lea rax, [rcx + 0x1c]
lea r10, [rcx + 0x20]
lea r9, [rcx + 0x18]
lea r8, [rcx + 0x14]
lea rdx, [rcx + 0x28]
mov qword [rsp + 0x28], rax
add rcx, 0x24
mov qword [rsp + 0x20], r10
call fcn.1400876b0
test eax, eax
je 0x140053344
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140053344
test byte [rax + 0x1c], r15b
je 0x140053344
cmp byte [rax + 0x19], sil
jb 0x140053344
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x1f
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
mov rcx, qword [0x14009a3c8]
lea r9, [rcx + 0x34]
lea r8, [rcx + 0x38]
lea rdx, [rcx + 0x30]
add rcx, 0x2c
call fcn.140087280
test eax, eax
je 0x14005339d
mov rax, qword [str.___t_]
cmp rax, r12
je 0x14005339d
test byte [rax + 0x1c], r15b
je 0x14005339d
cmp byte [rax + 0x19], sil
jb 0x14005339d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x20
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
lea rcx, [0x14009a388]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [0x14009a3c8]
lea rcx, [0x14009a388]
imul eax, dword [rdx + 0x20], 0x3c
mov dword [0x14009a3d0], eax
imul eax, dword [rdx + 0x38], 0x3c
mov dword [0x14009a3bc], eax
imul eax, dword [rdx + 0xc], 0x3c
mov dword [0x14009a3d4], eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, 0xea60
mov ecx, esi
call fcn.140030c8c
lea rcx, [rbp - 0x38]
call fcn.140052c4c
mov ebx, eax
test eax, eax
je 0x140053435
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400530a9
test byte [rcx + 0x1c], r15b
je 0x1400530a9
cmp byte [rcx + 0x19], sil
jb 0x1400530a9
mov edx, 0x21
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.14000e63c
jmp 0x1400530a9
mov ebx, 0xea60
mov ecx, esi
mov r8d, ebx
call fcn.140030c8c
call fcn.14005afb8
test eax, eax
jne 0x14005350c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140053485
test byte [rcx + 0x1c], r15b
je 0x140053485
cmp byte [rcx + 0x19], sil
jb 0x140053485
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r9d, eax
mov r8, r13
call fcn.14000e63c
lea r8, [0x1400022b8]
lea rcx, [rbp - 0x24]
mov r9d, ebx
mov edx, 0xc
mov dword [rbp - 0x28], ebx
mov word [rbp - 0x24], r14w
call fcn.14001000c
lea rcx, [rbp - 0x24]
mov r9d, 0xc0007d68
test eax, eax
mov rax, qword [0x14009a458]
mov r8d, esi
cmovs rcx, r14
mov edx, edi
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0x20], rcx
mov ecx, edi
call fcn.1400728a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400538ca
test byte [rcx + 0x1c], r15b
je 0x1400538ca
cmp byte [rcx + 0x19], sil
jb 0x1400538ca
mov edx, 0x23
jmp 0x1400538bb
mov r8d, ebx
mov ecx, esi
call fcn.140030c8c
call fcn.140034b08
mov ebx, eax
test eax, eax
je 0x1400535d9
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140053551
test byte [rcx + 0x1c], r15b
je 0x140053551
cmp byte [rcx + 0x19], sil
jb 0x140053551
mov rcx, qword [rcx + 0x10]
mov edx, 0x24
mov r9d, eax
mov r8, r13
call fcn.14000e63c
lea r8, [0x1400022b8]
lea rcx, [rbp - 0x24]
mov r9d, ebx
mov edx, 0xc
mov dword [rbp - 0x28], ebx
mov word [rbp - 0x24], r14w
call fcn.14001000c
lea rcx, [rbp - 0x24]
mov r9d, 0xc0007d69
test eax, eax
mov rax, qword [0x14009a2d0]
mov r8d, esi
cmovs rcx, r14
mov edx, edi
mov qword [rsp + 0x28], rcx
mov ecx, edi
mov qword [rsp + 0x20], rax
call fcn.1400728a0
lea rcx, [0x14009a0b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14009a0e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14009a0e8]
mov qword [0x14009a2c4], r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14009a0b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, 0xea60
mov ecx, esi
call fcn.140030c8c
call fcn.1400620ac
mov ebx, eax
test eax, eax
je 0x140053648
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14005361d
test byte [rcx + 0x1c], r15b
je 0x14005361d
cmp byte [rcx + 0x19], sil
jb 0x14005361d
mov rcx, qword [rcx + 0x10]
mov edx, 0x25
mov r9d, eax
mov r8, r13
call fcn.14000e63c
lea r8, [0x1400022b8]
lea rcx, [rbp - 0x24]
mov r9d, ebx
mov edx, 0xc
mov dword [rbp - 0x28], ebx
mov word [rbp - 0x24], r14w
call fcn.14001000c
mov r9d, 0xc0007d2c
jmp 0x1400538f0
mov r8d, 0xea60
mov ecx, esi
call fcn.140030c8c
call fcn.140065360
mov ebx, eax
test eax, eax
je 0x14005368e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400538ca
test byte [rcx + 0x1c], r15b
je 0x1400538ca
cmp byte [rcx + 0x19], sil
jb 0x1400538ca
mov edx, 0x26
jmp 0x1400538bb
mov r8d, 0xea60
mov ecx, esi
call fcn.140030c8c
mov r9, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r8, [0x140054850]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140053701
mov rax, qword [str.___t_]
cmp rax, r12
je 0x1400530a9
test byte [rax + 0x1c], r15b
je 0x1400530a9
cmp byte [rax + 0x19], sil
jb 0x1400530a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x27]
mov ebx, eax
jmp 0x140053421
mov r8d, 0x4e20
mov ecx, esi
call fcn.140030c8c
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x1400537a7
cmp eax, 0x102
jne 0x14005375e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140053756
test byte [rcx + 0x1c], r15b
je 0x140053756
cmp byte [rcx + 0x19], 5
jb 0x140053756
mov rcx, qword [rcx + 0x10]
mov edx, 0x29
mov r8, r13
call fcn.14000e618
mov r8d, 0x7530
jmp 0x140053707
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140053799
test byte [rax + 0x1c], r15b
je 0x140053799
cmp byte [rax + 0x19], sil
jb 0x140053799
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x2a
mov rcx, qword [str.___t_]
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
mov ebx, eax
call fcn.14000e63c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400530a9
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1400537dd
mov rax, qword [str.___t_]
cmp rax, r12
je 0x140053799
test byte [rax + 0x1c], r15b
je 0x140053799
cmp byte [rax + 0x19], sil
jb 0x140053799
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x28
jmp 0x140053781
mov ebx, dword [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14005381e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400530a9
test byte [rcx + 0x1c], r15b
je 0x1400530a9
cmp byte [rcx + 0x19], sil
jb 0x1400530a9
mov edx, 0x2b
mov r9d, ebx
jmp 0x140053424
xor r8d, r8d
mov r9d, 0x40007d01
lea edx, [r8 + 3]
lea edi, [rdx - 2]
mov ecx, edi
call fcn.1400728a0
call fcn.140031534
mov ebx, eax
test eax, eax
je 0x14005385d
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400538ca
test byte [rcx + 0x1c], r15b
je 0x1400538ca
cmp byte [rcx + 0x19], sil
jb 0x1400538ca
lea edx, [rdi + 0x2b]
jmp 0x1400538bb
lea rax, [rbp - 0x40]
lea r8, [0x140055120]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14009a3c0], rax
test rax, rax
jne 0x140053910
mov rax, qword [str.___t_]
cmp rax, r12
je 0x1400538ca
test byte [rax + 0x1c], r15b
je 0x1400538ca
cmp byte [rax + 0x19], sil
jb 0x1400538ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x2d
mov ebx, eax
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
lea r8, [0x1400022b8]
lea rcx, [rbp - 0x24]
mov r9d, ebx
mov edx, 0xc
mov dword [rbp - 0x28], ebx
mov word [rbp - 0x24], r14w
call fcn.14001000c
mov r9d, 0xc0007d29
test eax, eax
lea rcx, [rbp - 0x24]
mov r8d, edi
cmovs rcx, r14
mov edx, edi
mov qword [rsp + 0x20], rcx
mov ecx, edi
call fcn.1400728a0
jmp 0x1400530a9
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140088640
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