Function at 0x14002bc40
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x7f8]
cmp r12, qword [r14 + 0x10]
jbe 0x14002bf58
sub rsp, 0x878
mov qword [rsp + 0x870], rbp
lea rbp, [rsp + 0x870]
lea rdi, [rsp + 0x70]
mov ecx, 0x100
mov rdx, rax
xor eax, eax
rep stosq qword [rdi], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x50], 0
mov rbx, qword [r14 + 0x30]
cmp qword [0x1402e21e0], 0xffffffffffffffff
je 0x14002be19
test rdx, rdx
jge 0x14002bcbd
mov rcx, rdx
mov edx, 0xffffffff
jmp 0x14002bd06
jne 0x14002bcc6
mov rcx, rdx
xor edx, edx
jmp 0x14002bd06
cmp rdx, 0xf4240
jge 0x14002bcd9
mov rcx, rdx
mov edx, 1
jmp 0x14002bd06
movabs rcx, 0x38d7ea4c68000
cmp rdx, rcx
jge 0x14002bcfe
movabs rax, 0x431bde82d7b634db
mov rcx, rdx
imul rdx
sar rdx, 0x12
jmp 0x14002bd06
mov rcx, rdx
mov edx, 0x3b9aca00
movsxd rsi, dword [0x1405207dc]
test rsi, rsi
je 0x14002bf52
mov eax, 0x40
mov edi, edx
nop dword [rax]
cmp rsi, 0xffffffffffffffff
je 0x14002bd2d
cqo
idiv rsi
jmp 0x14002bd32
neg rax
xor edx, edx
mov dword [rsp + 0x44], eax
cmp eax, 8
jae 0x14002bd48
mov dword [rsp + 0x44], 8
test rcx, rcx
jmp 0x14002bd4b
test rcx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rbx
je 0x14002bd5e
mov byte [rbx + 0xe5], 1
mov rax, qword [0x1402e21e0]
mov rcx, qword [0x1402f9c48]
lea rdx, [rsp + 0x70]
mov ebx, dword [rsp + 0x44]
lea rsi, [rsp + 0x44]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov eax, edi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
call fcn.14002ecc0
xorps xmm15, xmm15
mov r14, qword [0x140520a48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x38], 0
nop
je 0x14002bdd7
mov rdx, qword [rsp + 0x68]
mov byte [rdx + 0xe5], 0
mov rdx, qword [rsp + 0x58]
xor eax, eax
jmp 0x14002be40
mov rax, qword [rsp + 0x68]
mov byte [rax + 0xe5], 0
call fcn.14005aa80
xorps xmm15, xmm15
mov r14, qword [0x140520a48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
nop dword [rax]
cmp eax, 0x102
jne 0x14002be2b
xor eax, eax
mov rbp, qword [rsp + 0x870]
add rsp, 0x878
ret
xor eax, eax
mov rbp, qword [rsp + 0x870]
add rsp, 0x878
ret
lea rax, [0x14036e54c]
mov ebx, 0x17
call fcn.140031520
lea eax, [rbx + 1]
nop
cmp dword [rsp + 0x44], eax
jbe 0x14002bf33
cmp rax, 0x40
jae 0x14002bf48
mov dword [rsp + 0x48], eax
mov ebx, eax
shl rax, 5
mov rsi, qword [rsp + rax + 0x78]
test rsi, rsi
jne 0x14002be89
nop
xor esi, esi
lea rdi, [0x1405207f0]
xchg dword [rdi], esi
test rdx, rdx
jne 0x14002be3c
call fcn.14002bb80
mov rdx, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x48]
jmp 0x14002be3c
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x40], 0
mov rax, qword [rsi + 0x20]
mov rcx, qword [0x1404cb730]
mov rax, qword [rax + 8]
lea rbx, [rsp + 0x40]
lea rdi, [rsp + 0x4c]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rdi
call fcn.14002ec40
xorps xmm15, xmm15
mov r14, qword [0x140520a48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x30], 0
je 0x14002bef3
xor eax, eax
jmp 0x14002bf0d
call fcn.14005aa80
xorps xmm15, xmm15
mov r14, qword [0x140520a48]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov edi, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov ecx, eax
lea rax, [rsp + 0x50]
nop dword [rax]
call fcn.14002bf80
mov rdx, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x48]
jmp 0x14002be3c
mov rax, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x870]
add rsp, 0x878
ret
mov ecx, 0x40
call fcn.140059520
call fcn.14002fec0
nop
mov qword [rsp + 8], rax
nop dword [rax]
call fcn.140056ea0
mov rax, qword [rsp + 8]
jmp fcn.14002bc40