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

Disassembly:
push r12
sub rsp, 0x120
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x90], rcx
mov r12, rcx
test rcx, rcx
je 0x140081c87
test rdx, rdx
je 0x140081c87
movsxd rax, dword [rdx + 8]
mov qword [rsp + 0x108], r14
xor r14d, r14d
test eax, eax
jne 0x14008131d
mov byte [rcx + 0x470], 1
mov al, 1
mov qword [rcx + 0x140], r14
jmp 0x140081375
mov rcx, qword [rdx]
mov qword [r12 + 0xd0d0], r14
add rax, rcx
mov qword [r12 + 0xd0d8], r14
mov qword [r12 + 0xd0c8], rcx
mov rcx, r12
mov qword [r12 + 0xd0c0], rax
call fcn.14007cbc0
test eax, eax
js 0x140081c65
mov rcx, r12
cmp byte [r12 + 0x470], r14b
jne 0x140081367
call fcn.14007cdd0
jmp 0x14008136c
call fcn.14007cfe0
movzx eax, byte [r12 + 0x470]
test al, al
je 0x14008149a
cmp dword [r12 + 0x2f8], 0
jl 0x140081397
cmp dword [r12 + 0x2fc], 0
jge 0x14008149a
movups xmm0, xmmword [r12 + 0x148]
mov qword [r12 + 0x2f8], 0
mov dword [r12 + 0x300], r14d
mov rax, qword [r12 + 0x158]
mov qword [r12 + 0x310], rax
mov qword [r12 + 0x320], rax
mov qword [r12 + 0x318], rax
movups xmmword [r12 + 0xe198], xmm0
movups xmm1, xmmword [r12 + 0x158]
movups xmmword [r12 + 0xe1a8], xmm1
movups xmm0, xmmword [r12 + 0x168]
movups xmmword [r12 + 0xe1b8], xmm0
movups xmm1, xmmword [r12 + 0x178]
movups xmmword [r12 + 0xe1c8], xmm1
movsd xmm0, qword [r12 + 0x188]
movsd qword [r12 + 0xe1d8], xmm0
mov eax, dword [r12 + 0x348]
mov ecx, dword [r12 + 0x30]
cdq
mov r10d, dword [r12 + 8]
xor eax, edx
sub eax, edx
shr ecx, 1
movsxd r9, eax
not ecx
mov eax, dword [r12 + 0x34c]
and ecx, 1
cdq
add r10d, 0x20
xor eax, edx
sub eax, edx
movsxd rdx, eax
mov eax, r10d
sar eax, cl
mov rcx, qword [r12 + 0x310]
cdqe
imul rdx, rax
movsxd rax, r10d
add rdx, 8
imul rax, r9
lea r8, [rax + rdx*2]
lea eax, [r10 - 0x11]
movsxd rdx, eax
imul rdx, r9
sub rcx, rdx
mov edx, 0x80
sub rcx, 0x10
call fcn.14025e440
cmp qword [r12 + 0x140], 0
jg 0x1400814ed
mov rax, qword [r12 + 0x458]
mov r8, qword [r12 + 0x460]
movzx edx, byte [r12 + 0x471]
mov ecx, dword [r12 + 0x3c]
add rdx, rax
shl rdx, cl
sub rdx, rax
lea rax, [r8 + 1]
add rdx, r8
mov qword [r12 + 0x460], rax
mov qword [r12 + 0x468], rdx
mov eax, 1
jmp 0x140081c65
mov eax, dword [r12 + 0x2f8]
mov edx, r14d
mov ecx, dword [r12 + 0x2fc]
cmp edx, eax
je 0x140081508
cmp edx, ecx
jne 0x14008150c
inc edx
jmp 0x140081500
mov qword [rsp + 0x138], rbx
movsxd rax, edx
mov dword [r12 + 0x300], edx
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x148], rsi
lea rcx, [rax + rax*8]
mov qword [rsp + 0x118], rdi
lea rax, [r12 + rcx*8]
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x98], rax
mov rax, qword [rax + 0x158]
mov qword [r12 + 0x320], rax
cmp byte [r12 + 0x470], 0
jne 0x14008157a
mov rax, qword [r12 + 0x460]
mov qword [r12 + 0x458], rax
jmp 0x140081697
lea rbx, [r12 + 0xd0c0]
mov eax, dword [rbx + 0x18]
mov rsi, qword [rbx + 0x10]
cmp eax, 3
jge 0x1400815a1
mov edx, 3
mov rcx, rbx
call fcn.14007b9c0
mov rsi, rax
mov eax, dword [rbx + 0x18]
lea rcx, [rsi*8]
shr rsi, 0x3d
mov qword [rbx + 0x10], rcx
lea ecx, [rax - 3]
mov dword [rbx + 0x18], ecx
test esi, esi
jne 0x140081634
mov rcx, r14
cmp rcx, 8
jae 0x140081c8e
mov byte [rsp + rcx + 0xf0], 0
inc rcx
cmp rcx, 8
jl 0x1400815c2
mov edx, dword [rbx + 0x18]
lea rbp, [0x1402ca518]
mov rdi, r14
mov rax, qword [rbx + 0x10]
cmp edx, 3
jge 0x1400815ff
mov edx, 3
mov rcx, rbx
call fcn.14007b9c0
mov edx, dword [rbx + 0x18]
lea rcx, [rax*8]
add edx, 0xfffffffd
shr rax, 0x3d
mov qword [rbx + 0x10], rcx
mov dword [rbx + 0x18], edx
movzx ecx, byte [rdi + rbp + 0x30]
inc rdi
mov byte [rsp + rax + 0xf0], cl
cmp rdi, 8
jl 0x1400815e6
lea rbp, [rsp + 0xf0]
jmp 0x140081646
mov eax, esi
lea rbp, [0x1402ca518]
lea rbp, [rbp + rax*8]
add rbp, 0xfffffffffffffff8
mov rdi, qword [r12 + 0x108]
lea rax, [0x1402ca720]
cmp esi, 7
lea rdx, [0x1402ca6b8]
mov rsi, qword [r12 + 0x118]
cmove rdx, rax
test rsi, rsi
je 0x14008168f
cmp byte [rdi], 0
jle 0x140081686
mov rcx, rbx
call fcn.140082d30
movsxd rcx, eax
movzx eax, byte [rcx + rbp]
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x140081670
mov rcx, r12
call fcn.14007d720
mov qword [rsp + 0x110], r13
mov rcx, r12
mov qword [rsp + 0x100], r15
call fcn.14007db80
mov rcx, r12
call fcn.14007e7d0
mov rax, qword [r12 + 0x458]
lea rbx, [r12 + 0xe1f0]
mov r8, qword [r12 + 0x460]
mov ecx, dword [r12 + 0x3c]
movzx edx, byte [r12 + 0x471]
add rdx, rax
shl rdx, cl
mov rcx, r12
sub rdx, rax
lea rax, [r8 + 1]
add rdx, r8
mov qword [r12 + 0x460], rax
mov qword [r12 + 0x468], rdx
mov rdx, rbx
call fcn.14007ee80
lea r8, [r12 + 0xe198]
mov dword [rsp + 0x34], r14d
mov eax, dword [r8]
lea r9, [r12 + 0xf6e0]
mov ecx, dword [r8 + 4]
lea r10, [r12 + 0x58]
mov edx, dword [r8 + 8]
mov r13d, r14d
mov dword [rsp + 0xa0], eax
neg edx
mov dword [rsp + 0xa4], ecx
mov eax, 1
sub eax, ecx
mov dword [rsp + 0xa8], edx
movsxd rcx, eax
movsxd rax, edx
mov edx, dword [r8 + 0x20]
imul rcx, rax
mov eax, dword [r8 + 0x18]
neg edx
add rcx, qword [r8 + 0x10]
mov dword [rsp + 0xb8], eax
mov eax, 1
mov qword [rsp + 0xb0], rcx
mov ecx, dword [r8 + 0x1c]
sub eax, ecx
mov dword [rsp + 0xbc], ecx
movsxd rcx, eax
movsxd rax, edx
imul rcx, rax
mov eax, dword [r8 + 0x30]
add rcx, qword [r8 + 0x28]
mov dword [rsp + 0xd0], eax
mov eax, 1
mov qword [rsp + 0xc8], rcx
mov ecx, dword [r8 + 0x34]
sub eax, ecx
mov dword [rsp + 0xc0], edx
mov edx, dword [r8 + 0x38]
neg edx
mov dword [rsp + 0xd4], ecx
movsxd rcx, eax
movsxd rax, edx
imul rcx, rax
mov eax, dword [r12 + 0xf728]
add rcx, qword [r8 + 0x40]
mov dword [rsp + 0xd8], edx
mov edx, r14d
mov qword [rsp + 0xe0], rcx
mov dword [rsp + 0x40], edx
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r12 + 0x54]
lea r8d, [rax + rdx]
mov eax, r14d
mov dword [rsp + 0x64], ecx
cmp r8d, ecx
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], ecx
mov ebp, r14d
setl al
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x30], eax
mov rsi, r9
mov rax, r10
mov dword [rsp + 0x3c], r14d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xf0], r9
jmp 0x140081848
mov edx, dword [rsp + 0x40]
test ebp, ebp
je 0x14008185a
test byte [r12 + 0x30], 2
mov r15d, 1
je 0x14008185d
mov r15d, r14d
mov ecx, r15d
mov dword [rsp + 0x38], r15d
sar edx, cl
mov dword [rsi], edx
mov r8d, dword [rax - 4]
mov eax, dword [r12 + 0xf728]
sar eax, cl
lea ecx, [rax + rdx]
mov rdx, rbx
cmp ecx, r8d
cmovl r8d, ecx
mov rcx, r12
mov dword [rsi + 0xc], r8d
mov r8d, ebp
call fcn.14007f170
mov r8d, ebp
mov rdx, rbx
mov rcx, r12
call fcn.14007f540
cmp dword [r12 + 0xf72c], 0
mov ebx, r14d
mov edi, r14d
je 0x140081a3e
mov rdx, qword [rsp + 0x78]
lea rbp, [r12 + 0xe36f]
mov ebx, dword [rsp + 0x30]
mov edi, r13d
mov r15, qword [r12 + 0xc8]
mov dword [rsp + 0x5c], r13d
mov rcx, qword [rdx]
movsxd r13, dword [rdx - 8]
mov rax, qword [rdx + 8]
mov rdx, qword [r12 + 0x320]
add rax, rcx
mov qword [rsp + 0x80], rax
mov eax, dword [rsi]
sub eax, dword [rsp + 0x34]
movsxd r14, eax
mov eax, dword [rsi + 0xc]
mov esi, dword [rsi - 0xf398]
sub eax, ebx
movsxd r8, eax
mov rax, qword [r12 + 0xd0]
imul r8, r13
imul r14, r13
add r8, rcx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
add r14, rcx
cmp r14, r8
jge 0x140081a25
nop word [rax + rax]
lea r12, [r14 + r13]
mov rbx, r14
cmp r14, r12
jge 0x140081a09
test byte [r15 + rbx*4], 1
je 0x1400819f5
mov rdi, qword [rax + rbx*8]
add rdi, rdx
cmp rbx, r14
jle 0x140081989
mov r8, rbp
mov edx, esi
mov rcx, rdi
call fcn.140085f80
mov rcx, qword [rsp + 0x50]
cmp r14, rcx
jle 0x14008199b
mov r8, rbp
mov edx, esi
mov rcx, rdi
call fcn.140086320
lea rax, [rbx + 1]
cmp rax, r12
jge 0x1400819ba
test byte [r15 + rbx*4 + 4], 1
jne 0x1400819ba
lea rcx, [rdi + 8]
mov r8, rbp
mov edx, esi
call fcn.140085f80
lea rax, [rbx + r13]
cmp rax, qword [rsp + 0x80]
jge 0x1400819e6
test byte [r15 + rax*4], 1
jne 0x1400819e6
lea eax, [rsi*8]
mov r8, rbp
movsxd rcx, eax
mov edx, esi
add rcx, rdi
call fcn.140086320
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
inc rbx
cmp rbx, r12
jl 0x140081960
mov r8, qword [rsp + 0x88]
mov r14, r12
cmp r12, r8
jl 0x140081950
mov r12, qword [rsp + 0x90]
mov ebx, dword [rsp + 0x58]
mov edi, dword [rsp + 0x5c]
mov r13d, dword [rsp + 0x34]
xor r14d, r14d
mov r15d, dword [rsp + 0x38]
mov ebp, dword [rsp + 0x3c]
mov rsi, qword [rsp + 0xf0]
mov ecx, dword [rsi + 0xc]
lea eax, [rbx + rbx]
mov r9d, dword [rsi]
sub ecx, ebx
mov edx, dword [rsp + 0x44]
sub r9d, edi
shl ecx, 3
mov r8d, ebp
sub ecx, eax
shl r9d, 3
lea eax, [rdi + rdi]
mov dword [rsp + 0x20], ecx
sub r9d, eax
mov rcx, r12
call fcn.140085ac0
test ebp, ebp
mov eax, 2
mov ecx, 5
cmovne eax, ecx
cmp dword [r12 + 0xf730], eax
jl 0x140081b05
mov ecx, dword [rsi + 0xc]
lea rdx, [r12 + 0xe198]
mov eax, dword [rsi]
add edi, r13d
add ebx, dword [rsp + 0x30]
sub eax, edi
mov r8, qword [rsp + 0x98]
sub ecx, ebx
mov dword [rsp + 0x28], ecx
add r8, 0x148
mov rcx, r12
mov dword [rsp + 0x20], eax
mov r9d, ebp
call fcn.140080030
test ebp, ebp
mov eax, 3
mov ecx, 6
cmovne eax, ecx
cmp dword [r12 + 0xf730], eax
jl 0x140081b17
add ebx, dword [rsp + 0x30]
lea rdx, [r12 + 0xe198]
mov eax, dword [rsi + 0xc]
add edi, r13d
mov r9d, dword [rsi]
sub eax, ebx
sub r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, ebp
mov rcx, r12
call fcn.140080da0
jmp 0x140081b17
cmp dword [r12 + 0xf72c], 0
je 0x140081b17
add edi, r13d
add ebx, dword [rsp + 0x30]
mov eax, dword [rsi]
mov ecx, r15d
mov edx, dword [rsp + 0x48]
sub eax, edi
shl eax, cl
cmp eax, edx
cmovl edx, eax
mov eax, dword [rsi + 0xc]
sub eax, ebx
mov dword [rsp + 0x48], edx
shl eax, cl
lea rbx, [r12 + 0xe1f0]
mov ecx, dword [rsp + 0x4c]
cmp eax, ecx
cmovl ecx, eax
mov rax, qword [rsp + 0x78]
add rax, 0x28
mov dword [rsp + 0x4c], ecx
inc ebp
mov qword [rsp + 0x78], rax
add rsi, 4
mov dword [rsp + 0x3c], ebp
mov qword [rsp + 0xf0], rsi
cmp ebp, 3
jl 0x140081844
mov rax, qword [r12 + 0xe1e8]
test rax, rax
je 0x140081b9f
mov r8d, dword [r12 + 0x54]
mov r9d, r8d
sub r9d, edx
sub r8d, ecx
mov rcx, qword [r12 + 0xe1e0]
lea rdx, [rsp + 0xa0]
call rax
mov edx, dword [rsp + 0x40]
lea rbx, [r12 + 0xe1f0]
mov eax, dword [r12 + 0xf728]
lea r9, [r12 + 0xf6e0]
mov ecx, dword [rsp + 0x60]
lea r10, [r12 + 0x58]
add edx, eax
mov r13d, 1
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x40], edx
cmp ecx, dword [rsp + 0x64]
jl 0x140081800
mov r15, qword [rsp + 0x100]
mov r13, qword [rsp + 0x110]
nop
mov edx, dword [rsp + 0x44]
mov r8d, r14d
mov rcx, r12
call fcn.140085b90
inc r14d
cmp r14d, 3
jl 0x140081bf0
cmp byte [r12 + 0x470], 0
mov eax, dword [r12 + 0x300]
mov rcx, qword [r12 + 0x320]
jne 0x140081c33
mov dword [r12 + 0x2f8], eax
mov qword [r12 + 0x310], rcx
mov dword [r12 + 0x2fc], eax
xor eax, eax
mov qword [r12 + 0x318], rcx
mov rdi, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x148]
mov rbp, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x138]
mov r14, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14023ed20
add rsp, 0x120
pop r12
ret
mov eax, 0xffffffff
jmp 0x140081c6d
call fcn.14023ef9c
int3