Function at 0x180017970
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1800ca088]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea r12d, [r9 - 6]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
mov r13d, r9d
mov qword [rsp + 0x38], rcx
mov rbp, r8
lea r10, [0x180000000]
mov r14, rdx
mov edi, r9d
cmp r9d, r12d
jbe 0x180017a02
lea ebx, [r9 - 0xbd]
cmp ebx, 0xc
ja case.0x1800179d5.1
mov ecx, dword [r10 + rbx*4 + 0x17e8c]
add rcx, r10
jmp rcx
cmp byte [rbp + 4], 1
mov r8, rbp
jne 0x180017a52
mov rdx, r14
mov ecx, 0xc1
call fcn.180016a80
mov qword [rsp + 0x28], rax
lea r10, [0x180000000]
dec edi
dec ebx
cmp edi, r12d
ja 0x1800179c5
lea edi, [r13 + 0xe4]
cmp r13d, edi
jae 0x180017b95
mov edx, 0x6c
lea ebx, [r13 - 0xbd]
lea esi, [rdx + 8]
lea r8d, [rdx + 6]
lea r9d, [rdx - 7]
nop dword [rax]
cmp ebx, 0x98
ja case.0x180017a50.6
movzx eax, byte [r10 + rbx + 0x17edc]
mov ecx, dword [r10 + rax*4 + 0x17ec0]
add rcx, r10
jmp rcx
xor edx, edx
mov r9, r14
lea ecx, [rdx + 0x70]
call fcn.180071000
jmp 0x1800179ed
mov r8d, 4
mov byte [rsp + 0x58], 0
lea rdx, [0x1800b0ea9]
lea rcx, [rsp + 0x58]
call fcn.180089030
jmp 0x1800179f2
mov byte [rbp + 0x19], 0
mov byte [rsp + 0x28], 1
jmp case.0x1800179d5.1
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1800179f2
mov eax, 0x6e
cmp eax, 0x6e
je 0x180017af3
add eax, 0x370
cmp eax, 0x370
jbe 0x180017aa8
jmp 0x1800179f2
cmp byte [rbp + 0x19], 0
jne case.0x1800179d5.1
mov ecx, 0x60
nop dword [rax]
mov eax, ecx
sub eax, 0x60
je 0x180017ae2
cmp eax, 1
je case.0x180017a50.1
jmp 0x180017ae7
mov byte [rsp + 0x28], 1
inc ecx
cmp ecx, 0x62
jb 0x180017ad0
jmp case.0x1800179d5.1
mov byte [rsp + 0x28], 0
jmp case.0x180017a50.1
mov dword [rsp + 0x52], 0x6c7573
jmp case.0x180017a50.6
mov word [rsp + 0x55], si
mov byte [rsp + 0x30], 0
jmp case.0x180017a50.6
mov r8d, 1
lea rdx, [0x1800b0f02]
lea rcx, [rsp + 0x58]
call fcn.180089030
mov r8d, 4
lea rdx, [0x1800b0f3c]
lea rcx, [rsp + 0x60]
call fcn.180088b50
mov edx, 0x6c
lea r8d, [rdx + 6]
lea r9d, [rdx - 7]
jmp case.0x180017a50.6
lea rdx, [0x1800b0f40]
lea rcx, [rsp + 0x63]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, 0x6c
lea r8d, [rdx + 6]
lea r9d, [rdx - 7]
jmp case.0x180017a50.6
mov word [rsp + 0x50], r8w
mov word [rsp + 0x51], r9w
add ebx, 0x26
lea r10, [0x180000000]
lea eax, [rbx + 0xbd]
cmp eax, edi
jb 0x180017a30
movzx r15d, byte [rsp + 0x20]
lea esi, [r13 + 6]
mov edi, r13d
cmp r13d, esi
jae 0x180017d16
mov rbp, qword [rsp + 0x38]
lea ebx, [r13 - 0xbd]
mov r14, qword [rsp + 0x38]
nop dword [rax]
cmp ebx, 5
ja case.default.0x180017bda
lea rdx, [0x180000000]
mov ecx, dword [rdx + rbx*4 + 0x17f78]
add rcx, rdx
jmp rcx
test rbp, rbp
jne 0x180017c04
mov eax, 0x82
nop word [rax + rax]
cmp eax, 0x82
je 0x180017e5c
inc eax
cmp eax, 0x83
jb 0x180017bf0
mov rax, qword [rbp + 0x28]
cmp qword [rax + 8], 0
je case.default.0x180017bda
mov ecx, 0x5e
mov eax, ecx
sub eax, 0x5e
je 0x180017c2a
cmp eax, 1
je case.0x180017a50.1
jmp 0x180017c2f
mov byte [rsp + 0x28], r15b
inc ecx
cmp ecx, 0x60
jb 0x180017c18
jmp case.default.0x180017bda
mov r9, qword [rsp + 0x40]
lea r8, [rsp + 0x60]
xor edx, edx
lea ecx, [rdx + 0x3c]
call fcn.180045330
mov r14, rax
test rax, rax
jne case.default.0x180017bda
mov ecx, reloc.SHLWAPI.dll_IUnknown_AtomicRelease
cmp ecx, 0xa9
je 0x180017e5c
add ecx, 0x2b92
cmp ecx, 0x2b92
jbe 0x180017c60
jmp case.default.0x180017bda
mov r9, qword [rsp + 0x40]
lea r8, [rsp + 0x58]
xor edx, edx
lea ecx, [rdx + 0x3c]
call fcn.180045330
mov rbp, rax
jmp case.default.0x180017bda
movzx eax, word [0x1800b0f44]
xor r15b, r15b
mov word [rsp + 0x31], ax
movzx eax, byte [0x1800b0f46]
mov byte [rsp + 0x33], al
jmp case.default.0x180017bda
mov r8d, 1
lea rdx, [0x1800b0f48]
lea rcx, [rsp + 0x30]
call fcn.180089030
jmp case.default.0x180017bda
mov rax, qword [r14 + 0x28]
mov rcx, qword [rax + 8]
cmp byte [rcx], 0x4f
jne 0x180017ce6
cmp byte [rcx + 1], 0x4b
jne 0x180017ce6
cmp byte [rcx + 2], 0
je case.default.0x180017bda
mov eax, 0x28
nop dword [rax + rax]
cmp eax, 0x28
je 0x180017e5c
inc eax
cmp eax, 0x29
jb 0x180017cf0
inc edi
inc ebx
cmp edi, esi
jb 0x180017bc0
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
cmp r13d, r12d
jbe case.0x180017a50.1
mov rdi, qword [rsp + 0x38]
lea ebx, [r13 - 0xb8]
mov rsi, qword [rsp + 0x38]
cmp ebx, 5
ja case.default.0x180017d4a
lea rdx, [0x180000000]
mov ecx, dword [rdx + rbx*4 + 0x17f90]
add rcx, rdx
jmp rcx
xor edx, edx
lea r8, [rsp + 0x50]
mov r9, rbp
lea ecx, [rdx + 0x3c]
call fcn.180045330
mov rdi, rax
jmp case.default.0x180017d4a
mov r9, qword [rdi + 0x28]
lea r8, [0x1800b0f4c]
xor edx, edx
lea ecx, [rdx + 0x3c]
call fcn.180045330
mov rsi, rax
test rax, rax
jne case.default.0x180017d4a
mov ecx, 0x1c
nop dword [rax]
cmp ecx, 0x1c
je 0x180017da3
cmp ecx, 0x7c4
je case.0x180017a50.1
jmp 0x180017da8
mov byte [rsp + 0x28], r15b
add ecx, 0x7a8
cmp ecx, 0xf50
jbe 0x180017d90
jmp case.default.0x180017d4a
mov r9, qword [rdi + 0x28]
lea r8, [rsp + 0x30]
xor edx, edx
lea ecx, [rdx + 0x3c]
call fcn.180045330
test rax, rax
je case.default.0x180017d4a
mov r8, qword [rax + 0x28]
mov edx, 0x5b
mov rcx, r14
call fcn.180006910
movzx r15d, al
jmp case.default.0x180017d4a
test rdi, rdi
jne case.default.0x180017d4a
mov eax, 0x5f
cmp eax, 0x5f
je 0x180017e02
cmp eax, 0x1f8b
je case.0x180017a50.1
jmp 0x180017e07
mov byte [rsp + 0x28], r15b
add eax, 0x1f2c
cmp eax, 0x3e58
jbe 0x180017df4
jmp case.default.0x180017d4a
mov rax, qword [rsi + 0x28]
mov r8, 0xffffffffffffffff
mov rdx, qword [rax + 8]
inc r8
cmp byte [rdx + r8], 0
jne 0x180017e24
mov rcx, qword [rsp + 0x38]
call fcn.180073f70
jmp case.default.0x180017d4a
mov eax, 0x4f
nop
cmp eax, 0x4f
je 0x180017e5c
dec eax
cmp eax, 0x4e
ja 0x180017e40
dec r13d
dec ebx
cmp r13d, r12d
ja 0x180017d30
jmp case.0x180017a50.1
mov byte [rsp + 0x28], r15b
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800803f0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret