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

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
xor r14d, r14d
mov esi, r9d
mov ebx, r8d
mov r13d, edx
mov rdi, rcx
cmp r8d, 2
jae 0x1400ef396
mov edx, r14d
jmp 0x1400ef3cc
add r8d, 0xfffffffe
mov eax, 0xcccccccd
mul dword [rcx + 0x34]
mov eax, r8d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x14027d430]
sub r8d, edx
xor edx, edx
div dword [rdi + 0x30]
lea ecx, [r8 + 2]
inc eax
lea edx, [rcx + 1]
cmp ecx, eax
cmovne edx, ecx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x98], r15
cmp edx, ebx
je 0x1400ef583
mov eax, dword [0x14027d430]
xor edx, edx
div dword [rdi + 0x30]
inc eax
cmp ebx, eax
je 0x1400ef583
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x24]
bswap eax
test eax, eax
jne 0x1400ef41c
mov eax, 0x65
jmp 0x1400ef5ee
lea r9, [rsp + 0x38]
mov edx, ebx
lea r8, [rsp + 0x90]
mov rcx, rdi
call fcn.1400f9640
test eax, eax
jne 0x1400ef5ee
movzx eax, byte [rsp + 0x90]
cmp al, 1
jne 0x1400ef456
mov ecx, 0xf32c
call fcn.140109850
jmp 0x1400ef5ee
cmp al, 2
jne 0x1400ef4a3
test esi, esi
jne 0x1400ef5ec
mov r9d, ebx
mov byte [rsp + 0x20], 1
lea r8, [rsp + 0x90]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call fcn.1400d6200
test eax, eax
jne 0x1400ef5ee
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ef587
mov rcx, qword [rcx + 0x70]
call fcn.140120400
jmp 0x1400ef587
mov rax, qword [rdi]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov edx, ebx
mov rcx, rax
call qword [rax + 0x108]
test eax, eax
jne 0x1400ef5ee
mov rcx, qword [rsp + 0x40]
mov rbp, qword [rcx + 0x10]
cmp ebx, dword [rbp + 4]
je 0x1400ef4f3
mov rax, qword [rcx + 8]
cmp ebx, 1
mov qword [rbp + 0x50], rax
mov eax, r14d
mov qword [rbp + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [rbp + 0x48], rdi
mov byte [rbp + 9], al
mov dword [rbp + 4], ebx
test esi, esi
mov r15d, r13d
mov r12d, 2
cmovne r15d, r14d
cmovne r12d, r14d
nop word [rax + rax]
mov r9d, r15d
mov byte [rsp + 0x20], r12b
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [rsp + 0x48]
call fcn.1400d6200
mov r14d, eax
test eax, eax
jne 0x1400ef5a7
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400ef544
mov rcx, qword [rcx + 0x70]
call fcn.140120400
mov eax, dword [rsp + 0x30]
test esi, esi
je 0x1400ef551
cmp eax, r13d
ja 0x1400ef510
mov r9d, dword [rsp + 0x38]
mov rdx, rbp
movzx r8d, byte [rsp + 0x90]
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call fcn.1400fb1d0
mov rcx, qword [rbp + 0x70]
mov r14d, eax
call fcn.140120400
test r14d, r14d
jne 0x1400ef5b0
test esi, esi
jne 0x1400ef5ec
mov eax, dword [0x14027d430]
xor edx, edx
div dword [rdi + 0x30]
lea r9d, [rax + 1]
dec ebx
cmp ebx, r9d
je 0x1400ef596
cmp ebx, 2
jae 0x1400ef5b5
mov eax, r14d
jmp 0x1400ef5e1
mov rcx, qword [rbp + 0x70]
call fcn.140120400
mov eax, r14d
jmp 0x1400ef5ee
lea r8d, [rbx - 2]
mov eax, 0xcccccccd
mul dword [rdi + 0x34]
mov eax, r8d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
sub r8d, edx
add r8d, 2
cmp r8d, r9d
lea eax, [r8 + 1]
cmovne eax, r8d
cmp eax, ebx
je 0x1400ef596
mov byte [rdi + 0x23], 1
mov dword [rdi + 0x3c], ebx
xor eax, eax
mov r15, qword [rsp + 0x98]
mov r12, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret