Function at 0x14008ea30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov r15, rcx
lea rcx, [rsp + 0x48]
mov rbx, rdx
call fcn.140058038
lea rcx, [rsp + 0x50]
call fcn.1400584fc
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.14006252c
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, r15
call fcn.140003720
mov r11, qword [rsp + 0x70]
lea rcx, [rsp + 0x148]
mov qword [rsp + 0x148], r11
call fcn.1400503f4
xor edi, edi
mov dword [rsp + 0x158], edi
mov r14d, edi
lea esi, [rdi + 0x2d]
lea ebp, [rdi + 0x20]
jmp 0x14008eba3
cmp si, word [rbx + 2]
jne 0x14008ebbe
lea rdx, [rsp + 0x148]
lea rcx, [0x1400fba24]
mov r8d, 2
call fcn.140050478
cmp eax, edi
jne 0x14008ebb6
lea rdx, [rsp + 0x148]
lea rcx, str.__try
mov r8d, 5
call fcn.140057ae8
cmp al, dil
je 0x14008eb0a
mov dword [rsp + 0x158], 1
jmp 0x14008eba3
lea rdx, [rsp + 0x148]
lea rcx, [0x1400fba08]
mov r8d, 6
call fcn.140057ae8
cmp al, dil
je 0x14008eb36
mov dword [rsp + 0x158], 2
jmp 0x14008eba3
lea rdx, [rsp + 0x148]
lea rcx, [0x1400fb9f8]
mov r8d, 7
call fcn.140057ae8
cmp al, dil
je 0x14008eb5d
mov r14d, 1
jmp 0x14008eba3
mov rcx, qword [rsp + 0x148]
movzx eax, word [rcx]
cmp ax, di
je 0x14008eb96
mov edx, 9
cmp dx, ax
ja 0x14008eb7d
cmp ax, 0xd
jbe 0x14008eb8e
cmp bp, ax
je 0x14008eb8e
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x14008eb6d
mov qword [rsp + 0x148], rcx
lea rcx, [rsp + 0x148]
call fcn.1400503f4
mov rbx, qword [rsp + 0x148]
cmp si, word [rbx]
je 0x14008eaaf
jmp 0x14008ebbe
mov rbx, qword [rsp + 0x148]
lea rcx, [rsp + 0x40]
mov edx, 0x2c
mov qword [rsp + 0x40], rbx
call fcn.140009210
mov rdx, qword [rsp + 0x40]
cmp word [rdx], di
je 0x14008ebf4
mov word [rdx], di
add qword [rsp + 0x40], 2
lea rcx, [rsp + 0x40]
call fcn.1400503f4
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400625ac
lea rcx, [rsp + 0x78]
mov rdx, rbx
call fcn.14006252c
mov r11, qword [rsp + 0x78]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x98], r11
call fcn.1400503f4
mov r12, qword [rsp + 0x98]
cmp word [r12], di
je 0x14008ef3b
lea rcx, [rsp + 0xa0]
call fcn.1400584fc
mov rsi, qword [rsp + 0x60]
cmp word [r12], di
je 0x14008ef29
movsxd r13, r14d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xb8]
mov r8d, 0xcd
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x88], rdi
call fcn.140024200
mov rbx, qword [rsp + 0xb8]
mov r12, rax
mov rdx, rbx
cmp word [rbx], di
je 0x14008ecd2
mov r13d, 0x20
movzx ecx, word [rdx]
cmp cx, 0x61
jb 0x14008ecb4
cmp cx, 0x7a
ja 0x14008ecb4
sub cx, r13w
mov word [rdx], cx
jmp 0x14008ecc6
mov eax, 0x5c
cmp ax, cx
jne 0x14008ecc6
mov eax, 0x2f
mov word [rdx], ax
add rdx, 2
cmp word [rdx], di
jne 0x14008ec9c
movsxd r13, r14d
mov eax, 0x2d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], edi
cmp word [rbx], ax
jne 0x14008ed24
lea rax, [rbx + 2]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.1400ab4bc
mov rbx, qword [rsp + 0x30]
mov r11d, 0x3a
cmp r11w, word [rbx]
jne 0x14008ed17
add rbx, 2
mov qword [rsp + 0x30], rbx
mov eax, dword [rsp + 0x38]
cmp eax, edi
cmovl eax, edi
mov dword [rsp + 0x38], eax
cmp word [rbx], di
je 0x14008ef1e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp rsi, rdi
mov ebp, edi
movsxd rcx, eax
mov qword [rsp + 0x88], rcx
jle 0x14008ed83
mov rax, rdi
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0xa0]
mov r9d, 8
mov rcx, rax
call fcn.140058498
mov rcx, rbx
mov rdx, qword [rax]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, edi
je 0x14008ede9
inc ebp
movsxd rax, ebp
cmp rax, rsi
jl 0x14008ed4b
mov r9, qword [rsp + 0x30]
cmp r9, rdi
je 0x14008ef1e
cmp r13, rdi
je 0x14008edb3
mov ebp, 0x23
cmp bp, word [r9]
je 0x14008edb3
sub r9, 2
mov qword [rsp + 0x30], r9
mov word [r9], bp
mov r9, qword [rsp + 0x30]
lea rcx, str..thread
mov rdx, r9
call fcn.140051974
cmp al, dil
je 0x14008edf3
test byte [r15 + 0x12], 1
jne 0x14008ef1e
lea rcx, [0x14010ee78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or byte [r15 + 0x12], 1
jmp 0x14008ef1e
mov r9, rdi
mov qword [rsp + 0x30], rdi
jmp 0x14008ed88
lea rcx, str..ole
mov rdx, r9
call fcn.140051974
cmp al, dil
je 0x14008ee51
test byte [r15 + 0x12], 1
jne 0x14008ee20
lea rcx, [0x14010ee78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or byte [r15 + 0x12], 1
mov al, byte [r15 + 0x12]
test al, 2
jne 0x14008ef1e
or al, 2
mov byte [r15 + 0x12], al
call fcn.140056aa0
mov r11, qword [0x14010e570]
cmp r11, rdi
je 0x14008ef1e
xor ecx, ecx
call r11
jmp 0x14008ef1e
or dword [rsp + 0x3c], 0xffffffff
mov eax, r14d
mov rcx, r9
neg eax
lea rax, [rsp + 0x3c]
sbb r8, r8
xor edx, edx
and r8, rax
call fcn.14008e98c
mov rbp, rax
cmp r13, rdi
je 0x14008ee89
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x3c]
mov rcx, r15
call fcn.14005b0c0
cmp rbp, rdi
je 0x14008ef1e
mov ecx, dword [rsp + 0x38]
mov qword [rsp + 0xc0], rbx
lea r9, [rsp + 0xc0]
mov dword [rbp + 0x14], ecx
mov ebx, 1
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 8
call fcn.140058388
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0xc8], rbp
mov dword [rsp + 0x20], 8
call fcn.140058388
mov rdx, rbp
mov rcx, r15
call fcn.14006118c
cmp r13, rdi
jne 0x14008ef6b
mov rsi, qword [rsp + 0x60]
cmp word [r12], di
jne 0x14008ec58
cmp rsi, rdi
jg 0x14008ef72
lea rcx, [rsp + 0xa0]
call fcn.140050424
lea rcx, [rsp + 0x78]
call fcn.140050424
lea rcx, [rsp + 0x70]
call fcn.140050424
lea rcx, [rsp + 0x50]
call fcn.140050424
lea rcx, [rsp + 0x48]
call fcn.140050424
mov rax, rdi
jmp 0x14008f275
movsxd rdi, dword [rsp + 0x3c]
jmp 0x14008ef2e
lea rdx, [rsi*8 + 8]
lea rcx, [rsp + 0x90]
call fcn.140057dc0
cmp rsi, rdi
mov r12, qword [rsp + 0x90]
movsxd rbp, esi
mov r13d, edi
jle 0x14008efd6
mov rax, rdi
mov rbx, r12
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r9d, 8
mov rcx, rax
call fcn.140058498
mov rsi, qword [rsp + 0x60]
inc r13d
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
mov qword [rbx], rax
movsxd rax, r13d
add rbx, 8
cmp rax, rsi
jl 0x14008efa0
mov eax, dword [rsp + 0x158]
cmp ebp, 1
mov r14d, edi
setne r14b
mov r13d, 1
mov qword [rsp + 0x68], rdi
mov ebx, 0xffffffff
cmp r14d, edi
je 0x14008f0de
cmp eax, edi
jne 0x14008f0de
lea edx, [r13 + 0x2f]
lea rcx, [rsp + 0x80]
call fcn.140057dc0
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call fcn.1400503d8
mov eax, 0xffffffff
lea r8, [0x140056d28]
mov qword [rbx + 0x18], rax
lea rax, [0x14010d940]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov eax, 0x10000
xor ecx, ecx
mov rdx, rax
mov qword [rbx], rdi
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x20], 3
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x68], rax
cmp rax, rdi
jne 0x14008f0b2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [0x14010d940]
mov edx, 0x10000
mov qword [rsp + 0x28], rax
lea r8, [0x140056d28]
mov r9, rbx
xor ecx, ecx
mov dword [rsp + 0x20], edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x68], rax
cmp rax, rdi
je 0x14008f0c5
mov qword [rsp + 0x80], rdi
lea r12, [rsp + 0x68]
mov r14d, edi
mov ebp, r13d
lea rcx, [rsp + 0x80]
call fcn.140050424
mov eax, dword [rsp + 0x158]
mov ebx, 0xffffffff
cmp eax, 2
jne 0x14008f0eb
mov r13d, edi
jmp 0x14008f200
cmp eax, edi
je 0x14008f1b2
xor r9d, r9d
mov r8d, r13d
mov rdx, r12
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebp
jb 0x14008f1c8
jmp 0x14008f200
cmp r14d, edi
jne 0x14008f138
xor r9d, r9d
mov r8, r12
mov edx, ebp
mov rcx, r15
mov dword [rsp + 0x28], 0x4ff
mov dword [rsp + 0x20], 0x3e8
call fcn.140018df0
jmp 0x14008f14c
mov r9d, 0x64
mov r8d, r13d
mov rdx, r12
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebp
jb 0x14008f1c3
cmp eax, ebx
jne 0x14008f15d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x7cf
mov al, byte [0x14010b21f]
cmp al, dil
jle 0x14008f1ad
lea rcx, [rsp + 0xd0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, edi
je 0x14008f1ad
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
sub ebx, r13d
jns 0x14008f162
mov ebx, 0xffffffff
mov al, byte [0x14010b21f]
cmp al, dil
jg 0x14008f111
jmp 0x14008f200
mov rsi, qword [rsp + 0x60]
cmp rsi, rdi
mov r13d, edi
mov ebx, edi
jle 0x14008f200
mov rax, rdi
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r9d, 8
mov rcx, rax
call fcn.140058498
inc ebx
mov rcx, qword [rax]
movsxd rax, ebx
cmp rax, qword [rsp + 0x60]
mov byte [rcx + 0x10], 1
jl 0x14008f1d5
mov r8, qword [rsp + 0x48]
cmp word [r8], di
je 0x14008f216
mov edx, r13d
mov rcx, r15
call fcn.14005b0c0
mov rcx, qword [rsp + 0x68]
cmp rcx, rdi
je 0x14008f226
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, r15
call fcn.1400860fc
lea rcx, [rsp + 0x90]
call fcn.140050424
lea rcx, [rsp + 0xa0]
call fcn.140050424
lea rcx, [rsp + 0x78]
call fcn.140050424
lea rcx, [rsp + 0x70]
call fcn.140050424
lea rcx, [rsp + 0x50]
call fcn.140050424
lea rcx, [rsp + 0x48]
call fcn.140050424
movsxd rax, r13d
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret