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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov eax, 0xffffffff
mov rsi, qword [rcx + 0x10]
mov word [rsp + 0x5a], ax
mov rax, qword [rcx]
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x120], rcx
mov rdx, qword [rax + 8]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsi + 0x10]
imul rax, rax, 0x70
lea r12, [rdx + rax + 8]
mov rax, qword [r12 + 0x20]
movzx edx, byte [r12 + 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 8]
test dl, 2
mov qword [rsp + 0x30], rax
je 0x8efec1
mov rdi, qword [r12 + 0x68]
mov rcx, qword [rsp + 0x120]
test rdi, rdi
setne bpl
xor eax, eax
cmp qword [rcx + 0x18], 0
je 0x8eff60
test bpl, bpl
je 0x8efc6c
mov r9, qword [rdi + 0x48]
mov dword [rsp + 0x28], 1
test r9, r9
je 0x8efaaa
movzx edx, byte [r12 + 0x3c]
mov ecx, dword [r12 + 0x44]
mov r8, qword [rsp + 0x30]
shr dl, 5
and edx, 1
call fcn.008ed520
test eax, eax
je 0x8efd53
test byte [rdi + 0x65], 1
jne 0x8efd53
mov rax, qword [rdi + 0x10]
xor r8d, r8d
xor r9d, r9d
mov rcx, qword [rsp + 0x128]
movzx eax, word [rax]
mov dword [rsi + 0x3c], 0
mov byte [rsi + 0x11], 0
mov dword [rsi + 0x18], 0
mov word [rsi + 0x1c], r8w
mov word [rsp + 0x2e], ax
mov word [rsi + 0x16], ax
movzx eax, byte [rdi + 0x64]
mov word [rsi + 0x12], r9w
mov qword [rsi], rcx
mov qword [rsi + 0x20], rdi
test al, 4
jne 0x8efdd0
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rcx]
mov r13, qword [rdx + 0x10]
test r13, r13
je 0x8efdd0
mov ecx, dword [r13]
test ecx, ecx
jle 0x8efb83
mov eax, dword [r12 + 0x44]
xor r15d, r15d
mov qword [rsp + 0x40], rsi
mov r14d, eax
mov rax, r15
shl rax, 5
mov rbx, qword [r13 + rax + 8]
nop dword [rax]
test rbx, rbx
je 0x8efb70
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x8efc90
test eax, 0x40000
je 0x8efc80
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x8efb45
nop dword [rax + rax]
add r15, 1
cmp dword [r13], r15d
jg 0x8efb31
mov rsi, qword [rsp + 0x40]
movzx eax, byte [rdi + 0x64]
mov edx, eax
and edx, 3
cmp dl, 3
je 0x8efde0
xor ecx, ecx
test al, 0x20
je 0x8efdf0
xor r8d, r8d
test ecx, ecx
mov dword [rsi + 0x38], 0x240
jne 0x8efe13
mov rcx, qword [rsp + 0x38]
xor edx, edx
test byte [rcx + 0x30], 0x80
jne 0x8efbc5
cmp qword [rdi + 0x48], 0
je 0x8efee0
mov byte [rsi + 0x11], dl
mov rcx, qword [rsp + 0x38]
movsx edx, word [rdi + 0x5c]
movsx ecx, word [rcx + 0x3c]
mov eax, edx
shl eax, 4
sub eax, edx
cdq
idiv ecx
movzx ecx, word [rsp + 0x2e]
test r8, r8
lea eax, [rcx + rax + 1]
mov word [rsi + 0x14], ax
jne 0x8efe20
movsx r8d, word [rsp + 0x2e]
mov ebx, r8d
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
call fcn.008c3300
mov rcx, qword [rsp + 0x120]
mov rdx, rsi
call fcn.008d41f0
mov word [rsi + 0x16], bx
test eax, eax
jne 0x8efc6c
mov rax, qword [rsp + 0x120]
xor r9d, r9d
mov r8, rdi
mov rdx, r12
mov rcx, rax
mov byte [rax + 0x20], 0
call fcn.008eeef0
mov rcx, qword [rsp + 0x120]
cmp byte [rcx + 0x20], 1
jne 0x8efc60
mov rcx, qword [rsp + 0x38]
or dword [rcx + 0x30], 0x100
nop word [rax + rax]
test byte [r12 + 0x40], 2
je 0x8efd30
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [rbx + 0x10]
jmp 0x8efb40
cmp byte [rbx], 0xa7
je 0x8efd60
mov rsi, qword [rdi + 0x50]
test rsi, rsi
je 0x8efb70
cmp word [rdi + 0x5e], 0
je 0x8efb70
xor ebp, ebp
jmp 0x8efcc5
movzx eax, word [rdi + 0x5e]
add rbp, 1
cmp eax, ebp
jle 0x8efb70
mov rax, qword [rdi + 8]
cmp word [rax + rbp*2], 0xfffe
jne 0x8efcb5
mov rax, rbp
mov r8d, r14d
mov rcx, rbx
shl rax, 5
mov rdx, qword [rsi + rax + 8]
call fcn.008ee800
test eax, eax
jne 0x8efcb5
movzx eax, byte [rdi + 0x64]
mov ecx, 1
mov rsi, qword [rsp + 0x40]
mov edx, eax
and edx, 3
cmp dl, 3
jne 0x8efb93
movzx eax, byte [rsp + 0x28]
mov dword [rsi + 0x38], 0x100
movsx r8d, word [rsp + 0x2e]
mov byte [rsi + 0x11], al
lea eax, [r8 + 0x10]
mov ebx, r8d
mov word [rsi + 0x14], ax
jmp 0x8efbfe
add dword [rsp + 0x28], 1
test eax, eax
mov rdi, qword [rdi + 0x28]
jne 0x8efc6c
test rdi, rdi
je 0x8efc6c
mov r9, qword [rdi + 0x48]
jmp 0x8efa82
xor eax, eax
jmp 0x8efc60
cmp r14d, dword [rbx + 0x2c]
jne 0x8efc99
movzx edx, word [rbx + 0x30]
test dx, dx
js 0x8efceb
movzx ecx, word [rdi + 0x5e]
test cx, cx
je 0x8efb70
mov rax, qword [rdi + 8]
cmp dx, word [rax]
je 0x8efceb
add rax, 2
sub ecx, 1
lea rcx, [rax + rcx*2]
jmp 0x8efdae
add rax, 2
cmp dx, word [rax - 2]
je 0x8efceb
cmp rcx, rax
jne 0x8efda0
add r15, 1
cmp dword [r13], r15d
jg 0x8efb31
jmp 0x8efb7a
mov edx, eax
xor ecx, ecx
and edx, 3
cmp dl, 3
jne 0x8efb93
mov dword [rsi + 0x38], 0x100
xor eax, eax
jmp 0x8efd13
mov r8, qword [r12 + 0x58]
and r8, qword [rdi + 0x68]
cmp r8, 1
sbb edx, edx
and edx, 0x40
add edx, 0x200
test ecx, ecx
mov dword [rsi + 0x38], edx
je 0x8efbad
movzx edx, byte [rsp + 0x28]
jmp 0x8efbc5
lea ebx, [rcx + 0x10]
mov rcx, qword [rsp + 0x48]
mov r13d, dword [r12 + 0x44]
mov edx, dword [rcx + 0x8c]
test edx, edx
jle 0x8efead
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x40], rsi
mov r15, r9
mov esi, ebp
mov rbp, rcx
jmp 0x8efe6d
lea eax, [rbx - 1]
sub ebx, 0x14
test byte [r14 + 0x14], 0x82
cmove ebx, eax
add esi, 1
add r15, 0x38
cmp dword [rbp + 0x8c], esi
jle 0x8efea4
mov r14, qword [rbp + 0x98]
mov r8, rdi
mov edx, r13d
add r14, r15
mov rcx, qword [r14]
call fcn.008c2b20
test eax, eax
je 0x8efea4
movzx eax, word [r14 + 0x10]
test ax, ax
jg 0x8efe50
add ebx, eax
add esi, 1
add r15, 0x38
cmp dword [rbp + 0x8c], esi
jg 0x8efe6d
mov rsi, qword [rsp + 0x40]
movzx eax, word [rsi + 0x14]
movsx edx, bx
movsx ecx, ax
call fcn.008c0bf0
mov word [rsi + 0x14], ax
jmp 0x8efbf5
mov rax, qword [rsp + 0x38]
test byte [rax + 0x30], 0x80
je 0x8f00d5
mov rdi, qword [rax + 0x10]
jmp 0x8efa51
test byte [r12 + 0x40], 2
jne 0x8efbc5
test r8, r8
jne 0x8efc23
test al, 4
jne 0x8efc23
movzx eax, word [rdi + 0x5c]
movzx edx, word [rcx + 0x3c]
cmp ax, dx
jge 0x8efc23
mov rcx, qword [rsp + 0x48]
test byte [rcx + 0x44], 4
jne 0x8efc23
cmp byte [0x009d9fa7], 0
je 0x8efc23
mov rcx, qword [rcx]
mov rcx, qword [rcx]
test byte [rcx + 0x60], 0x20
jne 0x8efc23
movsx ecx, ax
mov byte [rsi + 0x11], 0
mov eax, ecx
shl eax, 4
sub eax, ecx
movsx ecx, dx
cdq
idiv ecx
movzx ecx, word [rsp + 0x2e]
lea eax, [rcx + rax + 1]
mov word [rsi + 0x14], ax
jmp 0x8efbf5
mov rcx, qword [rsp + 0x38]
movzx r13d, word [rcx + 0x3a]
mov rcx, qword [rsp + 0x48]
test byte [rcx + 0x44], 0x20
jne 0x8efa6d
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov rcx, qword [rcx]
test byte [rcx + 0x31], 0x80
je 0x8efa6d
test dl, 3
jne 0x8f019e
mov rax, qword [rsp + 0x38]
test byte [rax + 0x30], 0x80
jne 0x8f019e
and edx, 0x28
jne 0x8f019e
mov rax, qword [rsp + 0x30]
xor r14d, r14d
mov word [rsp + 0x28], r14w
movsxd rbx, dword [rax + 0x14]
mov r15, qword [rax + 0x20]
imul rbx, rbx, 0x38
add rbx, r15
cmp r13w, 0xa
jle 0x8effe1
movsx ecx, r13w
call fcn.008cba90
mov word [rsp + 0x28], ax
cmp r15, rbx
jae 0x8f019e
add r13w, word [rsp + 0x28]
xor r14d, r14d
lea eax, [r13 - 0xa]
mov word [rsp + 0x2e], ax
jmp 0x8f00be
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call fcn.008c4fc0
test eax, eax
je 0x8f00cc
mov rax, qword [rsi + 0x48]
mov r11d, 1
mov qword [rsi + 0x20], 0
mov word [rsi + 0x18], r11w
mov dword [rsi + 0x3c], 1
mov qword [rax], r15
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x3f], 2
je 0x8f01b2
test byte [rax + 0x31], 0x40
jne 0x8f01b2
lea eax, [r13 + 0x1c]
test ax, ax
movsx ecx, word [rsp + 0x28]
mov r10d, 0x2b
mov edx, 0x2b
cmovs eax, r14d
mov word [rsi + 0x16], r10w
mov word [rsi + 0x12], ax
call fcn.008c0bf0
mov rcx, qword [rsp + 0x120]
mov rdx, rsi
mov dword [rsi + 0x38], 0x4000
mov word [rsi + 0x14], ax
mov rax, qword [rsp + 0x128]
or rax, qword [r15 + 0x28]
mov qword [rsi], rax
call fcn.008d41f0
test eax, eax
sete dl
add r15, 0x38
cmp rbx, r15
jbe 0x8f01a5
test dl, dl
je 0x8efc6c
mov rax, qword [r15 + 0x28]
test qword [rsi + 8], rax
je 0x8f0001
mov edx, 1
xor eax, eax
jmp 0x8f00a9
lea r8, [rsp + 0x60]
xor eax, eax
mov ecx, 0xe
mov rdi, r8
xor r15d, r15d
rep stosq qword [rdi], rax
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x5a]
mov byte [rsp + 0xc2], 5
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x5c]
movzx edx, byte [r12 + 0x40]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0xbe], 0x10001
mov qword [rsp + 0x78], rcx
mov word [rsp + 0x5e], r15w
movzx eax, word [rcx + 0x3c]
or byte [rsp + 0xc4], 3
test dl, 1
movzx r13d, word [rcx + 0x3a]
mov word [rsp + 0xbc], ax
mov word [rsp + 0x5c], r13w
jne 0x8f015c
mov rax, qword [r12 + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x120]
xor r9d, r9d
mov rdi, r8
cmp qword [rax + 0x18], 0
jne 0x8efa7a
mov rax, qword [rsp + 0x48]
test byte [rax + 0x44], 0x20
jne 0x8efa76
mov rax, qword [rax]
mov rax, qword [rax]
test byte [rax + 0x31], 0x80
je 0x8efa76
mov ebp, 1
jmp 0x8eff8e
xor eax, eax
jmp 0x8efa6d
test dl, dl
jne 0x8efa6d
jmp 0x8efc6c
movzx eax, word [rsp + 0x2e]
jmp 0x8f0055