Function at 0x1400652f0
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 [0x140285110]
mov qword [rsp + 0x28], rdx
lea rdx, [0x1401878a0]
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 0x1400656a4
mov esi, dword [rsp + 0x108]
mov ebx, dword [r8]
lea r10d, [rsi - 1]
and r10d, 3
test ebx, ebx
je 0x1400653b8
cmp ebx, dword [rdx]
je 0x140065ad5
cmp ebx, dword [rdx + 4]
je 0x140065ad5
cmp ebx, dword [rdx + 8]
je 0x140065ad5
cmp ebx, dword [rdx + 0xc]
je 0x140065ad5
cmp ebx, dword [rdx + 0x10]
je 0x140065ad5
cmp ebx, dword [rdx + 0x14]
je 0x140065ad5
cmp ebx, dword [rdx + 0x18]
je 0x140065ad5
cmp ebx, dword [rdx + 0x1c]
je 0x140065ad5
cmp ebx, dword [rdx + 0x20]
je 0x140065ad5
cmp dword [rsp + 0x108], 1
mov ebp, 1
jle 0x1400656a4
test r10d, r10d
je 0x1400654d7
cmp r10d, 1
je 0x1400654b6
cmp r10d, 2
je 0x140065446
mov edi, dword [r8 + rbp*4]
test edi, edi
je 0x140065442
test dword [rsp + 0x38], edi
jne 0x140065442
cmp edi, dword [rdx]
je 0x140065aa0
cmp edi, dword [rdx + 4]
je 0x140065aa0
cmp edi, dword [rdx + 8]
je 0x140065aa0
cmp edi, dword [rdx + 0xc]
je 0x140065aa0
cmp edi, dword [rdx + 0x10]
je 0x140065aa0
cmp edi, dword [rdx + 0x14]
je 0x140065aa0
cmp edi, dword [rdx + 0x18]
je 0x140065aa0
cmp edi, dword [rdx + 0x1c]
je 0x140065aa0
cmp edi, dword [rdx + 0x20]
je 0x140065aa0
add rbp, 1
mov r13d, dword [r8 + rbp*4]
mov r12d, ebp
test r13d, r13d
je 0x1400654b2
test dword [rsp + 0x38], r13d
jne 0x1400654b2
cmp r13d, dword [rdx]
je 0x140065ac0
cmp r13d, dword [rdx + 4]
je 0x140065ac0
cmp r13d, dword [rdx + 8]
je 0x140065ac0
cmp r13d, dword [rdx + 0xc]
je 0x140065ac0
cmp r13d, dword [rdx + 0x10]
je 0x140065ac0
cmp r13d, dword [rdx + 0x14]
je 0x140065ac0
cmp r13d, dword [rdx + 0x18]
je 0x140065ac0
cmp r13d, dword [rdx + 0x1c]
je 0x140065ac0
cmp r13d, dword [rdx + 0x20]
je 0x140065ac0
add rbp, 1
mov r9d, dword [r8 + rbp*4]
mov r15d, ebp
test r9d, r9d
jne 0x140065950
add rbp, 1
cmp dword [rsp + 0x108], ebp
jle 0x1400656a4
mov r11d, dword [rsp + 0x38]
mov r12d, dword [rsp + 0x108]
mov r10d, dword [r8 + rbp*4]
mov ebx, ebp
test r10d, r10d
je 0x140065550
test r10d, r11d
jne 0x140065550
cmp r10d, dword [rdx]
je 0x140065a73
cmp r10d, dword [rdx + 4]
je 0x140065a73
cmp r10d, dword [rdx + 8]
je 0x140065a73
cmp r10d, dword [rdx + 0xc]
je 0x140065a73
cmp r10d, dword [rdx + 0x10]
je 0x140065a73
cmp r10d, dword [rdx + 0x14]
je 0x140065a73
cmp r10d, dword [rdx + 0x18]
je 0x140065a73
cmp r10d, dword [rdx + 0x1c]
je 0x140065a73
cmp r10d, dword [rdx + 0x20]
je 0x140065a73
nop dword [rax]
add rbp, 1
mov r14d, dword [r8 + rbp*4]
mov r13d, ebp
test r14d, r14d
je 0x1400655c0
test r14d, r11d
jne 0x1400655c0
cmp r14d, dword [rdx]
je 0x140065a40
cmp r14d, dword [rdx + 4]
je 0x140065a40
cmp r14d, dword [rdx + 8]
je 0x140065a40
cmp r14d, dword [rdx + 0xc]
je 0x140065a40
cmp r14d, dword [rdx + 0x10]
je 0x140065a40
cmp r14d, dword [rdx + 0x14]
je 0x140065a40
cmp r14d, dword [rdx + 0x18]
je 0x140065a40
cmp r14d, dword [rdx + 0x1c]
je 0x140065a40
cmp r14d, dword [rdx + 0x20]
je 0x140065a40
nop
lea r9, [rbp + 1]
mov ebx, dword [r8 + r9*4]
mov esi, r9d
test ebx, ebx
je 0x140065624
test ebx, r11d
jne 0x140065624
cmp ebx, dword [rdx]
je 0x140065a85
cmp ebx, dword [rdx + 4]
je 0x140065a85
cmp ebx, dword [rdx + 8]
je 0x140065a85
cmp ebx, dword [rdx + 0xc]
je 0x140065a85
cmp ebx, dword [rdx + 0x10]
je 0x140065a85
cmp ebx, dword [rdx + 0x14]
je 0x140065a85
cmp ebx, dword [rdx + 0x18]
je 0x140065a85
cmp ebx, dword [rdx + 0x1c]
je 0x140065a85
cmp ebx, dword [rdx + 0x20]
je 0x140065a85
lea rdi, [rbp + 2]
mov r14d, dword [r8 + rdi*4]
mov r13d, edi
test r14d, r14d
je 0x140065692
test r14d, r11d
jne 0x140065692
cmp r14d, dword [rdx]
je 0x140065a53
cmp r14d, dword [rdx + 4]
je 0x140065a53
cmp r14d, dword [rdx + 8]
je 0x140065a53
cmp r14d, dword [rdx + 0xc]
je 0x140065a53
cmp r14d, dword [rdx + 0x10]
je 0x140065a53
cmp r14d, dword [rdx + 0x14]
je 0x140065a53
cmp r14d, dword [rdx + 0x18]
je 0x140065a53
cmp r14d, dword [rdx + 0x1c]
je 0x140065a53
cmp r14d, dword [rdx + 0x20]
je 0x140065a53
add rbp, 3
cmp r12d, ebp
jg 0x1400654e4
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 0x1400657b5
mov ecx, dword [rdx]
cmp ecx, dword [r13]
je 0x140065a10
cmp eax, 1
je 0x1400657b5
cmp ecx, dword [r12]
je 0x1400659c5
cmp eax, 2
je 0x1400657b5
cmp ecx, dword [rbp]
je 0x1400659b0
cmp eax, 3
je 0x1400657b5
cmp ecx, dword [rdi]
je 0x140065a00
cmp eax, 4
je 0x1400657b5
cmp ecx, dword [rsi]
je 0x1400659f0
cmp eax, 5
je 0x1400657b5
cmp ecx, dword [rbx]
je 0x1400659e0
cmp eax, 6
je 0x1400657b5
cmp ecx, dword [r11]
je 0x1400659d0
cmp eax, 7
je 0x1400657b5
cmp ecx, dword [r10]
je 0x140065a30
cmp eax, 8
je 0x1400657b5
mov r14, qword [rsp + 0x20]
cmp ecx, dword [r14]
je 0x140065a20
add rdx, 4
cmp r15, rdx
jne 0x140065732
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 0x140065910
mov esi, dword [r9]
test esi, esi
jne 0x140065901
lea edi, [rax - 1]
and edi, 7
je 0x140065890
mov esi, 1
cmp esi, eax
jge 0x140065910
cmp dword [r9 + 4], 1
jne 0x140065901
cmp edi, 1
je 0x140065890
cmp edi, 2
je 0x140065883
cmp edi, 3
je 0x140065872
cmp edi, 4
je 0x140065861
cmp edi, 5
je 0x140065850
cmp edi, 6
je 0x14006583f
add esi, 1
movsxd rbx, esi
cmp dword [r9 + rbx*4], esi
jne 0x140065901
add esi, 1
movsxd r11, esi
cmp dword [r13 + r11*4], esi
jne 0x140065901
add esi, 1
movsxd r10, esi
cmp dword [r13 + r10*4], esi
jne 0x140065901
add esi, 1
movsxd r15, esi
cmp dword [r13 + r15*4], esi
jne 0x140065901
add esi, 1
movsxd r8, esi
cmp dword [r13 + r8*4], esi
jne 0x140065901
add esi, 1
movsxd r9, esi
cmp dword [r13 + r9*4], esi
jne 0x140065901
lea r14d, [rsi + 1]
cmp r14d, eax
jge 0x140065910
movsxd rcx, r14d
cmp dword [r13 + rcx*4], r14d
jne 0x140065901
lea edx, [rsi + 2]
movsxd r12, edx
cmp dword [r13 + r12*4], edx
jne 0x140065901
lea ebp, [rsi + 3]
movsxd rdi, ebp
cmp dword [r13 + rdi*4], ebp
jne 0x140065901
lea ebx, [rsi + 4]
movsxd r11, ebx
cmp dword [r13 + r11*4], ebx
jne 0x140065901
lea r10d, [rsi + 5]
movsxd r15, r10d
cmp dword [r13 + r15*4], r10d
jne 0x140065901
lea r8d, [rsi + 6]
movsxd r9, r8d
cmp dword [r13 + r9*4], r8d
jne 0x140065901
lea r14d, [rsi + 7]
movsxd rcx, r14d
cmp dword [r13 + rcx*4], r14d
jne 0x140065901
add esi, 8
movsxd rdx, esi
cmp dword [r13 + rdx*4], esi
je 0x140065890
mov eax, 1
jmp 0x14006591a
cmp dword [rsp + 0x108], eax
setne al
mov r13, qword [0x140285110]
mov rsi, qword [rsp + 0x88]
xor rsi, qword [r13]
jne 0x140065aeb
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 0x1400654c6
cmp r9d, dword [rdx]
je 0x140065994
cmp r9d, dword [rdx + 4]
je 0x140065994
cmp r9d, dword [rdx + 8]
je 0x140065994
cmp r9d, dword [rdx + 0xc]
je 0x140065994
cmp r9d, dword [rdx + 0x10]
je 0x140065994
cmp r9d, dword [rdx + 0x14]
je 0x140065994
cmp r9d, dword [rdx + 0x18]
je 0x140065994
cmp r9d, dword [rdx + 0x1c]
je 0x140065994
cmp r9d, dword [rdx + 0x20]
jne 0x1400654c6
movsxd rsi, eax
or dword [rsp + 0x38], r9d
add eax, 1
mov dword [rsp + rsi*4 + 0x60], r15d
jmp 0x1400654c6
mov r14d, dword [rsp + 0x44]
movsxd rcx, r8d
add r8d, 1
mov dword [r9 + rcx*4], r14d
jmp 0x1400657b5
mov r14d, dword [rsp + 0x40]
jmp 0x1400659b5
mov r14d, dword [rsp + 0x54]
jmp 0x1400659b5
mov r14d, dword [rsp + 0x50]
jmp 0x1400659b5
mov r14d, dword [rsp + 0x4c]
jmp 0x1400659b5
mov r14d, dword [rsp + 0x48]
jmp 0x1400659b5
mov r14d, dword [rsp + 0x3c]
jmp 0x1400659b5
mov r14d, dword [rsp + 0x5c]
jmp 0x1400659b5
mov r14d, dword [rsp + 0x58]
jmp 0x1400659b5
movsxd r15, eax
or r11d, r14d
add eax, 1
mov dword [rsp + r15*4 + 0x60], r13d
jmp 0x1400655c0
add rbp, 3
movsxd r15, eax
or r11d, r14d
add eax, 1
cmp r12d, ebp
mov dword [rsp + r15*4 + 0x60], r13d
jg 0x1400654e4
jmp 0x14006569f
movsxd rdi, eax
or r11d, r10d
add eax, 1
mov dword [rsp + rdi*4 + 0x60], ebx
jmp 0x140065550
movsxd r10, eax
or r11d, ebx
add eax, 1
mov dword [rsp + r10*4 + 0x60], esi
jmp 0x140065624
movsxd r11, eax
or dword [rsp + 0x38], edi
add eax, 1
mov dword [rsp + r11*4 + 0x60], 1
jmp 0x140065442
movsxd r14, eax
or dword [rsp + 0x38], r13d
add eax, 1
mov dword [rsp + r14*4 + 0x60], r12d
jmp 0x1400654b2
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x38], ebx
mov eax, 1
jmp 0x1400653b8
call fcn.1400c4ec0
nop
nop dword [rax + rax]
nop word cs:[rax + rax]