Function at 0x1400997a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x98
xor eax, eax
mov qword [rsp + 0x48], rax
xorps xmm4, xmm4
movaps xmmword [rsp + 0x50], xmm4
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x80], xmm4
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe8], rdx
mov rsi, r8
mov rdi, qword [rcx]
mov ebx, dword [rcx + 8]
lea rcx, [0x140311388]
call fcn.140004310
mov rbp, rax
mov rcx, rbp
mov edx, 0x3c
xor r8d, r8d
call fcn.14019d220
xor r14d, r14d
cmp r14d, ebx
ja 0x140099bf0
mov r15d, r14d
add r15, rdi
mov eax, ebx
sub eax, r14d
cmp eax, 0x100
jb 0x140099bf6
mov rax, qword [r15 + 0x50]
movsxd rdx, eax
cmp rax, rdx
jne 0x140099beb
mov r12d, eax
mov r13d, r12d
cmp byte [rsp + 0xe8], 0
je 0x14009985c
cmp dword [rsp + 0xec], r13d
jne 0x140099b8a
xor eax, eax
mov rdx, qword [r15 + 0x40]
test rdx, rdx
jne 0x1400998e9
cmp r13d, 4
je 0x1400998bb
test r13d, r13d
je 0x1400998b2
call fcn.140001b47
mov rcx, qword [rax + 0x18]
test r13d, r13d
jge 0x1400998a8
test rcx, rcx
je 0x140099890
call fcn.1400f23e0
jmp 0x140099895
call fcn.1400f2260
mov r8, qword [rax + 0x28]
mov ecx, r13d
mov edx, 0xffffffff
call fcn.1400c55f0
jmp 0x1400998b0
mov ecx, r13d
call fcn.1400c5a00
jmp 0x1400998c2
lea rax, [0x1403c48f8]
jmp 0x1400998c2
lea rax, [0x1403ca938]
test rax, rax
jne 0x1400998cd
xor edx, edx
xor ecx, ecx
jmp 0x1400998de
lea rdx, [rax + 0xc]
mov qword [rsp + 0x40], rax
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], ecx
jmp 0x140099918
movzx ecx, word [r15 + 0x38]
shr ecx, 1
mov qword [rsp + 0x40], rax
js 0x140099bf0
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x60], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140099c10
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x88], rcx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x90], ecx
test rsi, rsi
je 0x14009998c
cmp dword [rsi + 8], 0
je 0x14009998c
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x90]
lea r8, [rsi + 0xc]
mov r9d, dword [rsi + 8]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x50], r9d
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov r8d, 5
call fcn.1400c3350
test eax, eax
mov rax, qword [rsp + 0x40]
je 0x140099b8a
test rax, rax
mov qword [rsp + 0x40], rax
jne 0x1400999a8
lea rcx, [rsp + 0x88]
call fcn.140199320
mov qword [rsp + 0x40], rax
lea rcx, [0x1402e5f30]
call fcn.140004310
mov qword [rsp + 0x38], rax
mov r8d, dword [r15 + 4]
mov dword [rsp + 0x6c], r8d
lea rcx, [rax + 0x10]
lea rdx, [0x1403b7008]
call fcn.140004620
lea rcx, [0x140305738]
call fcn.140004310
mov qword [rsp + 0x28], rax
mov rcx, rax
mov edx, dword [rsp + 0x6c]
call fcn.1401ba0f0
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x28]
call fcn.140004620
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.140004620
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x64], r13d
mov ecx, dword [r15 + 0x64]
mov dword [rax + 0x68], ecx
mov rcx, qword [r15 + 0xa0]
mov qword [rax + 0x18], rcx
mov rcx, qword [r15 + 0xb0]
mov qword [rax + 0x20], rcx
mov rcx, qword [r15 + 0x78]
mov qword [rax + 0x28], rcx
mov rcx, qword [r15 + 0x70]
mov qword [rax + 0x30], rcx
mov rcx, qword [r15 + 0x88]
mov qword [rax + 0x38], rcx
mov rcx, qword [r15 + 0x90]
mov qword [rax + 0x40], rcx
mov rcx, qword [r15 + 0xc0]
mov qword [rax + 0x48], rcx
mov rcx, qword [r15 + 0xb8]
mov qword [rax + 0x50], rcx
mov rcx, qword [r15 + 0xc8]
mov qword [rax + 0x58], rcx
mov ecx, dword [r15 + 0x48]
mov dword [rax + 0x60], ecx
mov ecx, dword [r15 + 0x60]
mov dword [rax + 0x6c], ecx
mov r13, rax
mov edx, r12d
mov rcx, rbp
mov r8, r13
mov r9d, 1
call fcn.14019d740
lea r12d, [r14 + 0x100]
xor eax, eax
mov dword [rsp + 0x84], eax
cmp dword [r15 + 4], 0
je 0x140099b8a
cmp r12d, ebx
ja 0x140099bf0
mov edx, r12d
add rdx, rdi
mov ecx, ebx
sub ecx, r12d
mov qword [rsp + 0x20], rdx
cmp ecx, 0x50
jb 0x140099bf6
lea rcx, [0x1402e60f8]
call fcn.140004310
mov rdx, rax
mov qword [rsp + 0x30], rdx
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x18], eax
mov rax, qword [rcx + 0x30]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x3c]
mov dword [rdx + 0x1c], eax
mov eax, dword [rcx + 0x38]
mov dword [rdx + 0x20], eax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x10], rax
mov eax, dword [rcx + 0x44]
mov dword [rdx + 0x24], eax
mov ecx, dword [rcx + 0x48]
call fcn.1400989f0
mov rdx, qword [rsp + 0x30]
mov dword [rdx + 0x28], eax
mov rcx, qword [r13 + 8]
inc dword [rcx + 0x14]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
cmp dword [rax + 8], r8d
jbe 0x140099b61
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
lea rcx, [rax + rcx*8 + 0x10]
call fcn.140004620
jmp 0x140099b66
call fcn.1401ba3f0
add r12d, 0x50
mov eax, dword [rsp + 0x84]
inc eax
movsxd rcx, eax
mov edx, dword [r15 + 4]
cmp rcx, rdx
mov dword [rsp + 0x84], eax
jl 0x140099ac2
cmp dword [r15], 0
je 0x140099b98
add r14d, dword [r15]
jmp 0x14009980f
mov rcx, rbp
call fcn.14019d2c0
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x38]
sub ecx, dword [rdx + 0x40]
movsxd rdx, ecx
lea rcx, [0x140338940]
call fcn.140004430
mov rsi, rax
mov rcx, rbp
call fcn.14019d2c0
mov rcx, rax
mov rdx, rsi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.14019e610
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14014dcf0
call fcn.1400d1a60
int3
mov ecx, 0x29
call fcn.1400d1fa0
int3