Function at 0x1400651f0
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, 0x98
mov rax, qword [0x1402840b0]
mov qword [rsp + 0x28], rdx
lea rdx, [0x1401868c0]
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x38], 0
mov r8, qword [rsp + 0x100]
mov rsi, qword [rax]
mov qword [rsp + 0x88], rsi
xor esi, esi
test r9, r9
cmovne rdx, r9
mov r9d, dword [rsp + 0x108]
xor eax, eax
test r9d, r9d
jle 0x1400655a4
mov esi, dword [rsp + 0x108]
mov ebx, dword [r8]
lea r10d, [rsi - 1]
and r10d, 3
test ebx, ebx
je 0x1400652b8
cmp ebx, dword [rdx]
je 0x1400659d5
cmp ebx, dword [rdx + 4]
je 0x1400659d5
cmp ebx, dword [rdx + 8]
je 0x1400659d5
cmp ebx, dword [rdx + 0xc]
je 0x1400659d5
cmp ebx, dword [rdx + 0x10]
je 0x1400659d5
cmp ebx, dword [rdx + 0x14]
je 0x1400659d5
cmp ebx, dword [rdx + 0x18]
je 0x1400659d5
cmp ebx, dword [rdx + 0x1c]
je 0x1400659d5
cmp ebx, dword [rdx + 0x20]
je 0x1400659d5
cmp dword [rsp + 0x108], 1
mov ebp, 1
jle 0x1400655a4
test r10d, r10d
je 0x1400653d7
cmp r10d, 1
je 0x1400653b6
cmp r10d, 2
je 0x140065346
mov edi, dword [r8 + rbp*4]
test edi, edi
je 0x140065342
test dword [rsp + 0x38], edi
jne 0x140065342
cmp edi, dword [rdx]
je 0x1400659a0
cmp edi, dword [rdx + 4]
je 0x1400659a0
cmp edi, dword [rdx + 8]
je 0x1400659a0
cmp edi, dword [rdx + 0xc]
je 0x1400659a0
cmp edi, dword [rdx + 0x10]
je 0x1400659a0
cmp edi, dword [rdx + 0x14]
je 0x1400659a0
cmp edi, dword [rdx + 0x18]
je 0x1400659a0
cmp edi, dword [rdx + 0x1c]
je 0x1400659a0
cmp edi, dword [rdx + 0x20]
je 0x1400659a0
add rbp, 1
mov r13d, dword [r8 + rbp*4]
mov r12d, ebp
test r13d, r13d
je 0x1400653b2
test dword [rsp + 0x38], r13d
jne 0x1400653b2
cmp r13d, dword [rdx]
je 0x1400659c0
cmp r13d, dword [rdx + 4]
je 0x1400659c0
cmp r13d, dword [rdx + 8]
je 0x1400659c0
cmp r13d, dword [rdx + 0xc]
je 0x1400659c0
cmp r13d, dword [rdx + 0x10]
je 0x1400659c0
cmp r13d, dword [rdx + 0x14]
je 0x1400659c0
cmp r13d, dword [rdx + 0x18]
je 0x1400659c0
cmp r13d, dword [rdx + 0x1c]
je 0x1400659c0
cmp r13d, dword [rdx + 0x20]
je 0x1400659c0
add rbp, 1
mov r9d, dword [r8 + rbp*4]
mov r15d, ebp
test r9d, r9d
jne 0x140065850
add rbp, 1
cmp dword [rsp + 0x108], ebp
jle 0x1400655a4
mov r11d, dword [rsp + 0x38]
mov r12d, dword [rsp + 0x108]
mov r10d, dword [r8 + rbp*4]
mov ebx, ebp
test r10d, r10d
je 0x140065450
test r10d, r11d
jne 0x140065450
cmp r10d, dword [rdx]
je 0x140065973
cmp r10d, dword [rdx + 4]
je 0x140065973
cmp r10d, dword [rdx + 8]
je 0x140065973
cmp r10d, dword [rdx + 0xc]
je 0x140065973
cmp r10d, dword [rdx + 0x10]
je 0x140065973
cmp r10d, dword [rdx + 0x14]
je 0x140065973
cmp r10d, dword [rdx + 0x18]
je 0x140065973
cmp r10d, dword [rdx + 0x1c]
je 0x140065973
cmp r10d, dword [rdx + 0x20]
je 0x140065973
nop dword [rax]
add rbp, 1
mov r14d, dword [r8 + rbp*4]
mov r13d, ebp
test r14d, r14d
je 0x1400654c0
test r14d, r11d
jne 0x1400654c0
cmp r14d, dword [rdx]
je 0x140065940
cmp r14d, dword [rdx + 4]
je 0x140065940
cmp r14d, dword [rdx + 8]
je 0x140065940
cmp r14d, dword [rdx + 0xc]
je 0x140065940
cmp r14d, dword [rdx + 0x10]
je 0x140065940
cmp r14d, dword [rdx + 0x14]
je 0x140065940
cmp r14d, dword [rdx + 0x18]
je 0x140065940
cmp r14d, dword [rdx + 0x1c]
je 0x140065940
cmp r14d, dword [rdx + 0x20]
je 0x140065940
nop
lea r9, [rbp + 1]
mov ebx, dword [r8 + r9*4]
mov esi, r9d
test ebx, ebx
je 0x140065524
test ebx, r11d
jne 0x140065524
cmp ebx, dword [rdx]
je 0x140065985
cmp ebx, dword [rdx + 4]
je 0x140065985
cmp ebx, dword [rdx + 8]
je 0x140065985
cmp ebx, dword [rdx + 0xc]
je 0x140065985
cmp ebx, dword [rdx + 0x10]
je 0x140065985
cmp ebx, dword [rdx + 0x14]
je 0x140065985
cmp ebx, dword [rdx + 0x18]
je 0x140065985
cmp ebx, dword [rdx + 0x1c]
je 0x140065985
cmp ebx, dword [rdx + 0x20]
je 0x140065985
lea rdi, [rbp + 2]
mov r14d, dword [r8 + rdi*4]
mov r13d, edi
test r14d, r14d
je 0x140065592
test r14d, r11d
jne 0x140065592
cmp r14d, dword [rdx]
je 0x140065953
cmp r14d, dword [rdx + 4]
je 0x140065953
cmp r14d, dword [rdx + 8]
je 0x140065953
cmp r14d, dword [rdx + 0xc]
je 0x140065953
cmp r14d, dword [rdx + 0x10]
je 0x140065953
cmp r14d, dword [rdx + 0x14]
je 0x140065953
cmp r14d, dword [rdx + 0x18]
je 0x140065953
cmp r14d, dword [rdx + 0x1c]
je 0x140065953
cmp r14d, dword [rdx + 0x20]
je 0x140065953
add rbp, 3
cmp r12d, ebp
jg 0x1400653e4
mov dword [rsp + 0x38], r11d
movsxd r10, dword [rsp + 0x6c]
movsxd r11, dword [rsp + 0x74]
lea r15, [rdx + 0x24]
movsxd r9, dword [rsp + 0x7c]
movsxd rbp, dword [rsp + 0x60]
movsxd rsi, dword [rsp + 0x68]
movsxd r12, dword [rsp + 0x64]
movsxd r14, dword [rsp + 0x70]
lea rdi, [r8 + r10*4]
mov dword [rsp + 0x48], r10d
movsxd r10, dword [rsp + 0x78]
lea rbx, [r8 + r11*4]
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x58], r9d
lea r13, [r8 + rbp*4]
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x40], r12d
lea rbp, [r8 + rsi*4]
lea r12, [r8 + r12*4]
mov dword [rsp + 0x44], esi
lea r11, [r8 + r10*4]
mov dword [rsp + 0x54], r10d
lea r10, [r8 + r9*4]
movsxd r9, dword [rsp + 0x80]
lea rsi, [r8 + r14*4]
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x5c], r9d
lea r9, [r8 + r9*4]
xor r8d, r8d
mov qword [rsp + 0x20], r9
mov r9, rcx
test eax, eax
je 0x1400656b5
mov ecx, dword [rdx]
cmp ecx, dword [r13]
je 0x140065910
cmp eax, 1
je 0x1400656b5
cmp ecx, dword [r12]
je 0x1400658c5
cmp eax, 2
je 0x1400656b5
cmp ecx, dword [rbp]
je 0x1400658b0
cmp eax, 3
je 0x1400656b5
cmp ecx, dword [rdi]
je 0x140065900
cmp eax, 4
je 0x1400656b5
cmp ecx, dword [rsi]
je 0x1400658f0
cmp eax, 5
je 0x1400656b5
cmp ecx, dword [rbx]
je 0x1400658e0
cmp eax, 6
je 0x1400656b5
cmp ecx, dword [r11]
je 0x1400658d0
cmp eax, 7
je 0x1400656b5
cmp ecx, dword [r10]
je 0x140065930
cmp eax, 8
je 0x1400656b5
mov r14, qword [rsp + 0x20]
cmp ecx, dword [r14]
je 0x140065920
add rdx, 4
cmp r15, rdx
jne 0x140065632
mov rdx, qword [rsp + 0x28]
mov r12d, dword [rsp + 0x38]
test eax, eax
mov rbp, qword [rsp + 0x30]
mov r13, r9
mov dword [rdx], r12d
mov dword [rbp], eax
je 0x140065810
mov esi, dword [r9]
test esi, esi
jne 0x140065801
lea edi, [rax - 1]
and edi, 7
je 0x140065790
mov esi, 1
cmp esi, eax
jge 0x140065810
cmp dword [r9 + 4], 1
jne 0x140065801
cmp edi, 1
je 0x140065790
cmp edi, 2
je 0x140065783
cmp edi, 3
je 0x140065772
cmp edi, 4
je 0x140065761
cmp edi, 5
je 0x140065750
cmp edi, 6
je 0x14006573f
add esi, 1
movsxd rbx, esi
cmp dword [r9 + rbx*4], esi
jne 0x140065801
add esi, 1
movsxd r11, esi
cmp dword [r13 + r11*4], esi
jne 0x140065801
add esi, 1
movsxd r10, esi
cmp dword [r13 + r10*4], esi
jne 0x140065801
add esi, 1
movsxd r15, esi
cmp dword [r13 + r15*4], esi
jne 0x140065801
add esi, 1
movsxd r8, esi
cmp dword [r13 + r8*4], esi
jne 0x140065801
add esi, 1
movsxd r9, esi
cmp dword [r13 + r9*4], esi
jne 0x140065801
lea r14d, [rsi + 1]
cmp r14d, eax
jge 0x140065810
movsxd rcx, r14d
cmp dword [r13 + rcx*4], r14d
jne 0x140065801
lea edx, [rsi + 2]
movsxd r12, edx
cmp dword [r13 + r12*4], edx
jne 0x140065801
lea ebp, [rsi + 3]
movsxd rdi, ebp
cmp dword [r13 + rdi*4], ebp
jne 0x140065801
lea ebx, [rsi + 4]
movsxd r11, ebx
cmp dword [r13 + r11*4], ebx
jne 0x140065801
lea r10d, [rsi + 5]
movsxd r15, r10d
cmp dword [r13 + r15*4], r10d
jne 0x140065801
lea r8d, [rsi + 6]
movsxd r9, r8d
cmp dword [r13 + r9*4], r8d
jne 0x140065801
lea r14d, [rsi + 7]
movsxd rcx, r14d
cmp dword [r13 + rcx*4], r14d
jne 0x140065801
add esi, 8
movsxd rdx, esi
cmp dword [r13 + rdx*4], esi
je 0x140065790
mov eax, 1
jmp 0x14006581a
cmp dword [rsp + 0x108], eax
setne al
mov r13, qword [0x1402840b0]
mov rsi, qword [rsp + 0x88]
xor rsi, qword [r13]
jne 0x1400659eb
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test dword [rsp + 0x38], r9d
jne 0x1400653c6
cmp r9d, dword [rdx]
je 0x140065894
cmp r9d, dword [rdx + 4]
je 0x140065894
cmp r9d, dword [rdx + 8]
je 0x140065894
cmp r9d, dword [rdx + 0xc]
je 0x140065894
cmp r9d, dword [rdx + 0x10]
je 0x140065894
cmp r9d, dword [rdx + 0x14]
je 0x140065894
cmp r9d, dword [rdx + 0x18]
je 0x140065894
cmp r9d, dword [rdx + 0x1c]
je 0x140065894
cmp r9d, dword [rdx + 0x20]
jne 0x1400653c6
movsxd rsi, eax
or dword [rsp + 0x38], r9d
add eax, 1
mov dword [rsp + rsi*4 + 0x60], r15d
jmp 0x1400653c6
mov r14d, dword [rsp + 0x44]
movsxd rcx, r8d
add r8d, 1
mov dword [r9 + rcx*4], r14d
jmp 0x1400656b5
mov r14d, dword [rsp + 0x40]
jmp 0x1400658b5
mov r14d, dword [rsp + 0x54]
jmp 0x1400658b5
mov r14d, dword [rsp + 0x50]
jmp 0x1400658b5
mov r14d, dword [rsp + 0x4c]
jmp 0x1400658b5
mov r14d, dword [rsp + 0x48]
jmp 0x1400658b5
mov r14d, dword [rsp + 0x3c]
jmp 0x1400658b5
mov r14d, dword [rsp + 0x5c]
jmp 0x1400658b5
mov r14d, dword [rsp + 0x58]
jmp 0x1400658b5
movsxd r15, eax
or r11d, r14d
add eax, 1
mov dword [rsp + r15*4 + 0x60], r13d
jmp 0x1400654c0
add rbp, 3
movsxd r15, eax
or r11d, r14d
add eax, 1
cmp r12d, ebp
mov dword [rsp + r15*4 + 0x60], r13d
jg 0x1400653e4
jmp 0x14006559f
movsxd rdi, eax
or r11d, r10d
add eax, 1
mov dword [rsp + rdi*4 + 0x60], ebx
jmp 0x140065450
movsxd r10, eax
or r11d, ebx
add eax, 1
mov dword [rsp + r10*4 + 0x60], esi
jmp 0x140065524
movsxd r11, eax
or dword [rsp + 0x38], edi
add eax, 1
mov dword [rsp + r11*4 + 0x60], 1
jmp 0x140065342
movsxd r14, eax
or dword [rsp + 0x38], r13d
add eax, 1
mov dword [rsp + r14*4 + 0x60], r12d
jmp 0x1400653b2
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x38], ebx
mov eax, 1
jmp 0x1400652b8
call fcn.1400c4db0
nop
nop dword [rax + rax]
nop word cs:[rax + rax]