Function at 0x1402813d0
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
movsx eax, word [rdx + 2]
xor r14d, r14d
mov r9d, dword [rcx + 0x24]
mov r11, r8
mov rcx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x18], rcx
lea r12d, [rax + 4]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x34], r12d
mov r15, qword [rcx + 0xa0]
mov r13, qword [rcx + 0x410]
mov qword [rbp - 0x30], r15
mov qword [rsp + 0x48], r14
mov rsi, qword [r15 + 0x30]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x40], r14
mov qword [rbp - 0x40], r14
mov qword [rsp + 0x50], r14
cmp byte [rcx + 0x409], r14b
je 0x140281e01
test r13, r13
je 0x140281e01
test r12d, r12d
je 0x1402814aa
mov edx, r14d
mov r8d, r12d
nop
mov rax, qword [r10 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 6
mov dword [rdx + r11 - 8], ecx
mov rax, qword [r10 + 8]
mov ecx, dword [rax + rdx - 4]
shl ecx, 6
mov dword [rdx + r11 - 4], ecx
sub r8, 1
jne 0x140281480
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xf8], rdi
cmp r9d, dword [r13 + 0x78]
jae 0x140281dfd
mov rcx, qword [r13 + 0x80]
lea eax, [r9 + 1]
lea rbx, [rax*4]
lea rdi, [r9*4]
mov eax, dword [rbx + rcx]
cmp dword [rdi + rcx], eax
je 0x140281dfd
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 8]
call fcn.1400f89e1
mov qword [rbp - 0x58], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281db1
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 8]
call fcn.1400f89e1
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281db1
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 1]
call fcn.1400f89e1
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281db1
mov rcx, qword [r13 + 0x80]
mov edx, dword [rcx + rdi]
mov ebx, dword [rbx + rcx]
mov rcx, r15
sub ebx, edx
call fcn.1400f9279
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x140281db1
mov edx, ebx
mov rcx, r15
call fcn.1400f7aaf
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x140281db1
mov edi, dword [r15 + 0x38]
lea rax, [rsp + 0x30]
mov r9d, dword [r13]
xor r8d, r8d
sub edi, dword [r15]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.1400f89e1
mov qword [rbp - 0x70], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281d7a
mov r9d, dword [r13]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.1400f89e1
mov qword [rbp - 0x68], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281d7a
mov r9d, dword [r13]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.1400f89e1
mov qword [rbp - 0x60], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281d7a
mov rcx, r15
call fcn.1400f9ecc
mov rcx, r15
movzx esi, ax
call fcn.1400f9ecc
movzx edx, ax
cmp edx, ebx
ja 0x140281d6d
mov eax, esi
and eax, 0xfff
mov dword [rsp + 0x74], eax
lea eax, [rax*4]
cmp eax, ebx
ja 0x140281d6d
add edx, edi
mov dword [rsp + 0x38], edx
bt esi, 0xf
jae 0x1402816f3
mov ebx, dword [r15 + 0x38]
mov eax, dword [r15 + 0x40]
sub ebx, dword [r15]
sub eax, dword [r15]
cmp edx, eax
jae 0x1402816ad
mov eax, edx
add rax, qword [r15]
jmp 0x1402816b1
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
lea r8, [rsp + 0x68]
mov edx, dword [r13 + 0x88]
mov rcx, r15
call fcn.1402838c0
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 0x1402816eb
mov ecx, ebx
add rcx, qword [r15]
jmp 0x1402816ef
mov rcx, qword [r15 + 0x40]
mov qword [r15 + 0x38], rcx
mov rsi, qword [rsp + 0x58]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r8 + 4]
call fcn.1400f89e1
mov rdi, rax
mov qword [rbp - 0x78], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281d47
xor r8d, r8d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea edx, [r8 + 4]
call fcn.1400f89e1
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x30], r14d
jne 0x140281d47
test r12d, r12d
je 0x14028179a
mov r9, qword [rbp + 0x48]
mov rdx, r14
mov r10, qword [rbp - 0x58]
mov r8d, r12d
nop
mov rax, qword [r9 + 8]
lea rdx, [rdx + 8]
mov ecx, dword [rdx + rax - 8]
shl ecx, 0x10
mov dword [rdx + r10 - 8], ecx
mov rax, qword [r9 + 8]
mov ecx, dword [rdx + rax - 4]
shl ecx, 0x10
mov dword [rdx + r10 - 4], ecx
sub r8, 1
jne 0x140281770
mov dword [rsp + 0x70], r14d
cmp dword [rsp + 0x74], r14d
jbe 0x140281bbc
nop word [rax + rax]
mov rcx, r15
call fcn.1400f9ecc
mov rcx, r15
mov word [rbp + 0x58], ax
call fcn.1400f9ecc
movzx edi, ax
bt edi, 0xf
jae 0x140281803
cmp dword [r13], 0
mov ebx, r14d
jbe 0x140281834
mov r12, qword [rbp - 0x70]
nop dword [rax + rax]
mov rcx, r15
call fcn.1400f9ecc
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [r12 + rax*4], ecx
cmp ebx, dword [r13]
jb 0x1402817e0
mov r12d, dword [rsp + 0x34]
jmp 0x140281834
mov ecx, edi
and ecx, 0xfff
cmp ecx, dword [r13 + 0x68]
jae 0x140281c8d
mov eax, dword [r13]
imul ecx, eax
mov r8d, eax
mov rax, qword [r13 + 0x70]
shl r8, 2
lea rdx, [rax + rcx*4]
mov rcx, qword [rbp - 0x70]
call fcn.1400f881f
bt edi, 0xe
jae 0x1402818a0
mov eax, dword [r13]
mov ebx, r14d
test eax, eax
je 0x140281872
mov rsi, qword [rbp - 0x68]
nop dword [rax]
mov rcx, r15
call fcn.1400f9ecc
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [rsi + rax*4], ecx
mov eax, dword [r13]
cmp ebx, eax
jb 0x140281850
mov rsi, qword [rsp + 0x58]
mov ebx, r14d
test eax, eax
je 0x1402818a0
mov rsi, qword [rbp - 0x60]
nop dword [rax]
mov rcx, r15
call fcn.1400f9ecc
movsx ecx, ax
mov eax, ebx
inc ebx
shl ecx, 2
mov dword [rsi + rax*4], ecx
cmp ebx, dword [r13]
jb 0x140281880
mov rsi, qword [rsp + 0x58]
mov rax, qword [rbp - 0x60]
movzx edx, di
mov r9, qword [rbp - 0x68]
mov rcx, r13
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.140282460
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x140281b9c
mov eax, dword [r15 + 0x38]
sub eax, dword [r15]
mov ecx, dword [r15 + 0x40]
sub ecx, dword [r15]
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x38]
cmp eax, ecx
jae 0x1402818e6
add rax, qword [r15]
jmp 0x1402818ea
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
bt edi, 0xd
jae 0x140281916
mov edx, dword [r13 + 0x88]
lea r8, [rsp + 0x6c]
mov rcx, r15
call fcn.1402838c0
mov r14d, dword [rsp + 0x6c]
mov rdi, rax
mov qword [rbp - 0x40], rax
jmp 0x140281925
mov r14d, dword [rsp + 0x68]
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x6c], r14d
mov edx, dword [r13 + 0x88]
test r14d, r14d
mov ebx, r14d
mov rcx, r15
cmove ebx, r12d
mov r8d, ebx
call fcn.140283700
mov edx, dword [r13 + 0x88]
mov r8d, ebx
mov rcx, r15
mov qword [rbp - 0x28], rax
mov rsi, rax
call fcn.140283700
mov qword [rbp - 0x20], rax
test rdi, rdi
je 0x140281b41
test rax, rax
je 0x140281b41
test rsi, rsi
je 0x140281b41
cmp rdi, 0xffffffffffffffff
jne 0x140281a16
test r12d, r12d
je 0x140281b41
mov rcx, qword [rbp - 0x78]
mov r15, rax
sub r15, rcx
mov r13, rsi
sub r13, rax
mov r12, rcx
mov rax, qword [rsp + 0x50]
sub rax, rcx
mov ecx, dword [rsp + 0x34]
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x80], 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 [rax + r12]
call fcn.1400f76f4
mov edx, dword [rsp + 0x3c]
mov ebx, eax
mov ecx, dword [rdi]
call fcn.1400f76f4
add eax, r14d
lea ecx, [rbx + rsi]
sub qword [rbp - 0x38], 1
mov dword [r12], ecx
lea r12, [r12 + 4]
mov rcx, qword [rbp - 0x80]
mov dword [rcx + r12 - 4], eax
mov rax, rcx
jne 0x1402819c0
mov r15, qword [rbp - 0x30]
mov r12d, dword [rsp + 0x34]
jmp 0x140281b3d
mov r11, qword [rsp + 0x60]
mov r10, qword [rsp + 0x48]
mov r8d, r12d
mov qword [rbp - 0x80], r8
test r12d, r12d
je 0x140281a5c
mov r9, qword [rbp - 0x58]
mov rdx, r11
sub r9, r10
mov rcx, r10
nop dword [rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
mov rax, qword [r9 + rcx]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x140281a40
mov rax, qword [rbp - 0x20]
test r14d, r14d
je 0x140281ace
mov r12, qword [rbp - 0x28]
mov rsi, rax
mov r15d, dword [rsp + 0x3c]
sub r12, rax
mov edx, dword [rsp + 0x34]
movzx ecx, word [rdi]
cmp ecx, edx
jae 0x140281aae
mov ebx, ecx
mov byte [rcx + r11], 1
mov ecx, dword [rsi + r12]
mov edx, r15d
call fcn.1400f76f4
mov r13, qword [rsp + 0x48]
mov edx, r15d
add dword [r13 + rbx*8], eax
mov ecx, dword [rsi]
call fcn.1400f76f4
add dword [r13 + rbx*8 + 4], eax
mov r10, r13
mov edx, dword [rsp + 0x34]
mov r11, qword [rsp + 0x60]
add rdi, 2
add rsi, 4
sub r14, 1
jne 0x140281a74
mov r15, qword [rbp - 0x30]
mov r13, qword [rbp - 0x48]
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rbp - 0x58]
mov rdx, r10
mov r9, qword [rsp + 0x60]
mov r8, rbx
mov rcx, qword [rbp + 0x48]
call fcn.1402864e0
test r12d, r12d
je 0x140281b41
mov r10, qword [rsp + 0x48]
lea r8, [rbx + 4]
mov r9, qword [rsp + 0x50]
sub r10, rbx
mov r11, qword [rbp - 0x78]
mov r13, qword [rbp - 0x80]
sub r11, r9
nop word [rax + rax]
mov ecx, dword [r10 + r8]
sub ecx, dword [r8]
mov edx, dword [r9]
lea r9, [r9 + 4]
mov eax, dword [r10 + r8 - 4]
sub eax, dword [r8 - 4]
lea r8, [r8 + 8]
add dword [r11 + r9 - 4], eax
lea eax, [rcx + rdx]
mov dword [r9 - 4], eax
sub r13, 1
jne 0x140281b10
mov r13, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
je 0x140281b64
mov rdx, rbx
mov rcx, rsi
call fcn.1400f7fbe
xor r14d, r14d
mov qword [rbp - 0x40], r14
jmp 0x140281b67
xor r14d, r14d
mov rdx, qword [rbp - 0x28]
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rbp - 0x20]
mov rcx, rsi
call fcn.1400f7fbe
mov eax, dword [r15 + 0x40]
sub eax, dword [r15]
mov ecx, dword [rbp - 0x50]
cmp ecx, eax
jae 0x140281b94
mov eax, ecx
add rax, qword [r15]
jmp 0x140281b98
mov rax, qword [r15 + 0x40]
mov qword [r15 + 0x38], rax
mov ebx, dword [rsp + 0x70]
movzx eax, word [rbp + 0x58]
inc ebx
add dword [rsp + 0x38], eax
mov dword [rsp + 0x70], ebx
cmp ebx, dword [rsp + 0x74]
jb 0x1402817b0
mov rdi, qword [rbp - 0x78]
mov r13, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x50]
test byte [r13 + 0x418], 2
je 0x140281be9
mov dword [rdi + r11*4], r14d
lea eax, [r12 - 3]
mov dword [r8 + r11*4], r14d
mov dword [rdi + rax*4], r14d
mov dword [r8 + rax*4], r14d
test byte [r13 + 0x418], 0x10
lea r10d, [r12 - 2]
je 0x140281c0d
mov dword [rdi + r10*4], r14d
lea eax, [r12 - 1]
mov dword [r8 + r10*4], r14d
mov dword [rdi + rax*4], r14d
mov dword [r8 + rax*4], r14d
mov rbx, qword [rbp + 0x48]
test r12d, r12d
je 0x140281c9a
mov r9, rdi
mov rdx, r8
mov rdi, qword [rbp + 0x50]
sub r9, r8
mov r8d, r12d
nop word [rax + rax]
mov eax, dword [rdx + r9]
lea rdx, [rdx + 4]
add eax, 0x200
lea r14, [r14 + 8]
sar eax, 0xa
add dword [r14 + rdi - 8], eax
mov eax, dword [rdx - 4]
add eax, 0x200
sar eax, 0xa
add dword [r14 + rdi - 4], eax
mov eax, dword [rdx + r9 - 4]
mov rcx, qword [rbx + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r14 - 8], eax
mov eax, dword [rdx - 4]
mov rcx, qword [rbx + 8]
add eax, 0x8000
shr eax, 0x10
cwde
add dword [rcx + r14 - 4], eax
sub r8, 1
jne 0x140281c30
jmp 0x140281c9e
mov dword [rsp + 0x30], 8
jmp 0x140281d47
mov rdi, qword [rbp + 0x50]
test byte [r13 + 0x418], 2
mov r9, qword [rbp + 0x40]
jne 0x140281ceb
mov rax, qword [rbx + 8]
mov rcx, qword [rax + r11*8]
lea eax, [r12 - 3]
lea rdx, [rax*8]
mov qword [r9 + 0x58], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x60], rcx
mov eax, dword [rdx + rdi]
sub eax, dword [rdi + r11*8]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x50], eax
test byte [r13 + 0x418], 0x10
jne 0x140281d47
mov rax, qword [rbx + 8]
lea r8, [r10*8]
mov rcx, qword [r8 + rax]
lea eax, [r12 - 1]
lea rdx, [rax*8]
mov qword [r9 + 0x110], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + rax]
mov qword [r9 + 0x118], rcx
mov eax, dword [rdx + rdi + 4]
sub eax, dword [r8 + rdi + 4]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [r9 + 0x10c], eax
mov rdx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xffffffffffffffff
je 0x140281d85
jmp 0x140281d7d
mov rsi, qword [rsp + 0x58]
mov dword [rsp + 0x30], 8
mov rdx, r14
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rbp - 0x70]
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rbp - 0x68]
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rbp - 0x60]
mov rcx, rsi
call fcn.1400f7fbe
mov rcx, r15
call fcn.1400fa78c
mov rdx, qword [rbp - 0x58]
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.1400f7fbe
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400f7fbe
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 0x140281ddb
mov eax, 6
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret