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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov r9d, dword [rcx + 0x24]
xor r13d, r13d
mov rcx, qword [rcx]
mov r11, r8
movsx r12d, word [rdx + 2]
mov r10, rdx
add r12d, 4
mov qword [rbp - 0x20], rcx
mov dword [rsp + 0x34], r12d
mov r15, qword [rcx + 0xa0]
mov rsi, qword [rcx + 0x410]
mov qword [rbp - 0x38], r15
mov qword [rsp + 0x48], r13
mov r14, qword [r15 + 0x30]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x28], rsi
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x40], r13
mov qword [rbp - 0x58], r13
mov qword [rsp + 0x68], r13
cmp byte [rcx + 0x409], r13b
je 0x1403a80f8
test rsi, rsi
je 0x1403a80f8
test r12d, r12d
je 0x1403a779a
mov edx, r13d
mov r8d, r12d
nop dword [rax]
mov rax, qword [r10 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 6
mov dword [r11 + rdx - 8], ecx
mov rax, qword [r10 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 6
mov dword [r11 + rdx - 4], ecx
sub r8, 1
jne 0x1403a7770
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xf8], rdi
cmp r9d, dword [rsi + 0x78]
jae 0x1403a80f4
mov rcx, qword [rsi + 0x80]
lea eax, [r9 + 1]
lea rbx, [rax*4]
lea rdi, [r9*4]
mov eax, dword [rbx + rcx]
cmp dword [rdi + rcx], eax
je 0x1403a80f4
lea rax, [rsp + 0x30]
mov r9d, r12d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 8
mov qword [rsp + 0x20], r13
mov rcx, r14
call fcn.140393510
mov qword [rbp - 0x68], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a80a8
lea rax, [rsp + 0x30]
mov r9d, r12d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 8
mov qword [rsp + 0x20], r13
mov rcx, r14
call fcn.140393510
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a80a8
lea rax, [rsp + 0x30]
mov r9d, r12d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 1
mov qword [rsp + 0x20], r13
mov rcx, r14
call fcn.140393510
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a80a8
mov rcx, qword [rsi + 0x80]
mov edx, dword [rcx + rdi]
mov ebx, dword [rbx + rcx]
mov rcx, r15
sub ebx, edx
call fcn.140391190
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1403a80a8
mov edx, ebx
mov rcx, r15
call fcn.1403904c0
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1403a80a8
mov edi, dword [r15 + 0x38]
lea rax, [rsp + 0x30]
mov r9d, dword [rsi]
xor r8d, r8d
sub edi, dword [r15]
mov edx, 4
mov qword [rsp + 0x28], rax
mov rcx, r14
mov qword [rsp + 0x20], r13
call fcn.140393510
mov qword [rbp - 0x80], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a8071
mov r9d, dword [rsi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 4
mov qword [rsp + 0x20], r13
mov rcx, r14
call fcn.140393510
mov qword [rbp - 0x78], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a8071
mov r9d, dword [rsi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 4
mov qword [rsp + 0x20], r13
mov rcx, r14
call fcn.140393510
mov qword [rbp - 0x70], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a8071
mov rcx, r15
call fcn.1403907a0
mov rcx, r15
movzx r14d, ax
call fcn.1403907a0
movzx edx, ax
cmp edx, ebx
ja 0x1403a8064
mov eax, r14d
and eax, 0xfff
mov dword [rsp + 0x64], eax
lea eax, [rax*4]
cmp eax, ebx
ja 0x1403a8064
add edx, edi
mov dword [rsp + 0x38], edx
bt r14d, 0xf
jae 0x1403a79e8
mov ebx, dword [r15 + 0x38]
mov eax, dword [r15 + 0x40]
sub ebx, dword [r15]
sub eax, dword [r15]
cmp edx, eax
jae 0x1403a79a3
mov eax, edx
add rax, qword [r15]
jmp 0x1403a79a7
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
lea r8, [rsp + 0x58]
mov edx, dword [rsi + 0x88]
mov rcx, r15
call fcn.1403a9480
mov ecx, dword [r15 + 0x38]
sub ecx, dword [r15]
mov dword [rsp + 0x38], ecx
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov qword [rsp + 0x40], rax
cmp ebx, ecx
jae 0x1403a79e0
mov ecx, ebx
add rcx, qword [r15]
jmp 0x1403a79e4
mov rcx, qword [r15 + 0x40]
mov qword [r15 + 0x38], rcx
mov r14, qword [rsp + 0x70]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, r14
mov r9d, r12d
mov qword [rsp + 0x20], r13
xor r8d, r8d
mov edx, 4
call fcn.140393510
mov rbx, rax
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a803f
lea rax, [rsp + 0x30]
mov r9d, r12d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 4
mov qword [rsp + 0x20], r13
mov rcx, r14
call fcn.140393510
mov r10, rax
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0x30], r13d
jne 0x1403a803f
test r12d, r12d
je 0x1403a7a9a
mov r9, qword [rbp + 0x48]
mov rdx, r13
mov r11, qword [rbp - 0x68]
mov r8d, r12d
nop word [rax + rax]
mov rcx, qword [r9 + 8]
lea rdx, [rdx + 8]
mov eax, dword [rdx + rcx - 8]
shl eax, 0x10
mov dword [rdx + r11 - 8], eax
mov rax, qword [r9 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 0x10
mov dword [rdx + r11 - 4], ecx
sub r8, 1
jne 0x1403a7a70
mov dword [rsp + 0x60], r13d
cmp dword [rsp + 0x64], r13d
jbe 0x1403a7eaa
nop word [rax + rax]
mov rcx, r15
call fcn.1403907a0
mov rcx, r15
mov word [rbp + 0x58], ax
call fcn.1403907a0
movzx edi, ax
bt edi, 0xf
jae 0x1403a7b01
cmp dword [rsi], 0
mov ebx, r13d
jbe 0x1403a7b2f
mov r12, qword [rbp - 0x80]
nop dword [rax]
mov rcx, r15
call fcn.1403907a0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r12 + rax*4], ecx
cmp ebx, dword [rsi]
jb 0x1403a7ae0
mov r12d, dword [rsp + 0x34]
jmp 0x1403a7b2f
mov ecx, edi
and ecx, 0xfff
cmp ecx, dword [rsi + 0x68]
jae 0x1403a7f6e
mov eax, dword [rsi]
imul ecx, eax
mov r8d, eax
mov rax, qword [rsi + 0x70]
shl r8, 2
lea rdx, [rax + rcx*4]
mov rcx, qword [rbp - 0x80]
call sub.VCRUNTIME140.dll_memcpy
bt edi, 0xe
jae 0x1403a7b8f
mov eax, dword [rsi]
mov ebx, r13d
test eax, eax
je 0x1403a7b63
mov r12, qword [rbp - 0x78]
mov rcx, r15
call fcn.1403907a0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r12 + rax*4], ecx
mov eax, dword [rsi]
cmp ebx, eax
jb 0x1403a7b42
mov r12d, dword [rsp + 0x34]
mov ebx, r13d
test eax, eax
je 0x1403a7b8f
mov r14, qword [rbp - 0x70]
nop
mov rcx, r15
call fcn.1403907a0
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r14 + rax*4], ecx
cmp ebx, dword [rsi]
jb 0x1403a7b70
mov r14, qword [rsp + 0x70]
mov rax, qword [rbp - 0x70]
movzx edx, di
mov r9, qword [rbp - 0x78]
mov rcx, rsi
mov r8, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.1403a8400
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x1403a7e84
mov eax, dword [r15 + 0x38]
sub eax, dword [r15]
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov dword [rbp - 0x60], eax
mov eax, dword [rsp + 0x38]
cmp eax, ecx
jae 0x1403a7bd5
add rax, qword [r15]
jmp 0x1403a7bd9
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
bt edi, 0xd
jae 0x1403a7c04
mov edx, dword [rsi + 0x88]
lea r8, [rsp + 0x5c]
mov rcx, r15
call fcn.1403a9480
mov r14d, dword [rsp + 0x5c]
mov rdi, rax
mov qword [rbp - 0x58], rax
jmp 0x1403a7c13
mov r14d, dword [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x5c], r14d
mov edx, dword [rsi + 0x88]
test r14d, r14d
mov ebx, r14d
mov rcx, r15
cmove ebx, r12d
mov r8d, ebx
call fcn.1403a9310
mov edx, dword [rsi + 0x88]
mov r8d, ebx
mov rcx, r15
mov qword [rbp - 0x50], rax
call fcn.1403a9310
mov qword [rbp - 0x30], rax
test rdi, rdi
je 0x1403a7e2d
test rax, rax
je 0x1403a7e2d
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1403a7e2d
cmp rdi, 0xffffffffffffffff
jne 0x1403a7d09
test r12d, r12d
je 0x1403a7e2d
mov rdx, qword [rsp + 0x78]
mov r15, rax
mov r13, rcx
sub r15, rdx
mov ecx, dword [rsp + 0x34]
sub r13, rax
mov rax, qword [rsp + 0x68]
mov r12, rdx
sub rax, rdx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rax
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rsp + 0x3c]
lea rdi, [r15 + r12]
mov ecx, dword [rdi + r13]
mov esi, dword [r12]
mov r14d, dword [r12 + rax]
call fcn.14038df10
mov edx, dword [rsp + 0x3c]
mov ebx, eax
mov ecx, dword [rdi]
call fcn.14038df10
add eax, r14d
lea ecx, [rbx + rsi]
sub qword [rbp - 0x48], 1
mov dword [r12], ecx
lea r12, [r12 + 4]
mov rcx, qword [rbp - 0x40]
mov dword [r12 + rcx - 4], eax
mov rax, rcx
jne 0x1403a7cb0
mov r15, qword [rbp - 0x38]
xor r13d, r13d
mov r12d, dword [rsp + 0x34]
jmp 0x1403a7e2d
mov r11, qword [rsp + 0x50]
mov r10, qword [rsp + 0x48]
test r12d, r12d
je 0x1403a7d50
mov r9, qword [rbp - 0x68]
mov rdx, r11
sub r9, r10
mov r8d, r12d
mov rcx, r10
nop dword [rax + rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
mov rax, qword [rcx + r9]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x1403a7d30
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x50]
test r14d, r14d
je 0x1403a7dc0
mov r15d, dword [rsp + 0x3c]
mov r12, rcx
mov edx, dword [rsp + 0x34]
sub r12, rax
mov rsi, rax
movzx ecx, word [rdi]
cmp ecx, edx
jae 0x1403a7da1
mov ebx, ecx
mov byte [rcx + r11], 1
mov ecx, dword [r12 + rsi]
mov edx, r15d
call fcn.14038df10
mov r13, qword [rsp + 0x48]
mov edx, r15d
add dword [r13 + rbx*8], eax
mov ecx, dword [rsi]
call fcn.14038df10
add dword [r13 + rbx*8 + 4], eax
mov r10, r13
mov edx, dword [rsp + 0x34]
mov r11, qword [rsp + 0x50]
add rdi, 2
add rsi, 4
sub r14, 1
jne 0x1403a7d67
mov r15, qword [rbp - 0x38]
xor r13d, r13d
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rbp - 0x68]
mov rdx, r10
mov r9, qword [rsp + 0x50]
mov r8, rbx
mov rcx, qword [rbp + 0x48]
call fcn.1403ab7f0
test r12d, r12d
je 0x1403a7e2d
mov r11, qword [rsp + 0x48]
lea r9, [rbx + 4]
mov r8, qword [rsp + 0x68]
sub r11, rbx
mov rbx, qword [rsp + 0x78]
sub rbx, r8
mov r10d, r12d
nop dword [rax]
mov ecx, dword [r9 + r11]
sub ecx, dword [r9]
mov edx, dword [r8]
lea r8, [r8 + 4]
mov eax, dword [r9 + r11 - 4]
sub eax, dword [r9 - 4]
lea r9, [r9 + 8]
add dword [rbx + r8 - 4], eax
lea eax, [rcx + rdx]
mov dword [r8 - 4], eax
sub r10, 1
jne 0x1403a7e00
mov rbx, qword [rbp - 0x58]
mov r14, qword [rsp + 0x70]
cmp rbx, 0xffffffffffffffff
je 0x1403a7e4b
mov rdx, rbx
mov rcx, r14
call fcn.1403933e0
mov qword [rbp - 0x58], r13
mov rdx, qword [rbp - 0x50]
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rbp - 0x30]
mov rcx, r14
call fcn.1403933e0
mov eax, dword [r15 + 0x40]
sub eax, dword [r15]
mov ecx, dword [rbp - 0x60]
cmp ecx, eax
jae 0x1403a7e78
mov eax, ecx
add rax, qword [r15]
jmp 0x1403a7e7c
mov rax, qword [r15 + 0x40]
mov rsi, qword [rbp - 0x28]
mov qword [r15 + 0x38], rax
mov ecx, dword [rsp + 0x60]
movzx eax, word [rbp + 0x58]
inc ecx
add dword [rsp + 0x38], eax
mov dword [rsp + 0x60], ecx
cmp ecx, dword [rsp + 0x64]
jb 0x1403a7ab0
mov rbx, qword [rsp + 0x78]
mov r10, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x20]
test byte [rdi + 0x418], 2
je 0x1403a7ed1
lea eax, [r12 - 4]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
lea eax, [r12 - 3]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
test byte [rdi + 0x418], 0x10
je 0x1403a7ef4
lea eax, [r12 - 2]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
lea eax, [r12 - 1]
mov dword [rbx + rax*4], r13d
mov dword [r10 + rax*4], r13d
mov r11, qword [rbp + 0x50]
test r12d, r12d
je 0x1403a7f80
mov r9, rbx
mov r8d, r12d
sub r9, r10
mov rdx, r10
mov r10, qword [rbp + 0x48]
mov eax, dword [r9 + rdx]
lea rdx, [rdx + 4]
add eax, 0x200
lea r13, [r13 + 8]
sar eax, 0xa
add dword [r11 + r13 - 8], eax
mov eax, dword [rdx - 4]
add eax, 0x200
sar eax, 0xa
add dword [r11 + r13 - 4], eax
mov eax, dword [r9 + rdx - 4]
mov rcx, qword [r10 + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r13 - 8], eax
mov eax, dword [rdx - 4]
mov rcx, qword [r10 + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r13 - 4], eax
sub r8, 1
jne 0x1403a7f11
jmp 0x1403a7f84
mov rbx, qword [rsp + 0x78]
mov dword [rsp + 0x30], 8
jmp 0x1403a803f
mov r10, qword [rbp + 0x48]
test byte [rdi + 0x418], 2
mov r9, qword [rbp + 0x40]
jne 0x1403a7fde
lea eax, [r12 - 4]
lea r8, [rax*8]
mov rax, qword [r10 + 8]
mov rcx, qword [r8 + rax]
lea eax, [r12 - 3]
lea rdx, [rax*8]
mov qword [r9 + 0x58], rcx
mov rax, qword [r10 + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x60], rcx
mov eax, dword [rdx + r11]
sub eax, dword [r8 + r11]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x50], eax
test byte [rdi + 0x418], 0x10
jne 0x1403a803f
lea eax, [r12 - 2]
lea r8, [rax*8]
mov rax, qword [r10 + 8]
mov rcx, qword [r8 + rax]
lea eax, [r12 - 1]
lea rdx, [rax*8]
mov qword [r9 + 0x110], rcx
mov rax, qword [r10 + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x118], rcx
mov eax, dword [rdx + r11 + 4]
sub eax, dword [r8 + r11 + 4]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x10c], eax
mov rdx, rbx
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xffffffffffffffff
je 0x1403a807c
jmp 0x1403a8074
mov r14, qword [rsp + 0x70]
mov dword [rsp + 0x30], 8
mov rdx, r13
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rbp - 0x80]
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rbp - 0x78]
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rbp - 0x70]
mov rcx, r14
call fcn.1403933e0
mov rcx, r15
call fcn.140390600
mov rdx, qword [rbp - 0x68]
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.1403933e0
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.1403933e0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x1403a80d2
mov eax, 6
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret