Function at 0x3a11949d0
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 edi, 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 edi, 0x10
ja 0x3a11952d1
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.3a1191f60
mov rbx, rax
cmp rax, 0xffffffffffffff88
ja 0x3a11952ba
mov r8d, dword [rsp + 0x78]
cmp edi, r8d
jb 0x3a11952d1
mov eax, r8d
lea r13d, [r8 + 1]
mov eax, dword [rsp + rax*4 + 0x80]
test eax, eax
jne 0x3a1195644
lea eax, [r8 - 1]
mov r15d, dword [rsp + rax*4 + 0x80]
mov rdx, rax
test r15d, r15d
jne 0x3a1195692
lea ecx, [r8 - 2]
mov r14d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r14d, r14d
jne 0x3a1195639
lea ecx, [r8 - 3]
mov r12d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r12d, r12d
jne 0x3a1194c21
lea ecx, [r8 - 4]
mov ebp, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test ebp, ebp
jne 0x3a1195639
lea ecx, [r8 - 5]
mov r11d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r11d, r11d
jne 0x3a1194c21
lea ecx, [r8 - 6]
mov r10d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r10d, r10d
jne 0x3a1195639
lea ecx, [r8 - 7]
mov r9d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r9d, r9d
jne 0x3a1194c21
lea ecx, [r8 - 8]
mov rax, rcx
mov ecx, dword [rsp + rcx*4 + 0x80]
test ecx, ecx
jne 0x3a1195639
lea ecx, [r8 - 9]
mov r15d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r15d, r15d
jne 0x3a1194c21
lea ecx, [r8 - 0xa]
mov r14d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r14d, r14d
jne 0x3a1195639
lea ecx, [r8 - 0xb]
mov r12d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r12d, r12d
jne 0x3a1194c21
lea ecx, [r8 - 0xc]
mov ebp, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test ebp, ebp
jne 0x3a1195639
lea ecx, [r8 - 0xd]
mov r11d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r11d, r11d
jne 0x3a1194c21
lea ecx, [r8 - 0xe]
mov r10d, dword [rsp + rcx*4 + 0x80]
mov rax, rcx
test r10d, r10d
jne 0x3a1195639
lea ecx, [r8 - 0xf]
mov r9d, dword [rsp + rcx*4 + 0x80]
mov rdx, rcx
test r9d, r9d
jne 0x3a1194c21
lea ecx, [r8 - 0x10]
mov rax, rcx
mov ecx, dword [rsp + rcx*4 + 0x80]
test ecx, ecx
jne 0x3a1195639
lea edx, [r8 - 0x11]
mov ecx, r13d
sub ecx, edx
mov dword [rsp + 0x40], ecx
mov ecx, edi
sub ecx, r8d
lea r9d, [rcx + rdx]
cmp eax, 1
jbe 0x3a119566c
mov r11d, dword [rsp + 0x84]
mov dword [rsp + 0x3c], r11d
cmp eax, 2
je 0x3a1194dd6
mov edx, dword [rsp + 0x88]
mov dword [rsp + 0x17c], r11d
add edx, r11d
cmp eax, 3
je 0x3a1195630
mov ecx, dword [rsp + 0x8c]
mov dword [rsp + 0x180], edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
cmp eax, 4
je 0x3a1194dd6
mov edx, dword [rsp + 0x90]
mov dword [rsp + 0x184], ecx
add edx, ecx
cmp eax, 5
je 0x3a1195630
mov ecx, dword [rsp + 0x94]
mov dword [rsp + 0x188], edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
cmp eax, 6
je 0x3a1194dd6
mov edx, dword [rsp + 0x98]
mov dword [rsp + 0x18c], ecx
add edx, ecx
cmp eax, 7
je 0x3a1195630
mov ecx, dword [rsp + 0x9c]
mov dword [rsp + 0x190], edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
cmp eax, 8
je 0x3a1194dd6
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x194], ecx
add edx, ecx
cmp eax, 9
je 0x3a1195630
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + 0x198], edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
cmp eax, 0xa
je 0x3a1194dd6
mov edx, dword [rsp + 0xa8]
mov dword [rsp + 0x19c], ecx
add edx, ecx
cmp eax, 0xb
je 0x3a1195630
mov ecx, dword [rsp + 0xac]
mov dword [rsp + 0x1a0], edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
cmp eax, 0xc
je 0x3a1194dd6
mov edx, dword [rsp + 0xb0]
mov dword [rsp + 0x1a4], ecx
add edx, ecx
cmp eax, 0xd
je 0x3a1195630
mov ecx, dword [rsp + 0xb4]
mov dword [rsp + 0x1a8], edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
cmp eax, 0xe
je 0x3a1194dd6
mov edx, ecx
add ecx, dword [rsp + 0xb8]
mov dword [rsp + 0x1ac], edx
cmp eax, 0xf
je 0x3a119569a
mov edx, dword [rsp + 0xbc]
mov dword [rsp + 0x1b0], ecx
add edx, ecx
cmp eax, 0x10
je 0x3a1195630
mov ecx, dword [rsp + 0xc0]
mov dword [rsp + 0x1b4], edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
mov edx, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x7c]
mov dword [rsp + 0x174], edx
test r10d, r10d
je 0x3a1195657
xor edx, edx
lea r11, [rsp + 0x174]
mov ebp, eax
mov r12, rbx
lea r15, [rsp + 0x2c0]
nop word cs:[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 0x3a1194e10
mov edx, edi
mov r11d, dword [rsp + 0x84]
mov eax, ebp
mov rbx, r12
mov dword [rsp + 0x174], 0
sub edx, r8d
cmp ebp, 1
jbe 0x3a1195066
mov dword [rsp + 0x4c4], 0
mov ecx, edx
shl r11d, cl
cmp eax, 2
je 0x3a11952da
mov r8d, dword [rsp + 0x88]
lea ecx, [rdx + 1]
mov dword [rsp + 0x4c8], r11d
shl r8d, cl
add r8d, r11d
cmp eax, 3
je 0x3a11952da
mov r10d, dword [rsp + 0x8c]
lea ecx, [rdx + 2]
mov dword [rsp + 0x4cc], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 4
je 0x3a11952da
mov r8d, dword [rsp + 0x90]
lea ecx, [rdx + 3]
mov dword [rsp + 0x4d0], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 5
je 0x3a11952da
mov r10d, dword [rsp + 0x94]
lea ecx, [rdx + 4]
mov dword [rsp + 0x4d4], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 6
je 0x3a11952da
mov r8d, dword [rsp + 0x98]
lea ecx, [rdx + 5]
mov dword [rsp + 0x4d8], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 7
je 0x3a11952da
mov r10d, dword [rsp + 0x9c]
lea ecx, [rdx + 6]
mov dword [rsp + 0x4dc], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 8
je 0x3a11952da
mov r8d, dword [rsp + 0xa0]
lea ecx, [rdx + 7]
mov dword [rsp + 0x4e0], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 9
je 0x3a11952da
mov r10d, dword [rsp + 0xa4]
lea ecx, [rdx + 8]
mov dword [rsp + 0x4e4], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 0xa
je 0x3a11952da
mov r8d, dword [rsp + 0xa8]
lea ecx, [rdx + 9]
mov dword [rsp + 0x4e8], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 0xb
je 0x3a11952da
mov r10d, dword [rsp + 0xac]
lea ecx, [rdx + 0xa]
mov dword [rsp + 0x4ec], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 0xc
je 0x3a11952da
mov r8d, dword [rsp + 0xb0]
lea ecx, [rdx + 0xb]
mov dword [rsp + 0x4f0], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 0xd
je 0x3a11952da
mov r10d, dword [rsp + 0xb4]
lea ecx, [rdx + 0xc]
mov dword [rsp + 0x4f4], r8d
shl r10d, cl
add r10d, r8d
cmp eax, 0xe
je 0x3a11952da
mov r8d, dword [rsp + 0xb8]
lea ecx, [rdx + 0xd]
mov dword [rsp + 0x4f8], r10d
shl r8d, cl
add r8d, r10d
cmp eax, 0xf
je 0x3a11952da
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 0x3a11952da
mov dword [rsp + 0x500], edx
cmp dword [rsp + 0x40], r9d
jb 0x3a11952e5
movdqa xmm2, xmmword [rsp + 0x4c0]
mov eax, r13d
movdqa xmm3, xmmword [rsp + 0x4d0]
movdqa xmm4, xmmword [rsp + 0x4e0]
sub eax, edi
movdqa xmm5, xmmword [rsp + 0x4f0]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x500]
movaps xmmword [rsp + 0xd0], xmm2
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x3c]
movaps xmmword [rsp + 0xe0], xmm3
movaps xmmword [rsp + 0xf0], xmm4
movaps xmmword [rsp + 0x100], xmm5
test eax, eax
je 0x3a11952ba
mov eax, dword [rsp + 0x3c]
lea r15, [rsp + 0x2c0]
sub edi, r13d
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x44], edi
mov r10, r15
mov r8, r15
lea rax, [r15 + rax*2]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x950]
add rax, 4
mov qword [rsp + 0x60], rax
nop dword [rax]
movzx eax, byte [r10 + 1]
mov ebx, dword [rsp + 0x44]
mov r11d, 1
mov ebp, r13d
mov edi, dword [rsp + 0x40]
movzx r12d, byte [r10]
mov r9d, dword [rsp + rax*4 + 0xd0]
lea ecx, [rax + rbx]
sub ebp, eax
shl r11d, cl
lea edx, [r9 + r11]
cmp ecx, edi
jb 0x3a1195540
mov edi, dword [rsp + 0x5c]
mov ebx, 1
mov r11d, dword [rsp + 0x3c]
mov r14, qword [rsp + 0x950]
add edi, ebp
lea r15, [r14 + r9*4 + 4]
mov r14d, ebp
test edi, edi
mov r9, r14
cmovg ebx, edi
shl r9, 4
add r9, r14
movsxd rbx, ebx
shl r9, 2
mov esi, dword [rsp + rbx*4 + 0x170]
lea r14, [rsp + r9 + 0x4c0]
movdqu xmm2, xmmword [rsp + r9 + 0x4c0]
movdqu xmm3, xmmword [r14 + 0x10]
movdqu xmm4, xmmword [r14 + 0x20]
sub r11d, esi
movdqu xmm5, xmmword [r14 + 0x30]
mov r9d, dword [r14 + 0x40]
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 edi, 1
jle 0x3a1195206
mov edi, dword [rsp + rbx*4 + 0x120]
mov ebx, ebp
test edi, edi
je 0x3a1195206
mov r9, r15
lea rdi, [r15 + rdi*4]
nop word [rax + rax]
mov word [r9], r12w
add r9, 4
mov byte [r9 - 2], bl
mov byte [r9 - 1], 1
cmp r9, rdi
jne 0x3a11951f0
test r11d, r11d
je 0x3a119529c
mov dword [rsp + 0x58], edx
mov edi, ecx
add r11, rsi
lea rbx, [r8 + rsi*2]
mov qword [rsp + 0x50], r10
sub edi, r13d
lea r14, [r8 + r11*2]
nop dword [rax + rax]
movzx r11d, byte [rbx + 1]
movzx r9d, byte [rbx]
mov r10d, 1
lea ecx, [r11 + rdi]
mov edx, dword [rsp + r11*4 + 0x120]
shl r9d, 8
shl r10d, cl
mov ecx, r13d
add r9d, r12d
sub ecx, r11d
add r10d, edx
lea esi, [rbp + rcx]
nop word [rax + rax]
mov ecx, edx
add edx, 1
lea rcx, [r15 + rcx*4]
mov word [rcx], r9w
mov byte [rcx + 2], sil
mov byte [rcx + 3], 2
cmp edx, r10d
jb 0x3a1195268
add rbx, 2
mov dword [rsp + r11*4 + 0x120], r10d
cmp r14, rbx
jne 0x3a1195230
mov edx, dword [rsp + 0x58]
mov r10, qword [rsp + 0x50]
mov dword [rsp + rax*4 + 0xd0], edx
mov rax, qword [rsp + 0x48]
add r10, 2
cmp r10, rax
jne 0x3a1195108
mov rbx, qword [rsp + 0x68]
mov rax, rbx
add rsp, 0x908
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, 0xffffffffffffffd4
jmp 0x3a11952ba
cmp dword [rsp + 0x40], r9d
jae 0x3a1195066
mov ecx, dword [rsp + 0x40]
lea ebp, [rax - 1]
lea r11, [rsp + 0x4c0]
mov r10d, ebp
lea r15d, [rax - 2]
mov rdx, rcx
shr r10d, 2
shl rdx, 4
add rdx, rcx
mov ecx, ebp
and ebp, 3
and ecx, 0xfffffffc
lea rdx, [r11 + rdx*4]
lea r8d, [rcx + 1]
shl r8, 2
mov qword [rsp + 0x48], r8
lea rsi, [r11 + r8]
lea r8d, [rcx + 2]
add ecx, 3
lea r14, [r8*4]
mov dword [rsp + 0x58], r8d
mov r8, 0xfffffffffffffffc
mov qword [rsp + 0x50], r14
lea r12, [r11 + r14]
lea r14, [rcx*4]
sub r8, r11
mov dword [rsp + 0x5c], ecx
mov ecx, dword [rsp + 0x40]
mov qword [rsp + 0x60], r14
add r14, r11
cmp r15d, 2
ja 0x3a1195399
mov r11d, dword [rsp + 0x4c4]
shr r11d, cl
mov dword [rdx + 4], r11d
cmp eax, 2
jne 0x3a11956a3
add ecx, 1
add rdx, 0x44
cmp ecx, r9d
je 0x3a1195066
cmp r15d, 2
jbe 0x3a119536b
mov dword [rsp + 0x44], r15d
lea r11, [r8 + rdx]
cmp r11, 8
ja 0x3a1195583
mov r11d, dword [rsp + 0x4c4]
mov r15d, dword [rsp + 0x44]
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 0x3a1195383
mov r11d, dword [rsp + 0x4d0]
shr r11d, cl
mov dword [rdx + 0x10], r11d
cmp eax, 5
je 0x3a1195383
mov r11d, dword [rsp + 0x4d4]
shr r11d, cl
mov dword [rdx + 0x14], r11d
cmp eax, 6
je 0x3a1195383
mov r11d, dword [rsp + 0x4d8]
shr r11d, cl
mov dword [rdx + 0x18], r11d
cmp eax, 7
je 0x3a1195383
mov r11d, dword [rsp + 0x4dc]
shr r11d, cl
mov dword [rdx + 0x1c], r11d
cmp eax, 8
je 0x3a1195383
mov r11d, dword [rsp + 0x4e0]
shr r11d, cl
mov dword [rdx + 0x20], r11d
cmp eax, 9
je 0x3a1195383
mov r11d, dword [rsp + 0x4e4]
shr r11d, cl
mov dword [rdx + 0x24], r11d
cmp eax, 0xa
je 0x3a1195383
mov r11d, dword [rsp + 0x4e8]
shr r11d, cl
mov dword [rdx + 0x28], r11d
cmp eax, 0xb
je 0x3a1195383
mov r11d, dword [rsp + 0x4ec]
shr r11d, cl
mov dword [rdx + 0x2c], r11d
cmp eax, 0xc
je 0x3a1195383
mov r11d, dword [rsp + 0x4f0]
shr r11d, cl
mov dword [rdx + 0x30], r11d
cmp eax, 0xd
je 0x3a1195383
mov r11d, dword [rsp + 0x4f4]
shr r11d, cl
mov dword [rdx + 0x34], r11d
cmp eax, 0xe
je 0x3a1195383
mov r11d, dword [rsp + 0x4f8]
shr r11d, cl
mov dword [rdx + 0x38], r11d
cmp eax, 0xf
je 0x3a1195383
mov r11d, dword [rsp + 0x4fc]
shr r11d, cl
mov dword [rdx + 0x3c], r11d
cmp eax, 0x10
je 0x3a1195383
mov r11d, dword [rsp + 0x500]
shr r11d, cl
mov dword [rdx + 0x40], r11d
cmp eax, 0x11
je 0x3a1195383
mov r11d, dword [rsp + 0x504]
add rdx, 0x44
shr r11d, cl
add ecx, 1
mov dword [rdx], r11d
cmp ecx, r9d
jne 0x3a1195393
jmp 0x3a1195066
cmp r9d, edx
jae 0x3a119529c
mov rdi, qword [rsp + 0x950]
sub r11d, 1
add r11, r9
lea rcx, [rdi + r9*4]
mov rdi, qword [rsp + 0x60]
lea r9, [rdi + r11*4]
nop dword [rax]
mov word [rcx + 4], r12w
add rcx, 4
mov byte [rcx + 2], bpl
mov byte [rcx + 3], 1
cmp rcx, r9
jne 0x3a1195568
jmp 0x3a119529c
movdqu xmm0, xmmword [rsp + 0x4c4]
movd xmm1, ecx
psrld xmm0, xmm1
movups xmmword [rdx + 4], xmm0
cmp r10d, 1
jbe 0x3a11955dd
movdqu xmm0, xmmword [rsp + 0x4d4]
psrld xmm0, xmm1
movups xmmword [rdx + 0x14], xmm0
cmp r10d, 2
je 0x3a11955dd
movdqu xmm0, xmmword [rsp + 0x4e4]
psrld xmm0, xmm1
movups xmmword [rdx + 0x24], xmm0
cmp r10d, 3
je 0x3a11955dd
movdqu xmm0, xmmword [rsp + 0x4f4]
psrld xmm0, xmm1
movups xmmword [rdx + 0x34], xmm0
test ebp, ebp
je 0x3a119561b
mov r11d, dword [rsi]
mov r15, qword [rsp + 0x48]
shr r11d, cl
mov dword [rdx + r15], r11d
cmp dword [rsp + 0x58], eax
jae 0x3a119561b
mov r11d, dword [r12]
mov r15, qword [rsp + 0x50]
shr r11d, cl
mov dword [rdx + r15], r11d
cmp dword [rsp + 0x5c], eax
jae 0x3a119561b
mov r11d, dword [r14]
mov r15, qword [rsp + 0x60]
shr r11d, cl
mov dword [rdx + r15], r11d
add ecx, 1
add rdx, 0x44
cmp ecx, r9d
jne 0x3a119539e
jmp 0x3a1195066
mov dword [rsp + 0x3c], edx
jmp 0x3a1194dd6
mov ecx, edx
mov edx, eax
mov eax, ecx
jmp 0x3a1194c21
mov dword [rsp + 0x40], 1
mov eax, r13d
mov r9d, edi
jmp 0x3a1194c33
mov dword [rsp + 0x174], 0
mov edx, edi
sub edx, r8d
jmp 0x3a1194e5d
mov r10d, dword [rsp + 0x7c]
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x174], 0
test r10d, r10d
jne 0x3a1194def
jmp 0x3a1195066
mov eax, r8d
jmp 0x3a1194c21
mov dword [rsp + 0x3c], ecx
jmp 0x3a1194dd6
mov r11d, dword [rsp + 0x4c8]
shr r11d, cl
mov dword [rdx + 8], r11d
cmp eax, 4
je 0x3a11953cf
jmp 0x3a1195383