Function at 0x1800a5a60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x558
cmp qword [rsp + 0x560], 0
je 0x1800a5a89
mov rcx, qword [rsp + 0x560]
mov rax, qword [0x1801082f0]
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1801082e8], eax
je 0x1800a5aa1
mov eax, 0x10dd
jmp 0x1800a5ecc
cmp dword [0x1801082ec], 0
je 0x1800a5aba
call fcn.1800a5850
mov eax, dword [0x1801082ec]
jmp 0x1800a5ecc
mov dword [rsp + 0x20], 0
mov rax, qword [0x180108300]
mov qword [rsp + 0x38], rax
jmp 0x1800a5add
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1800a5ba9
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x1800a5b34
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
movzx r8d, byte [rax + 0x3e]
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rdx + 0x20]
add rdx, 0x20
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x18]
call fcn.18009ab10
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rcx], rax
jmp 0x1800a5ba4
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rdx + 0x20]
add rdx, 0x50
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
add rcx, 0x58
call fcn.1800a5f40
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rdx + 0x20]
add rdx, 0x58
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x18]
call fcn.1800a5ee0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1800a5fc0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
mov qword [rcx], rax
jmp 0x1800a5ad0
mov rax, qword [0x1801082f8]
mov qword [rsp + 0x30], rax
jmp 0x1800a5bc4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800a5d2b
mov dword [rsp + 0x80], 0x100001
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1800a5d26
mov rax, qword [0x180108300]
mov qword [rsp + 0x38], rax
jmp 0x1800a5c12
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1800a5d26
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x1800a5ca2
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
cmp qword [rsp + 0x148], rax
jb 0x1800a5ca0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
add rax, 8
cmp qword [rsp + 0x148], rax
jae 0x1800a5ca0
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rsp + 0x148]
sub rax, rcx
movzx edx, al
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
call fcn.1800a6150
movzx eax, al
mov rcx, qword [rsp + 0x38]
add rax, qword [rcx + 0x18]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x1800a5d21
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
cmp qword [rsp + 0x148], rax
jb 0x1800a5d21
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov rcx, qword [rsp + 0x38]
add rax, qword [rcx + 0x18]
cmp qword [rsp + 0x148], rax
jae 0x1800a5d21
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x148]
sub rax, rcx
movzx edx, al
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
call fcn.1800a61c0
cdqe
mov rcx, qword [rsp + 0x38]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x1800a5c05
jmp 0x1800a5bb7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x28], rax
mov rax, qword [0x180108300]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1800a5e13
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
movzx edx, byte [rax + 0x3e]
lea r9, [rsp + 0x528]
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
movzx r8d, byte [rax + 0x3e]
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x1800a5dd7
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x20], 0
je 0x1800a5dd7
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
call fcn.1800a5a00
mov r11, qword [rsp + 0x38]
mov qword [r11 + 0x20], 0
mov dword [rsp + 0x20], 1
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x520], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x538], rax
mov rcx, qword [rsp + 0x538]
call fcn.18009a864
mov rax, qword [rsp + 0x520]
mov qword [rsp + 0x38], rax
jmp 0x1800a5d42
mov qword [0x180108300], 0
cmp dword [rsp + 0x20], 0
je 0x1800a5e33
cmp dword [0x1801082e4], 0
jne 0x1800a5e33
call fcn.1800a6000
call fcn.1800a5990
mov rax, qword [0x1801082f8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800a5e94
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x530], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x540], rax
mov rcx, qword [rsp + 0x540]
call fcn.18009a864
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x30], rax
jmp 0x1800a5e44
mov qword [0x1801082f8], 0
mov dword [0x1801082e8], 0
cmp qword [rsp + 0x560], 0
je 0x1800a5ec6
mov rcx, qword [rsp + 0x560]
mov rax, qword [0x1801082f0]
mov qword [rcx], rax
mov eax, dword [0x1801082ec]
add rsp, 0x558
ret