Function at 0x1401589f0
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, 0x908
pxor xmm0, xmm0
mov ebx, dword [rcx]
mov qword [rsp + 0x950], rcx
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0x1b0], 0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x190], xmm0
movaps xmmword [rsp + 0x1a0], xmm0
cmp ebx, 0x10
ja 0x1401593a1
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x80]
lea rsi, [rsp + 0x1c0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x7c]
mov rdx, rax
mov rcx, rsi
call fcn.140159720
mov rbp, rax
cmp rax, 0xffffffffffffff88
ja 0x14015938a
mov r8d, dword [rsp + 0x78]
cmp ebx, r8d
jb 0x1401593a1
mov eax, r8d
lea r13d, [r8 + 1]
mov eax, dword [rsp + rax*4 + 0x80]
test eax, eax
jne 0x1401596a9
lea eax, [r8 - 1]
mov r15d, dword [rsp + rax*4 + 0x80]
mov rdx, rax
test r15d, r15d
jne 0x1401596eb
lea ecx, [r8 - 2]
mov r14d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r14d, r14d
jne 0x140159695
lea edx, [r8 - 3]
mov r12d, dword [rsp + rdx*4 + 0x80]
mov rcx, rdx
test r12d, r12d
jne 0x1401596e4
lea eax, [r8 - 4]
mov edi, dword [rsp + rax*4 + 0x80]
mov rdx, rax
test edi, edi
jne 0x1401596a2
lea ecx, [r8 - 5]
mov r11d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r11d, r11d
jne 0x140159695
lea ecx, [r8 - 6]
mov r10d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r10d, r10d
jne 0x140158c45
lea ecx, [r8 - 7]
mov r9d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r9d, r9d
jne 0x140159695
lea ecx, [r8 - 8]
mov rdx, rcx
mov ecx, dword [rsp + rcx*4 + 0x80]
test ecx, ecx
jne 0x140158c45
lea ecx, [r8 - 9]
mov r15d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r15d, r15d
jne 0x140159695
lea ecx, [r8 - 0xa]
mov r14d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r14d, r14d
jne 0x140158c45
lea ecx, [r8 - 0xb]
mov r12d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r12d, r12d
jne 0x140159695
lea ecx, [r8 - 0xc]
mov edi, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test edi, edi
jne 0x140158c45
lea ecx, [r8 - 0xd]
mov r11d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r11d, r11d
jne 0x140159695
lea ecx, [r8 - 0xe]
mov r10d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r10d, r10d
jne 0x140158c45
lea eax, [r8 - 0xf]
mov r9d, dword [rsp + rax*4 + 0x80]
mov rcx, rax
test r9d, r9d
jne 0x1401596e2
lea edx, [r8 - 0x10]
mov rax, rdx
mov edx, dword [rsp + rdx*4 + 0x80]
test edx, edx
jne 0x1401596a0
lea edx, [r8 - 0x11]
mov edi, r13d
mov ecx, ebx
sub edi, edx
sub ecx, r8d
mov dword [rsp + 0x38], edi
lea r9d, [rcx + rdx]
cmp eax, 1
jbe 0x1401596bc
mov r11d, dword [rsp + 0x84]
mov dword [rsp + 0x34], r11d
cmp eax, 2
je 0x140158dfa
mov edx, dword [rsp + 0x88]
mov dword [rsp + 0x17c], r11d
add edx, r11d
cmp eax, 3
je 0x14015968c
mov edi, dword [rsp + 0x8c]
mov dword [rsp + 0x180], edx
add edi, edx
mov dword [rsp + 0x34], edi
cmp eax, 4
je 0x140158dfa
mov edx, dword [rsp + 0x90]
mov dword [rsp + 0x184], edi
add edx, edi
cmp eax, 5
je 0x14015968c
mov edi, dword [rsp + 0x94]
mov dword [rsp + 0x188], edx
add edi, edx
mov dword [rsp + 0x34], edi
cmp eax, 6
je 0x140158dfa
mov edx, dword [rsp + 0x98]
mov dword [rsp + 0x18c], edi
add edx, edi
cmp eax, 7
je 0x14015968c
mov edi, dword [rsp + 0x9c]
mov dword [rsp + 0x190], edx
add edi, edx
mov dword [rsp + 0x34], edi
cmp eax, 8
je 0x140158dfa
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x194], edi
add edx, edi
cmp eax, 9
je 0x14015968c
mov edi, dword [rsp + 0xa4]
mov dword [rsp + 0x198], edx
add edi, edx
mov dword [rsp + 0x34], edi
cmp eax, 0xa
je 0x140158dfa
mov edx, dword [rsp + 0xa8]
mov dword [rsp + 0x19c], edi
add edx, edi
cmp eax, 0xb
je 0x14015968c
mov edi, dword [rsp + 0xac]
mov dword [rsp + 0x1a0], edx
add edi, edx
mov dword [rsp + 0x34], edi
cmp eax, 0xc
je 0x140158dfa
mov edx, dword [rsp + 0xb0]
mov dword [rsp + 0x1a4], edi
add edx, edi
cmp eax, 0xd
je 0x14015968c
mov edi, dword [rsp + 0xb4]
mov dword [rsp + 0x1a8], edx
add edi, edx
mov dword [rsp + 0x34], edi
cmp eax, 0xe
je 0x140158dfa
mov ecx, dword [rsp + 0xb8]
mov dword [rsp + 0x1ac], edi
add ecx, edi
cmp eax, 0xf
je 0x140159708
mov edx, dword [rsp + 0xbc]
mov dword [rsp + 0x1b0], ecx
add edx, ecx
cmp eax, 0x10
je 0x14015968c
mov edi, dword [rsp + 0xc0]
mov dword [rsp + 0x1b4], edx
add edi, edx
mov dword [rsp + 0x34], edi
mov edi, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x7c]
mov dword [rsp + 0x174], edi
test r10d, r10d
je 0x1401596f3
xor edx, edx
lea r11, [rsp + 0x174]
mov edi, ebx
mov r12d, eax
lea r15, [rsp + 0x2c0]
nop word [rax + rax]
movzx eax, byte [rsi + rdx]
mov rbx, rax
lea rax, [r11 + rax*4]
mov ecx, dword [rax]
lea r14d, [rcx + 1]
mov dword [rax], r14d
movzx eax, dl
add rdx, 1
mov ah, bl
mov word [r15 + rcx*2], ax
cmp rdx, r10
jne 0x140158e30
mov edx, edi
mov r11d, dword [rsp + 0x84]
mov ebx, edi
mov eax, r12d
mov dword [rsp + 0x174], 0
sub edx, r8d
cmp r12d, 1
jbe 0x140159135
mov dword [rsp + 0x4c4], 0
mov ecx, edx
shl r11d, cl
cmp eax, 2
je 0x14015967c
mov r8d, dword [rsp + 0x88]
lea ecx, [rdx + 1]
mov dword [rsp + 0x4c8], r11d
shl r8d, cl
add r8d, r11d
cmp eax, 3
je 0x14015967c
mov r10d, dword [rsp + 0x8c]
lea ecx, [rdx + 2]
mov dword [rsp + 0x4cc], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 4
je 0x14015967c
mov r8d, dword [rsp + 0x90]
lea ecx, [rdx + 3]
mov dword [rsp + 0x4d0], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 5
je 0x14015967c
mov r10d, dword [rsp + 0x94]
lea ecx, [rdx + 4]
mov dword [rsp + 0x4d4], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 6
je 0x14015967c
mov r8d, dword [rsp + 0x98]
lea ecx, [rdx + 5]
mov dword [rsp + 0x4d8], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 7
je 0x14015967c
mov r10d, dword [rsp + 0x9c]
lea ecx, [rdx + 6]
mov dword [rsp + 0x4dc], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 8
je 0x14015967c
mov r8d, dword [rsp + 0xa0]
lea ecx, [rdx + 7]
mov dword [rsp + 0x4e0], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 9
je 0x14015967c
mov r10d, dword [rsp + 0xa4]
lea ecx, [rdx + 8]
mov dword [rsp + 0x4e4], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 0xa
je 0x14015967c
mov r8d, dword [rsp + 0xa8]
lea ecx, [rdx + 9]
mov dword [rsp + 0x4e8], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 0xb
je 0x14015967c
mov r10d, dword [rsp + 0xac]
lea ecx, [rdx + 0xa]
mov dword [rsp + 0x4ec], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 0xc
je 0x14015967c
mov r8d, dword [rsp + 0xb0]
lea ecx, [rdx + 0xb]
mov dword [rsp + 0x4f0], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 0xd
je 0x14015967c
mov r10d, dword [rsp + 0xb4]
lea ecx, [rdx + 0xc]
mov dword [rsp + 0x4f4], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 0xe
je 0x14015967c
mov r8d, dword [rsp + 0xb8]
lea ecx, [rdx + 0xd]
mov dword [rsp + 0x4f8], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 0xf
je 0x14015967c
add edx, 0xe
mov esi, dword [rsp + 0xbc]
mov dword [rsp + 0x4fc], r8d
mov ecx, edx
shl esi, cl
mov edx, esi
add edx, r8d
cmp eax, 0x10
je 0x14015967c
mov dword [rsp + 0x500], edx
cmp dword [rsp + 0x38], r9d
jae 0x140159135
mov ecx, dword [rsp + 0x38]
lea edi, [rax - 2]
lea r11, [rsp + 0x4c0]
mov dword [rsp + 0x60], edi
lea edi, [rax - 1]
mov rdx, rcx
mov r10d, edi
shl rdx, 4
shr r10d, 2
add rdx, rcx
mov ecx, edi
and edi, 3
and ecx, 0xfffffffc
lea rdx, [r11 + rdx*4]
lea r8d, [rcx + 1]
lea r14, [r8*4]
lea r8d, [rcx + 2]
add ecx, 3
mov dword [rsp + 0x40], r8d
shl r8, 2
lea rsi, [r11 + r14]
mov qword [rsp + 0x48], r8
lea r12, [r11 + r8]
lea r8, [rcx*4]
mov dword [rsp + 0x50], ecx
lea r15, [r11 + r8]
mov ecx, dword [rsp + 0x38]
mov qword [rsp + 0x58], r8
mov r8, 0xfffffffffffffffc
sub r8, r11
cmp dword [rsp + 0x60], 2
ja 0x1401593ba
mov r11d, dword [rsp + 0x4c4]
shr r11d, cl
mov dword [rdx + 4], r11d
cmp eax, 2
jne 0x14015964f
add ecx, 1
add rdx, 0x44
cmp ecx, r9d
jne 0x140159111
movdqa xmm2, xmmword [rsp + 0x4c0]
mov eax, r13d
movdqa xmm3, xmmword [rsp + 0x4d0]
movdqa xmm4, xmmword [rsp + 0x4e0]
sub eax, ebx
movdqa xmm5, xmmword [rsp + 0x4f0]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x500]
movaps xmmword [rsp + 0xd0], xmm2
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x34]
movaps xmmword [rsp + 0xe0], xmm3
movaps xmmword [rsp + 0xf0], xmm4
movaps xmmword [rsp + 0x100], xmm5
test eax, eax
je 0x14015938a
mov eax, dword [rsp + 0x34]
lea r15, [rsp + 0x2c0]
sub ebx, r13d
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x3c], ebx
mov r10, r15
mov r8, r15
lea rax, [r15 + rax*2]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x950]
add rax, 4
mov qword [rsp + 0x60], rax
nop dword [rax]
movzx eax, byte [r10 + 1]
mov esi, dword [rsp + 0x3c]
mov r11d, 1
mov r12d, r13d
movzx r15d, byte [r10]
lea ecx, [rax + rsi]
mov r9d, dword [rsp + rax*4 + 0xd0]
mov esi, dword [rsp + 0x38]
sub r12d, eax
shl r11d, cl
lea edx, [r9 + r11]
cmp ecx, esi
jb 0x140159560
mov esi, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x950]
mov r14d, r12d
mov r11d, dword [rsp + 0x34]
lea ebp, [rsi + r12]
lea rbx, [rbx + r9*4 + 4]
mov esi, 1
mov r9, r14
test ebp, ebp
cmovg esi, ebp
shl r9, 4
add r9, r14
shl r9, 2
movsxd rsi, esi
lea r14, [rsp + r9 + 0x4c0]
mov edi, dword [rsp + rsi*4 + 0x170]
movdqu xmm2, xmmword [rsp + r9 + 0x4c0]
movdqu xmm3, xmmword [r14 + 0x10]
movdqu xmm4, xmmword [r14 + 0x20]
movdqu xmm5, xmmword [r14 + 0x30]
mov r9d, dword [r14 + 0x40]
sub r11d, edi
movaps xmmword [rsp + 0x120], xmm2
movaps xmmword [rsp + 0x130], xmm3
mov dword [rsp + 0x160], r9d
movaps xmmword [rsp + 0x140], xmm4
movaps xmmword [rsp + 0x150], xmm5
cmp ebp, 1
jle 0x1401592d6
mov ebp, dword [rsp + rsi*4 + 0x120]
mov esi, r12d
test ebp, ebp
je 0x1401592d6
mov r9, rbx
lea rbp, [rbx + rbp*4]
nop dword [rax + rax]
mov word [r9], r15w
add r9, 4
mov byte [r9 - 2], sil
mov byte [r9 - 1], 1
cmp r9, rbp
jne 0x1401592c0
test r11d, r11d
je 0x14015936c
mov dword [rsp + 0x48], edx
sub ecx, r13d
add r11, rdi
lea rsi, [r8 + rdi*2]
mov qword [rsp + 0x50], r10
mov ebp, ecx
lea r14, [r8 + r11*2]
nop dword [rax + rax]
movzx r11d, byte [rsi + 1]
movzx r9d, byte [rsi]
mov r10d, 1
lea ecx, [r11 + rbp]
mov edx, dword [rsp + r11*4 + 0x120]
shl r9d, 8
shl r10d, cl
mov ecx, r13d
add r9d, r15d
sub ecx, r11d
add r10d, edx
lea edi, [r12 + rcx]
nop word [rax + rax]
mov ecx, edx
add edx, 1
lea rcx, [rbx + rcx*4]
mov word [rcx], r9w
mov byte [rcx + 2], dil
mov byte [rcx + 3], 2
cmp edx, r10d
jb 0x140159338
add rsi, 2
mov dword [rsp + r11*4 + 0x120], r10d
cmp r14, rsi
jne 0x140159300
mov edx, dword [rsp + 0x48]
mov r10, qword [rsp + 0x50]
mov dword [rsp + rax*4 + 0xd0], edx
mov rax, qword [rsp + 0x40]
add r10, 2
cmp r10, rax
jne 0x1401591d8
mov rbp, qword [rsp + 0x68]
mov rax, rbp
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, 0xffffffffffffffd4
jmp 0x14015938a
add ecx, 1
add rdx, 0x44
cmp ecx, r9d
je 0x140159135
mov dword [rsp + 0x3c], ebx
lea r11, [r8 + rdx]
cmp r11, 8
ja 0x1401595a3
mov r11d, dword [rsp + 0x4c4]
mov ebx, dword [rsp + 0x3c]
shr r11d, cl
mov dword [rdx + 4], r11d
mov r11d, dword [rsp + 0x4c8]
shr r11d, cl
mov dword [rdx + 8], r11d
mov r11d, dword [rsp + 0x4cc]
shr r11d, cl
mov dword [rdx + 0xc], r11d
cmp eax, 4
je 0x140159667
mov r11d, dword [rsp + 0x4d0]
shr r11d, cl
mov dword [rdx + 0x10], r11d
cmp eax, 5
je 0x1401593aa
mov r11d, dword [rsp + 0x4d4]
shr r11d, cl
mov dword [rdx + 0x14], r11d
cmp eax, 6
je 0x1401593aa
mov r11d, dword [rsp + 0x4d8]
shr r11d, cl
mov dword [rdx + 0x18], r11d
cmp eax, 7
je 0x1401593aa
mov r11d, dword [rsp + 0x4dc]
shr r11d, cl
mov dword [rdx + 0x1c], r11d
cmp eax, 8
je 0x1401593aa
mov r11d, dword [rsp + 0x4e0]
shr r11d, cl
mov dword [rdx + 0x20], r11d
cmp eax, 9
je 0x140159541
mov r11d, dword [rsp + 0x4e4]
shr r11d, cl
mov dword [rdx + 0x24], r11d
cmp eax, 0xa
je 0x140159541
mov r11d, dword [rsp + 0x4e8]
shr r11d, cl
mov dword [rdx + 0x28], r11d
cmp eax, 0xb
je 0x140159541
mov r11d, dword [rsp + 0x4ec]
shr r11d, cl
mov dword [rdx + 0x2c], r11d
cmp eax, 0xc
je 0x1401593aa
mov r11d, dword [rsp + 0x4f0]
shr r11d, cl
mov dword [rdx + 0x30], r11d
cmp eax, 0xd
je 0x140159541
mov r11d, dword [rsp + 0x4f4]
shr r11d, cl
mov dword [rdx + 0x34], r11d
cmp eax, 0xe
je 0x140159541
mov r11d, dword [rsp + 0x4f8]
shr r11d, cl
mov dword [rdx + 0x38], r11d
cmp eax, 0xf
je 0x1401593aa
mov r11d, dword [rsp + 0x4fc]
shr r11d, cl
mov dword [rdx + 0x3c], r11d
cmp eax, 0x10
je 0x1401593aa
mov r11d, dword [rsp + 0x500]
shr r11d, cl
mov dword [rdx + 0x40], r11d
cmp eax, 0x11
je 0x1401593aa
mov r11d, dword [rsp + 0x504]
shr r11d, cl
mov dword [rdx + 0x44], r11d
add ecx, 1
add rdx, 0x44
cmp r9d, ecx
jne 0x1401593ba
jmp 0x140159135
cmp r9d, edx
jae 0x14015936c
mov rsi, qword [rsp + 0x950]
sub r11d, 1
add r11, r9
lea rcx, [rsi + r9*4]
mov rsi, qword [rsp + 0x60]
lea r9, [rsi + r11*4]
nop dword [rax]
mov word [rcx + 4], r15w
add rcx, 4
mov byte [rcx + 2], r12b
mov byte [rcx + 3], 1
cmp r9, rcx
jne 0x140159588
jmp 0x14015936c
movdqu xmm0, xmmword [rsp + 0x4c4]
movd xmm1, ecx
psrld xmm0, xmm1
movups xmmword [rdx + 4], xmm0
cmp r10d, 1
je 0x1401595fd
movdqu xmm0, xmmword [rsp + 0x4d4]
psrld xmm0, xmm1
movups xmmword [rdx + 0x14], xmm0
cmp r10d, 2
je 0x1401595fd
movdqu xmm0, xmmword [rsp + 0x4e4]
psrld xmm0, xmm1
movups xmmword [rdx + 0x24], xmm0
cmp r10d, 3
je 0x1401595fd
movdqu xmm0, xmmword [rsp + 0x4f4]
psrld xmm0, xmm1
movups xmmword [rdx + 0x34], xmm0
test edi, edi
je 0x140159636
mov r11d, dword [rsi]
shr r11d, cl
mov dword [rdx + r14], r11d
cmp dword [rsp + 0x40], eax
jae 0x140159636
mov r11d, dword [r12]
mov rbx, qword [rsp + 0x48]
shr r11d, cl
mov dword [rdx + rbx], r11d
cmp dword [rsp + 0x50], eax
jae 0x140159636
mov r11d, dword [r15]
mov rbx, qword [rsp + 0x58]
shr r11d, cl
mov dword [rdx + rbx], r11d
add ecx, 1
add rdx, 0x44
cmp ecx, r9d
jne 0x1401593be
mov ebx, dword [rsp + 0x3c]
jmp 0x140159135
mov r11d, dword [rsp + 0x4c8]
shr r11d, cl
mov dword [rdx + 8], r11d
cmp eax, 4
je 0x1401593ee
add ecx, 1
add rdx, 0x44
cmp ecx, r9d
jne 0x140159106
jmp 0x140159135
cmp dword [rsp + 0x38], r9d
jb 0x140159087
jmp 0x140159135
mov dword [rsp + 0x34], edx
jmp 0x140158dfa
mov ecx, edx
mov edx, eax
mov eax, ecx
jmp 0x140158c45
mov edx, eax
mov eax, ecx
jmp 0x140158c45
mov dword [rsp + 0x38], 1
mov eax, r13d
mov r9d, ebx
jmp 0x140158c57
mov r10d, dword [rsp + 0x7c]
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x174], 0
test r10d, r10d
jne 0x140158e13
jmp 0x140159135
mov eax, edx
mov edx, ecx
jmp 0x140158c45
mov eax, r8d
jmp 0x140158c45
mov dword [rsp + 0x174], 0
mov edx, ebx
sub edx, r8d
jmp 0x140158e7e
mov dword [rsp + 0x34], ecx
jmp 0x140158dfa