Function at 0x140055c0c
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
xor r13d, r13d
mov qword [rax + 0x20], r13
mov rcx, qword [str.P5_n_]
lea r12, str.P5_n_
mov bl, 5
lea r14, [0x140008f08]
mov bpl, 4
cmp rcx, r12
je 0x140055c60
test byte [rcx + 0x1c], bpl
je 0x140055c60
cmp byte [rcx + 0x19], bl
jb 0x140055c60
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x11]
mov r8, r14
call fcn.14000ffa8
xor edx, edx
mov edi, 0xea60
lea esi, [rdx + 2]
mov r8d, edi
mov ecx, esi
call fcn.1400325d8
call fcn.14007ce04
cmp eax, r13d
jne 0x140055d59
lea rcx, [rsp + 0xa0]
call fcn.14007d650
cmp eax, r13d
jne 0x140055d21
cmp dword [rsp + 0xa0], r13d
je 0x140055d4d
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055ccc
test byte [rcx + 0x1c], bpl
je 0x140055ccc
cmp byte [rcx + 0x19], bl
jb 0x140055ccc
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x11]
mov r8, r14
call fcn.14000ffa8
xor ecx, ecx
call fcn.14007d784
cmp eax, r13d
jne 0x140055d02
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055d4d
test byte [rcx + 0x1c], bpl
je 0x140055d4d
cmp byte [rcx + 0x19], bl
jb 0x140055d4d
mov rcx, qword [rcx + 0x10]
mov edx, 0x14
mov r8, r14
call fcn.14000ffa8
jmp 0x140055d4d
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055d4d
test byte [rcx + 0x1c], bpl
je 0x140055d4d
cmp byte [rcx + 0x19], sil
jb 0x140055d4d
mov edx, 0x15
jmp 0x140055d3e
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055d4d
test byte [rcx + 0x1c], bpl
je 0x140055d4d
cmp byte [rcx + 0x19], sil
jb 0x140055d4d
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
lea rcx, [rsp + 0xb8]
call fcn.140076b34
cmp eax, r13d
jne 0x140055db2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055dab
test byte [rcx + 0x1c], bpl
je 0x140055dab
cmp byte [rcx + 0x19], sil
jb 0x140055dab
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r9d, eax
mov r8, r14
call fcn.1400100e0
mov eax, ebx
jmp 0x140056694
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
lea rcx, [0x14000abf0]
call fcn.14007a3bc
mov r15d, 1
mov ebx, eax
cmp eax, r13d
je 0x140055e13
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056645
test byte [rcx + 0x1c], bpl
je 0x140056645
cmp byte [rcx + 0x19], sil
jb 0x140056645
lea edx, [r15 + 0x17]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
jmp 0x140056645
call fcn.14005e16c
cmp eax, r13d
jne 0x140055e50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056645
test byte [rcx + 0x1c], bpl
je 0x140056645
cmp byte [rcx + 0x19], sil
jb 0x140056645
mov edx, 0x19
jmp 0x140055dff
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
xor r9d, r9d
mov r8d, r15d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400a3f00], rax
cmp rax, r13
jne 0x140055eaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056645
test byte [rcx + 0x1c], bpl
je 0x140056645
cmp byte [rcx + 0x19], sil
jb 0x140056645
mov edx, 0x1a
jmp 0x140056636
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
mov ecx, 0x3c
call fcn.140076a54
mov qword [0x1400a3ef0], rax
cmp rax, r13
jne 0x140055f1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055f05
test byte [rcx + 0x1c], bpl
je 0x140055f05
cmp byte [rcx + 0x19], sil
jb 0x140055f05
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b
mov r9d, eax
mov r8, r14
call fcn.1400100e0
mov r9d, 0xc0007d72
xor r8d, r8d
mov edx, r15d
mov ecx, r15d
call fcn.140077054
jmp 0x140055dab
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x3c]
call sub.msvcrt.dll_memset
call fcn.14008b774
cmp eax, r13d
jge 0x140055f64
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055f05
test byte [rcx + 0x1c], bpl
je 0x140055f05
cmp byte [rcx + 0x19], sil
jb 0x140055f05
mov edx, 0x1c
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
jmp 0x140055f05
call fcn.14008b874
cmp eax, r13d
jge 0x140055f91
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055f05
test byte [rcx + 0x1c], bpl
je 0x140055f05
cmp byte [rcx + 0x19], sil
jb 0x140055f05
mov edx, 0x1d
jmp 0x140055f53
mov rdx, qword [0x1400a3ef0]
lea rax, [rdx + 8]
lea r9, [rdx + 0xc]
lea r8, [rdx + 4]
lea rcx, [rdx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14008bb0c
cmp eax, r13d
je 0x140055ff0
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x140055ff0
test byte [rax + 0x1c], bpl
je 0x140055ff0
cmp byte [rax + 0x19], sil
jb 0x140055ff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
mov rcx, qword [0x1400a3ef0]
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.14008bd50
cmp eax, r13d
je 0x14005605c
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x14005605c
test byte [rax + 0x1c], bpl
je 0x14005605c
cmp byte [rax + 0x19], sil
jb 0x14005605c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x1f
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
mov rcx, qword [0x1400a3ef0]
lea r9, [rcx + 0x34]
lea r8, [rcx + 0x38]
lea rdx, [rcx + 0x30]
add rcx, 0x2c
call fcn.14008b928
cmp eax, r13d
je 0x1400560b6
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x1400560b6
test byte [rax + 0x1c], bpl
je 0x1400560b6
cmp byte [rax + 0x19], sil
jb 0x1400560b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x20
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
lea rcx, [0x1400a3f60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [0x1400a3ef0]
lea rcx, [0x1400a3f60]
mov eax, dword [r11 + 0x20]
imul eax, eax, 0x3c
mov dword [0x1400a3efc], eax
mov eax, dword [r11 + 0x38]
imul eax, eax, 0x3c
mov dword [0x1400a3e94], eax
mov eax, dword [r11 + 0xc]
imul eax, eax, 0x3c
mov dword [0x1400a3ef8], eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
lea rcx, [rsp + 0xb8]
call fcn.140055950
mov ebx, eax
cmp eax, r13d
je 0x14005615b
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055dab
test byte [rcx + 0x1c], bpl
je 0x140055dab
cmp byte [rcx + 0x19], sil
jb 0x140055dab
mov edx, 0x21
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.1400100e0
jmp 0x140055dab
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
mov rcx, qword [rsp + 0xb8]
call fcn.14005e374
cmp eax, r13d
jne 0x14005623f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x1400561b1
test byte [rcx + 0x1c], bpl
je 0x1400561b1
cmp byte [rcx + 0x19], sil
jb 0x1400561b1
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r9d, eax
mov r8, r14
call fcn.1400100e0
lea r8, [0x140009d68]
lea rcx, [rsp + 0x34]
mov r9d, ebx
mov edx, 0xc
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x34], r13w
call fcn.1400118ac
lea rcx, [rsp + 0x34]
mov r9d, 0xc0007d68
cmp eax, r13d
mov rax, qword [0x1400a40c8]
mov r8d, esi
cmovl rcx, r13
mov edx, r15d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0x20], rcx
mov ecx, r15d
call fcn.140077054
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056645
test byte [rcx + 0x1c], bpl
je 0x140056645
cmp byte [rcx + 0x19], sil
jb 0x140056645
mov edx, 0x23
jmp 0x140056636
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
call fcn.1400366e0
mov ebx, eax
cmp eax, r13d
je 0x14005631d
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056287
test byte [rcx + 0x1c], bpl
je 0x140056287
cmp byte [rcx + 0x19], sil
jb 0x140056287
mov rcx, qword [rcx + 0x10]
mov edx, 0x24
mov r9d, eax
mov r8, r14
call fcn.1400100e0
lea r8, [0x140009d68]
lea rcx, [rsp + 0x34]
mov r9d, ebx
mov edx, 0xc
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x34], r13w
call fcn.1400118ac
lea rcx, [rsp + 0x34]
mov r9d, 0xc0007d69
cmp eax, r13d
mov rax, qword [0x1400a3fe8]
mov r8d, esi
cmovl rcx, r13
mov edx, r15d
mov qword [rsp + 0x28], rcx
mov ecx, r15d
mov qword [rsp + 0x20], rax
call fcn.140077054
lea rcx, [0x1400a3d50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x1400a3d28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x1400a3d28]
mov dword [0x1400a3fe0], r13d
mov dword [0x1400a3fdc], r13d
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x1400a3d50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
call fcn.1400657e8
mov ebx, eax
cmp eax, r13d
je 0x14005638f
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056361
test byte [rcx + 0x1c], bpl
je 0x140056361
cmp byte [rcx + 0x19], sil
jb 0x140056361
mov rcx, qword [rcx + 0x10]
mov edx, 0x25
mov r9d, eax
mov r8, r14
call fcn.1400100e0
lea r8, [0x140009d68]
lea rcx, [rsp + 0x34]
mov r9d, ebx
mov edx, 0xc
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x34], r13w
call fcn.1400118ac
mov r9d, 0xc0007d2c
jmp 0x14005666e
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
mov rcx, qword [0x1400a40f8]
call fcn.140068ac4
mov ebx, eax
cmp eax, r13d
je 0x1400563dc
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056645
test byte [rcx + 0x1c], bpl
je 0x140056645
cmp byte [rcx + 0x19], sil
jb 0x140056645
mov edx, 0x26
jmp 0x140056636
mov r8d, edi
xor edx, edx
mov ecx, esi
call fcn.1400325d8
mov r9, qword [rsp + 0xb8]
lea r11, [rsp + 0xb0]
mov qword [rsp + 0x28], r11
lea r8, [0x1400575bc]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
cmp rax, r13
jne 0x140056458
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x140055dab
test byte [rax + 0x1c], bpl
je 0x140055dab
cmp byte [rax + 0x19], sil
jb 0x140055dab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x27
mov ebx, eax
jmp 0x140056147
mov r8d, 0x4e20
xor edx, edx
mov ecx, esi
call fcn.1400325d8
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
cmp eax, r13d
je 0x140056501
cmp eax, 0x102
jne 0x1400564b8
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x1400564b0
test byte [rcx + 0x1c], bpl
je 0x1400564b0
cmp byte [rcx + 0x19], 5
jb 0x1400564b0
mov rcx, qword [rcx + 0x10]
mov edx, 0x29
mov r8, r14
call fcn.14000ffa8
mov r8d, 0x7530
jmp 0x14005645e
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x1400564f3
test byte [rax + 0x1c], bpl
je 0x1400564f3
cmp byte [rax + 0x19], sil
jb 0x1400564f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x2a
mov rcx, qword [str.P5_n_]
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
mov ebx, eax
call fcn.1400100e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140055dab
lea rdx, [rsp + 0xa8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp eax, r13d
jne 0x14005653c
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x1400564f3
test byte [rax + 0x1c], bpl
je 0x1400564f3
cmp byte [rax + 0x19], sil
jb 0x1400564f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x28
jmp 0x1400564db
mov ebx, dword [rsp + 0xa8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, r13d
je 0x140056582
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140055dab
test byte [rcx + 0x1c], bpl
je 0x140055dab
cmp byte [rcx + 0x19], sil
jb 0x140055dab
mov edx, 0x2b
mov r9d, ebx
jmp 0x14005614a
xor r8d, r8d
mov r9d, 0x40007d01
mov ecx, r15d
lea edx, [r8 + 3]
call fcn.140077054
lea rdx, [0x140008bf0]
lea rcx, [0x14000ac18]
call fcn.140032e7c
mov ebx, eax
cmp eax, r13d
je 0x1400565d4
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x140056645
test byte [rcx + 0x1c], bpl
je 0x140056645
cmp byte [rcx + 0x19], sil
jb 0x140056645
mov edx, 0x2c
jmp 0x140056636
lea rax, [rsp + 0xb0]
lea r8, [0x140057ef0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400a3ee8], rax
cmp rax, r13
jne 0x140056692
mov rax, qword [str.P5_n_]
cmp rax, r12
je 0x140056645
test byte [rax + 0x1c], bpl
je 0x140056645
cmp byte [rax + 0x19], sil
jb 0x140056645
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x2d
mov ebx, eax
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
lea r8, [0x140009d68]
lea rcx, [rsp + 0x34]
mov r9d, ebx
mov edx, 0xc
mov dword [rsp + 0x30], ebx
mov word [rsp + 0x34], r13w
call fcn.1400118ac
mov r9d, 0xc0007d29
cmp eax, r13d
lea rcx, [rsp + 0x34]
mov r8d, r15d
cmovl rcx, r13
mov edx, r15d
mov qword [rsp + 0x20], rcx
mov ecx, r15d
call fcn.140077054
jmp 0x140055dab
xor eax, eax
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret