Function at 0x140087840
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, [0x1401f5fa8]
call fcn.1400032a0
mov rbp, rax
mov rcx, rbp
mov edx, 0x3c
xor r8d, r8d
call fcn.140114300
xor r14d, r14d
cmp r14d, ebx
ja 0x140087c90
mov r15d, r14d
add r15, rdi
mov eax, ebx
sub eax, r14d
cmp eax, 0x100
jb 0x140087c96
mov rax, qword [r15 + 0x50]
movsxd rdx, eax
cmp rax, rdx
jne 0x140087c8b
mov r12d, eax
mov r13d, r12d
cmp byte [rsp + 0xe8], 0
je 0x1400878fc
cmp dword [rsp + 0xec], r13d
jne 0x140087c2a
xor eax, eax
mov rdx, qword [r15 + 0x40]
test rdx, rdx
jne 0x140087989
cmp r13d, 4
je 0x14008795b
test r13d, r13d
je 0x140087952
call fcn.1400016d2
mov rcx, qword [rax + 0x18]
test r13d, r13d
jge 0x140087948
test rcx, rcx
je 0x140087930
call fcn.1400ca970
jmp 0x140087935
call fcn.1400ca7f0
mov r8, qword [rax + 0x28]
mov ecx, r13d
mov edx, 0xffffffff
call fcn.1400ad1f0
jmp 0x140087950
mov ecx, r13d
call fcn.1400ad600
jmp 0x140087962
lea rax, [0x14025f510]
jmp 0x140087962
lea rax, [0x1402638f8]
test rax, rax
jne 0x14008796d
xor edx, edx
xor ecx, ecx
jmp 0x14008797e
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 0x1400879b8
movzx ecx, word [r15 + 0x38]
shr ecx, 1
mov qword [rsp + 0x40], rax
js 0x140087c90
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x60], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140087cb0
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 0x140087a2c
cmp dword [rsi + 8], 0
je 0x140087a2c
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.1400ab480
test eax, eax
mov rax, qword [rsp + 0x40]
je 0x140087c2a
test rax, rax
mov qword [rsp + 0x40], rax
jne 0x140087a48
lea rcx, [rsp + 0x88]
call fcn.1401104f0
mov qword [rsp + 0x40], rax
lea rcx, [0x1401dd498]
call fcn.1400032a0
mov qword [rsp + 0x38], rax
mov r8d, dword [r15 + 4]
mov dword [rsp + 0x6c], r8d
lea rcx, [rax + 0x10]
lea rdx, [0x140254008]
call fcn.140004300
lea rcx, [0x1401eb1b8]
call fcn.1400032a0
mov qword [rsp + 0x28], rax
mov rcx, rax
mov edx, dword [rsp + 0x6c]
call fcn.14011d5a0
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x28]
call fcn.140004300
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.140004300
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.1401145c0
lea r12d, [r14 + 0x100]
xor eax, eax
mov dword [rsp + 0x84], eax
cmp dword [r15 + 4], 0
je 0x140087c2a
cmp r12d, ebx
ja 0x140087c90
mov edx, r12d
add rdx, rdi
mov ecx, ebx
sub ecx, r12d
mov qword [rsp + 0x20], rdx
cmp ecx, 0x50
jb 0x140087c96
lea rcx, [0x1401dd660]
call fcn.1400032a0
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.1400869c0
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 0x140087c01
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
lea rcx, [rax + rcx*8 + 0x10]
call fcn.140004300
jmp 0x140087c06
call fcn.14011d8a0
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 0x140087b62
cmp dword [r15], 0
je 0x140087c38
add r14d, dword [r15]
jmp 0x1400878af
mov rcx, rbp
call fcn.140114360
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x38]
sub ecx, dword [rdx + 0x40]
movsxd rdx, ecx
lea rcx, [0x140209c58]
call fcn.1400033c0
mov rsi, rax
mov rcx, rbp
call fcn.140114360
mov rcx, rax
mov rdx, rsi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.140114c40
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.140101e60
call fcn.1400b6370
int3
mov ecx, 0x29
call fcn.1400b6890
int3