Function at 0x1802dffd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x568
mov rax, qword [0x1805a54a8]
xor rax, rsp
mov qword [rsp + 0x550], rax
cmp qword [rsp + 0x570], 0
je 0x1802e000b
mov rax, qword [rsp + 0x570]
mov rcx, qword [0x1805d0b00]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1805d0af8], eax
je 0x1802e0023
mov eax, 0x10dd
jmp 0x1802e04a0
cmp dword [0x1805d0afc], 0
je 0x1802e003c
call fcn.1802dfdc0
mov eax, dword [0x1805d0afc]
jmp 0x1802e04a0
mov dword [rsp + 0x20], 0
mov rax, qword [0x1805d0b10]
mov qword [rsp + 0x38], rax
jmp 0x1802e005f
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1802e0136
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x1802e00bb
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.180362ec0
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 0x1802e0131
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.1802e0520
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.1802e04c0
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.1802e05a0
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 0x1802e0052
mov rax, qword [0x1805d0b08]
mov qword [rsp + 0x30], rax
jmp 0x1802e0151
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1802e02fb
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 0x1802e02f6
mov rax, qword [0x1805d0b10]
mov qword [rsp + 0x520], rax
jmp 0x1802e01a8
mov rax, qword [rsp + 0x520]
mov rax, qword [rax]
mov qword [rsp + 0x520], rax
cmp qword [rsp + 0x520], 0
je 0x1802e02f6
mov rax, qword [rsp + 0x520]
cmp dword [rax + 8], 0
je 0x1802e0257
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x20]
cmp qword [rsp + 0x148], rax
jb 0x1802e0252
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x20]
add rax, 8
cmp qword [rsp + 0x148], rax
jae 0x1802e0252
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.1802e0730
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 0x1802e02f1
mov rax, qword [rsp + 0x520]
mov rax, qword [rax + 0x18]
cmp qword [rsp + 0x148], rax
jb 0x1802e02f1
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 0x1802e02f1
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.1802e07a0
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 0x1802e0195
jmp 0x1802e0144
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1805d0b10]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1802e03e7
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 0x1802e03ab
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x20], 0
je 0x1802e03ab
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x20]
call fcn.1802dff70
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.1802f9cb0
mov rax, qword [rsp + 0x528]
mov qword [rsp + 0x38], rax
jmp 0x1802e0312
mov qword [0x1805d0b10], 0
cmp dword [rsp + 0x20], 0
je 0x1802e0407
cmp dword [0x1805d0af4], 0
jne 0x1802e0407
call fcn.1802e05e0
call fcn.1802dff00
mov rax, qword [0x1805d0b08]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1802e0468
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.1802f9cb0
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x30], rax
jmp 0x1802e0418
mov qword [0x1805d0b08], 0
mov dword [0x1805d0af8], 0
cmp qword [rsp + 0x570], 0
je 0x1802e049a
mov rax, qword [rsp + 0x570]
mov rcx, qword [0x1805d0b00]
mov qword [rax], rcx
mov eax, dword [0x1805d0afc]
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.1802edac0
add rsp, 0x568
ret