Function at 0x18012a4b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x568
mov rax, qword [0x180357448]
xor rax, rsp
mov qword [rsp + 0x550], rax
cmp qword [rsp + 0x570], 0
je 0x18012a4eb
mov rax, qword [rsp + 0x570]
mov rcx, qword [0x180380ad0]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180380ac8], eax
je 0x18012a503
mov eax, 0x10dd
jmp 0x18012a980
cmp dword [0x180380acc], 0
je 0x18012a51c
call fcn.18012a2a0
mov eax, dword [0x180380acc]
jmp 0x18012a980
mov dword [rsp + 0x20], 0
mov rax, qword [0x180380ae0]
mov qword [rsp + 0x38], rax
jmp 0x18012a53f
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18012a616
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x18012a59b
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
add rcx, 0x20
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x18]
call fcn.1801ad3b0
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x18]
mov qword [rax], rcx
jmp 0x18012a611
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
add rax, 0x50
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
add rcx, 0x58
mov rdx, rax
call fcn.18012aa00
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
add rax, 0x58
mov rdx, rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x18]
call fcn.18012a9a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
mov rdx, qword [rax + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.18012aa80
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x20]
mov qword [rax], rcx
jmp 0x18012a532
mov rax, qword [0x180380ad8]
mov qword [rsp + 0x30], rax
jmp 0x18012a631
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18012a7db
mov dword [rsp + 0x80], 0x100001
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x18012a7d6
mov rax, qword [0x180380ae0]
mov qword [rsp + 0x520], rax
jmp 0x18012a688
mov rax, qword [rsp + 0x520]
mov rax, qword [rax]
mov qword [rsp + 0x520], rax
cmp qword [rsp + 0x520], 0
je 0x18012a7d6
mov rax, qword [rsp + 0x520]
cmp dword [rax + 8], 0
je 0x18012a737
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x20]
cmp qword [rsp + 0x148], rax
jb 0x18012a732
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x20]
add rax, 8
cmp qword [rsp + 0x148], rax
jae 0x18012a732
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x148]
sub rcx, rax
mov rax, rcx
movzx edx, al
mov rax, qword [rsp + 0x520]
mov rcx, qword [rax + 0x20]
call fcn.18012ac10
movzx eax, al
mov rcx, qword [rsp + 0x520]
add rax, qword [rcx + 0x18]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x18012a7d1
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x18]
cmp qword [rsp + 0x148], rax
jb 0x18012a7d1
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov rcx, qword [rsp + 0x520]
add rax, qword [rcx + 0x18]
cmp qword [rsp + 0x148], rax
jae 0x18012a7d1
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x148]
sub rcx, rax
mov rax, rcx
movzx eax, al
mov edx, eax
mov rax, qword [rsp + 0x520]
mov rcx, qword [rax + 0x20]
call fcn.18012ac80
cdqe
mov rcx, qword [rsp + 0x520]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x18012a675
jmp 0x18012a624
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x28], rax
mov rax, qword [0x180380ae0]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18012a8c7
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x530]
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov r8d, eax
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x18012a88b
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x20], 0
je 0x18012a88b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x20]
call fcn.18012a450
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x20], 0
mov dword [rsp + 0x20], 1
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x528], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x540], rax
mov rcx, qword [rsp + 0x540]
call fcn.180130fac
mov rax, qword [rsp + 0x528]
mov qword [rsp + 0x38], rax
jmp 0x18012a7f2
mov qword [0x180380ae0], 0
cmp dword [rsp + 0x20], 0
je 0x18012a8e7
cmp dword [0x180380ac4], 0
jne 0x18012a8e7
call fcn.18012aac0
call fcn.18012a3e0
mov rax, qword [0x180380ad8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18012a948
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x538], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x548], rax
mov rcx, qword [rsp + 0x548]
call fcn.180130fac
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x30], rax
jmp 0x18012a8f8
mov qword [0x180380ad8], 0
mov dword [0x180380ac8], 0
cmp qword [rsp + 0x570], 0
je 0x18012a97a
mov rax, qword [rsp + 0x570]
mov rcx, qword [0x180380ad0]
mov qword [rax], rcx
mov eax, dword [0x180380acc]
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.180137fb0
add rsp, 0x568
ret