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

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x40
cmp byte [rcx + 0xe8], 0
mov r14, r8
mov r15, rdx
mov rbx, rcx
jne 0x1402efc75
mov rcx, qword [rdx]
cmp qword [r8], rcx
mov qword [rsp + 0x68], rbp
cmovb rcx, qword [r8]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
xor r12d, r12d
mov qword [rsp + 0x60], rcx
cmp dword [rbx + 0xec], r12d
jne 0x1402ef875
mov rax, qword [rbx + 0x90]
cmp qword [rbx + 0x88], rax
je 0x1402ef868
cmp byte [rbx + 0xe9], r12b
je 0x1402ef875
cmp qword [rbx + 0xb8], r12
jne 0x1402ef875
xor dl, dl
jmp 0x1402ef877
mov dl, 1
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.1402ee0f0
cmp byte [rbx + 0xe8], r12b
jne 0x1402efc61
cmp qword [r14], 0xffffffffffffffff
je 0x1402ef8a5
call fcn.1402fd6b0
cmp qword [r14], rax
jbe 0x1402efc61
cmp byte [rbx + 0xe9], r12b
jne 0x1402efb27
mov eax, dword [rbx + 0xf0]
xor bpl, bpl
cmp dword [rbx + 0xec], eax
jae 0x1402efb27
nop word [rax + rax]
mov rdi, qword [rbx + 0xb8]
test rdi, rdi
je 0x1402ef8e8
mov qword [rbx + 0xb8], r12
jmp 0x1402ef9de
mov rax, qword [rbx + 0x90]
cmp qword [rbx + 0x88], rax
je 0x1402efb1e
mov rax, qword [rbx + 0x88]
mov ecx, 2
mov r11, qword [rbx + 0x90]
mov r9, rax
mov r10, r12
mov rdi, qword [rax]
mov rsi, qword [r11 - 8]
mov rax, qword [rax]
mov qword [r11 - 8], rax
sub r11, r9
sar r11, 3
dec r11
cmp rcx, r11
jge 0x1402ef981
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r9 + rcx*8 - 8]
mov r8, qword [r9 + rcx*8]
mov eax, dword [rdx + 0x20]
cmp dword [r8 + 0x20], eax
je 0x1402ef957
setl al
jmp 0x1402ef962
mov rax, qword [rdx + 0x18]
cmp qword [r8 + 0x18], rax
seta al
test al, al
je 0x1402ef969
dec rcx
mov rax, qword [r9 + rcx*8]
mov qword [r9 + r10*8], rax
mov r10, rcx
lea rcx, [rcx*2 + 2]
cmp rcx, r11
jl 0x1402ef940
jne 0x1402ef990
mov rax, qword [r9 + rcx*8 - 8]
mov qword [r9 + r10*8], rax
lea r10, [rcx - 1]
lea rcx, [r10 - 1]
sar rcx, 1
test r10, r10
jle 0x1402ef9d2
nop dword [rax]
mov rdx, qword [r9 + rcx*8]
mov eax, dword [rsi + 0x20]
cmp dword [rdx + 0x20], eax
je 0x1402ef9b1
setl al
jmp 0x1402ef9bc
mov rax, qword [rsi + 0x18]
cmp qword [rdx + 0x18], rax
seta al
test al, al
je 0x1402ef9d2
mov qword [r9 + r10*8], rdx
mov r10, rcx
dec rcx
sar rcx, 1
test r10, r10
jg 0x1402ef9a0
mov qword [r9 + r10*8], rsi
sub qword [rbx + 0x90], 8
test rdi, rdi
je 0x1402efb1e
or dword [rdi + 0x14], 1
xor edx, edx
inc dword [rbx + 0xec]
mov bpl, 1
mov ecx, dword [rbx + 0x128]
mov r8d, dword [rdi + 0x10]
mov r9d, dword [rbx + 0xec]
mov eax, r8d
div rcx
mov rax, qword [rbx + 0x120]
mov ecx, edx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x1402efa2e
nop
cmp r8d, dword [rdx]
je 0x1402efa40
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1402efa20
mov rcx, qword [rbx + 0x128]
mov rax, qword [rbx + 0x120]
mov rdx, qword [rax + rcx*8]
mov rcx, qword [rbx + 0x128]
mov rax, qword [rbx + 0x120]
cmp rdx, qword [rax + rcx*8]
je 0x1402efabf
mov rcx, qword [rdx + 8]
test rcx, rcx
je 0x1402efabf
mov rax, qword [rcx]
mov rdx, rdi
movzx r8d, byte [rbx + 0xea]
call qword [rax + 0x20]
movzx ecx, al
test al, al
je 0x1402efa95
sub ecx, 2
je 0x1402efa95
cmp ecx, 1
jne 0x1402efb03
dec dword [rbx + 0xec]
xor bpl, bpl
mov qword [rbx + 0xb8], rdi
jmp 0x1402efb03
test byte [rdi + 0x14], bpl
je 0x1402efaa1
dec dword [rbx + 0xec]
mov rax, qword [rdi]
xor edx, edx
test byte [rdi + 0x14], 2
mov rcx, rdi
je 0x1402efaed
call qword [rax]
mov eax, 4
mov qword [rdi + 8], r12
xchg dword [rdi + 0x14], eax
jmp 0x1402efb03
test byte [rdi + 0x14], bpl
je 0x1402efacf
lea eax, [r9 - 1]
mov dword [rbx + 0xec], eax
mov rax, qword [rdi]
xor edx, edx
test byte [rdi + 0x14], 2
mov rcx, rdi
je 0x1402efaed
call qword [rax]
mov eax, 4
mov qword [rdi + 8], r12
xchg dword [rdi + 0x14], eax
jmp 0x1402efb03
call qword [rax]
mov rax, qword [rbx + 0x60]
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
mov r9, qword [rax]
call qword [r9 + 0x18]
cmp qword [rbx + 0xb8], r12
jne 0x1402efb1e
mov eax, dword [rbx + 0xf0]
cmp dword [rbx + 0xec], eax
jb 0x1402ef8d0
test bpl, bpl
jne 0x1402ef846
cmp dword [rbx + 0xec], r12d
je 0x1402efc58
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
je 0x1402efb53
lea rcx, [rbx + 0xc0]
mov rdx, rbx
call fcn.1402e6cf0
mov rcx, qword [rbx + 0xc8]
sub rcx, qword [rbx + 0xc0]
mov eax, dword [rbx + 0xec]
sar rcx, 3
cmp rax, rcx
ja 0x1402efb7d
cmp qword [rbx + 0xb8], r12
je 0x1402efc1d
mov rax, qword [rbx + 0x90]
cmp qword [rbx + 0x88], rax
je 0x1402efba0
mov eax, dword [rbx + 0xf0]
cmp dword [rbx + 0xec], eax
jae 0x1402efba0
mov dil, 1
jmp 0x1402efba3
xor dil, dil
mov rax, qword [rbx + 0xc8]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x78], r12
cmp qword [rbx + 0xc0], rax
jne 0x1402efc06
cmp dword [rbx + 0x3c], r12d
jne 0x1402efbc9
cmp dword [rbx + 0x40], r12d
je 0x1402efc06
call fcn.1402fd6b0
mov r8, rax
mov rdx, qword [rsp + 0x60]
cmp dword [rbx + 0x3c], r12d
je 0x1402efbee
mov ecx, dword [rbx + 0x3c]
add rcx, rax
cmp rdx, rcx
cmovb rcx, rdx
mov qword [rsp + 0x20], rcx
cmp dword [rbx + 0x40], r12d
je 0x1402efc06
mov eax, dword [rbx + 0x40]
add rax, r8
cmp rdx, rax
cmovb rax, rdx
mov qword [rsp + 0x78], rax
mov rax, qword [rbx]
lea r8, [rsp + 0x78]
movzx r9d, dil
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x78]
mov rax, qword [rbx + 0xc8]
cmp qword [rbx + 0xc0], rax
je 0x1402efc58
mov rax, qword [0x14062f7c0]
test rax, rax
je 0x1402efc42
mov eax, dword [rax + 0x5c]
test eax, eax
js 0x1402efc58
jmp 0x1402efc47
mov eax, 1
cdqe
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
call fcn.1402fe6a0
cmp qword [r15], r12
jne 0x1402ef846
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r12, qword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rbx
ret