Function at 0x46eadc
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x9d0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rdi, r9
mov rsi, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
lea r12d, [r13 + 0x3f]
mov dword [rax - 0x428], r12d
mov ebp, 0x3fc
mov r8, rbp
xor edx, edx
lea rcx, [rax - 0x424]
call fcn.006aba40
mov dword [rsp + 0x1d0], r12d
mov r8, rbp
xor edx, edx
lea rcx, [rsp + 0x1d4]
call fcn.006aba40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r12, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov word [rsp + 0x60], r13w
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rsi, rax
je 0x46ec03
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x46ec03
lea r8, [0x00798eb6]
lea rdx, str.No_call_stack_r_n
lea rcx, [rsp + 0x60]
call fcn.00406d38
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.00402190
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
je 0x46ebfb
cmp rcx, r13
je 0x46ebfb
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x100
jbe 0x46ebf6
call fcn.006a4944
jmp 0x46ebfb
call fcn.006a3610
mov rax, rbx
jmp 0x46eec9
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0xc0]
call fcn.006aba40
mov qword [rsp + 0xc0], rdi
mov rax, qword [rsp + 0xa20]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xa28]
mov qword [rsp + 0xe0], rax
mov eax, 3
mov dword [rsp + 0xcc], eax
mov dword [rsp + 0xfc], eax
mov dword [rsp + 0xec], eax
xor eax, eax
or r14, 0xffffffffffffffff
mov rcx, r14
lea rdx, [0x0078dc30]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rdx + rcx*2 - 2]
lea rcx, [rsp + 0x60]
call fcn.00406d38
lea r8, [rsp + 0x5d0]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xc0]
call fcn.0046e600
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0xc0]
call fcn.0046e96c
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x1d0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rsp + rcx*2 + 0x1ce]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
lea r8, [0x00795ea4]
lea rdx, [0x00795ea0]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x5d0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rsp + rcx*2 + 0x5ce]
lea rdx, [rsp + 0x5d0]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
lea r8, [0x00794f70]
lea rdx, [0x00794f6c]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
mov ebp, r13d
mov qword [rsp + 0x40], r13
mov rax, qword [sym.imp.dbghelp.dll_SymGetModuleBase64]
mov qword [rsp + 0x38], rax
mov rax, qword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0xc0]
mov r8, rsi
mov rdx, r12
mov ecx, 0x14c
call qword [sym.imp.dbghelp.dll_StackWalk64]
cmp ebp, r13d
je 0x46ee58
cmp eax, r13d
je 0x46ee63
mov rdx, qword [rsp + 0xe0]
cmp rdx, r13
je 0x46ee63
lea r8, [rsp + 0x5d0]
mov rcx, qword [rsp + 0xc0]
call fcn.0046e600
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0xc0]
call fcn.0046e96c
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x1d0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rsp + rcx*2 + 0x1ce]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
lea r8, [0x00795ea4]
lea rdx, [0x00795ea0]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x5d0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rsp + rcx*2 + 0x5ce]
lea rdx, [rsp + 0x5d0]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
lea r8, [0x00794f70]
lea rdx, [0x00794f6c]
lea rcx, [rsp + 0x60]
call fcn.00406b9c
inc ebp
cmp ebp, 0x64
jb 0x46ed41
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rsi, rax
je 0x46ee77
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.00402190
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
je 0x46eec6
cmp rcx, r13
je 0x46eec6
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x100
jbe 0x46eec1
call fcn.006a4944
jmp 0x46eec6
call fcn.006a3610
mov rax, rbx
lea r11, [rsp + 0x9d0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret