Function at 0x140054400
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x958
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x18e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x978]
mov rax, qword [0x140098020]
xor rax, rbp
mov qword [rbp + 0x928], rax
lea rcx, [0x1400dd014]
call fcn.1400567b0
cmp qword [rbp + 0x950], 0
je 0x140054464
mov rax, qword [rbp + 0x950]
mov rcx, qword [0x14009f1a0]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14009f198], eax
je 0x14005447c
mov eax, 0x10dd
jmp 0x14005487c
cmp dword [0x14009f19c], 0
je 0x140054495
call fcn.1400541a0
mov eax, dword [0x14009f19c]
jmp 0x14005487c
mov dword [rbp + 0x44], 0
mov rax, qword [0x14009f1b0]
mov qword [rbp + 8], rax
jmp 0x1400544b4
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14005457a
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x140054509
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x20]
add rcx, 0x20
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x18]
call fcn.140057c70
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x18]
mov qword [rax], rcx
jmp 0x140054575
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
add rax, 0x50
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x20]
add rcx, 0x58
mov rdx, rax
call fcn.140052a80
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
add rax, 0x58
mov rdx, rax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x18]
call fcn.1400529f0
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov rdx, qword [rax + 0x48]
mov rcx, qword [rbp + 0x68]
call fcn.140052980
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x10]
mov qword [rcx], rax
jmp 0x1400544a9
mov rax, qword [0x14009f1a8]
mov qword [rbp + 0x28], rax
jmp 0x140054592
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400546ea
mov dword [rbp + 0xc0], 0x100001
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400546e5
mov rax, qword [0x14009f1b0]
mov qword [rbp + 8], rax
jmp 0x1400545dc
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400546e5
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x140054665
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
cmp qword [rbp + 0x188], rax
jb 0x140054663
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
add rax, 8
cmp qword [rbp + 0x188], rax
jae 0x140054663
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
mov rcx, qword [rbp + 0x188]
sub rcx, rax
mov rax, rcx
movzx edx, al
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.140051d10
movzx eax, al
mov rcx, qword [rbp + 8]
add rax, qword [rcx + 0x18]
mov qword [rbp + 0x188], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x1400546e0
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
cmp qword [rbp + 0x188], rax
jb 0x1400546e0
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov rcx, qword [rbp + 8]
add rax, qword [rcx + 0x18]
cmp qword [rbp + 0x188], rax
jae 0x1400546e0
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0x188]
sub rcx, rax
mov rax, rcx
movzx eax, al
mov edx, eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.140051c80
cdqe
mov rcx, qword [rbp + 8]
add rax, qword [rcx + 0x20]
mov qword [rbp + 0x188], rax
lea rdx, [rbp + 0x90]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x1400545d1
jmp 0x140054587
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x578], rax
mov rax, qword [0x14009f1b0]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400547cb
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rbp + 0x594]
mov rcx, qword [rbp + 8]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
mov r8d, eax
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rbp + 0x578]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x140054791
mov rax, qword [rbp + 8]
cmp qword [rax + 0x20], 0
je 0x140054791
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.140052870
mov rax, qword [rbp + 8]
mov qword [rax + 0x20], 0
mov dword [rbp + 0x44], 1
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x5b8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x8f8], rax
mov edx, 0x30
mov rcx, qword [rbp + 0x8f8]
call fcn.140055f90
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 8], rax
jmp 0x140054702
mov qword [0x14009f1b0], 0
cmp dword [rbp + 0x44], 0
je 0x1400547ea
cmp dword [0x14009f194], 0
jne 0x1400547ea
call fcn.1400528e0
call fcn.1400534a0
mov rax, qword [0x14009f1a8]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140054846
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x918], rax
mov edx, 0x10
mov rcx, qword [rbp + 0x918]
call fcn.140055f90
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x28], rax
jmp 0x1400547fa
mov qword [0x14009f1a8], 0
mov dword [0x14009f198], 0
cmp qword [rbp + 0x950], 0
je 0x140054876
mov rax, qword [rbp + 0x950]
mov rcx, qword [0x14009f1a0]
mov qword [rax], rcx
mov eax, dword [0x14009f19c]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.d2d1.dll_Ordinal_2
call fcn.14005673c
mov rax, rdi
mov rcx, qword [rbp + 0x928]
xor rcx, rbp
call fcn.140055f70
lea rsp, [rbp + 0x938]
pop rdi
pop rbp
ret