Function at 0x140055100
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 [0x14009b020]
xor rax, rbp
mov qword [rbp + 0x928], rax
lea rcx, [0x1400d2014]
call fcn.1400574b0
cmp qword [rbp + 0x950], 0
je 0x140055164
mov rax, qword [rbp + 0x950]
mov rcx, qword [0x1400a3d40]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1400a3d38], eax
je 0x14005517c
mov eax, 0x10dd
jmp 0x14005557c
cmp dword [0x1400a3d3c], 0
je 0x140055195
call fcn.140054ea0
mov eax, dword [0x1400a3d3c]
jmp 0x14005557c
mov dword [rbp + 0x44], 0
mov rax, qword [0x1400a3d50]
mov qword [rbp + 8], rax
jmp 0x1400551b4
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14005527a
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x140055209
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.140058970
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 0x140055275
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.140053780
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.1400536f0
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.140053680
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 0x1400551a9
mov rax, qword [0x1400a3d48]
mov qword [rbp + 0x28], rax
jmp 0x140055292
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400553ea
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 0x1400553e5
mov rax, qword [0x1400a3d50]
mov qword [rbp + 8], rax
jmp 0x1400552dc
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400553e5
mov rax, qword [rbp + 8]
cmp dword [rax + 8], 0
je 0x140055365
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
cmp qword [rbp + 0x188], rax
jb 0x140055363
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x20]
add rax, 8
cmp qword [rbp + 0x188], rax
jae 0x140055363
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.140052a10
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 0x1400553e0
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
cmp qword [rbp + 0x188], rax
jb 0x1400553e0
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 0x1400553e0
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.140052980
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 0x1400552d1
jmp 0x140055287
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x578], rax
mov rax, qword [0x1400a3d50]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400554cb
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 0x140055491
mov rax, qword [rbp + 8]
cmp qword [rax + 0x20], 0
je 0x140055491
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x20]
call fcn.140053570
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.140056c90
mov rax, qword [rbp + 0x5b8]
mov qword [rbp + 8], rax
jmp 0x140055402
mov qword [0x1400a3d50], 0
cmp dword [rbp + 0x44], 0
je 0x1400554ea
cmp dword [0x1400a3d34], 0
jne 0x1400554ea
call fcn.1400535e0
call fcn.1400541a0
mov rax, qword [0x1400a3d48]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140055546
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.140056c90
mov rax, qword [rbp + 0x5d8]
mov qword [rbp + 0x28], rax
jmp 0x1400554fa
mov qword [0x1400a3d48], 0
mov dword [0x1400a3d38], 0
cmp qword [rbp + 0x950], 0
je 0x140055576
mov rax, qword [rbp + 0x950]
mov rcx, qword [0x1400a3d40]
mov qword [rax], rcx
mov eax, dword [0x1400a3d3c]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.d2d1.dll_Ordinal_2
call fcn.14005743c
mov rax, rdi
mov rcx, qword [rbp + 0x928]
xor rcx, rbp
call fcn.140056c70
lea rsp, [rbp + 0x938]
pop rdi
pop rbp
ret