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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rdi
push r12
push r13
sub rsp, 0x150
mov r10, qword [rsp + 0x1a8]
xor ebp, ebp
mov r11d, dword [rcx]
mov r13, r8
mov dword [rsp + 0x34], ebp
mov r12, rdx
mov dword [rsp + 0x54], ebp
mov rdi, rcx
mov r9d, dword [r10]
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x5c], ebp
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x58], ebp
cmp r11d, 0x20000001
jne 0x140078b6a
movzx eax, r9b
mov byte [rsp + 0x20], 2
add al, al
not al
and al, 2
or al, 1
mov byte [rsp + 0x180], al
movzx eax, r9b
and al, 1
add al, al
or al, 1
mov byte [rsp + 0x1a8], al
jmp 0x140078be0
cmp r11d, 0x20000002
jne 0x140078b9f
movzx eax, r9b
mov byte [rsp + 0x20], 3
add al, al
mov byte [rsp + 0x21], 1
not al
and al, 2
mov byte [rsp + 0x180], al
movzx eax, r9b
and al, 1
add al, al
mov byte [rsp + 0x1a8], al
jmp 0x140078be5
cmp r11d, 0x30100001
jne 0x140078bcb
movzx eax, r9b
mov byte [rsp + 0x20], 1
not al
and al, 1
mov byte [rsp + 0x180], al
movzx eax, r9b
and al, 1
mov byte [rsp + 0x1a8], al
jmp 0x140078be0
mov byte [rsp + 0x180], bpl
mov byte [rsp + 0x20], bpl
mov byte [rsp + 0x1a8], bpl
mov byte [rsp + 0x21], bpl
mov rbx, qword [rsp + 0x1b0]
mov qword [rsp + 0x148], rsi
test rbx, rbx
je 0x14007946b
mov eax, dword [rbx + 0xc]
cmp eax, dword [rcx + 8]
jg 0x14007946b
mov ecx, dword [rbx + 8]
cmp ecx, dword [rdi + 4]
jg 0x14007946b
test eax, eax
je 0x14007946b
test ecx, ecx
je 0x14007946b
mov ecx, 4
call fcn.14006a800
mov esi, eax
lea eax, [r11 - 0x20000001]
cmp eax, 1
ja 0x140079464
mov edx, dword [rdi + 0x10]
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x138], r15
lea eax, [rdx - 8]
mov dword [rsp + 0x80], eax
mov eax, dword [r10 + 4]
mov r10, qword [rsp + 0x1b8]
imul eax, edx
mov r8d, dword [r10 + 4]
mov r15d, r8d
sub r8d, dword [rbx + 4]
movsxd r11, eax
lea eax, [r9 + r9]
movsxd rcx, eax
lea r9d, [rdx*4]
mov rdx, qword [rsp + 0x1a0]
add r11, rcx
add r11, qword [rdi + 0x18]
mov edi, dword [r12 + 4]
mov r14, r11
movsxd rcx, dword [r10]
mov r12d, edi
mov rax, qword [rsp + 0x188]
imul r12d, r8d
mov qword [rsp + 0xf0], r11
mov qword [rsp + 0xd8], r11
mov r11d, dword [rdx + 4]
imul r15d, r11d
add r12, qword [rax + 0x18]
mov rax, qword [rsp + 0x190]
add r15, qword [rdx + 0x18]
add r15, rcx
sub ecx, dword [rbx]
movsxd rdx, ecx
add r11, r15
mov ecx, dword [r13 + 4]
add r12, rdx
mov r13d, ecx
sar rdx, 1
imul r13d, r8d
add rdi, r12
add r13, qword [rax + 0x18]
mov rax, qword [rsp + 0x198]
add r13, rdx
add rcx, r13
mov ebx, dword [rax + 4]
mov eax, ebx
imul eax, r8d
mov r8, qword [rsp + 0x198]
add rax, qword [r8 + 0x18]
add rax, rdx
add rbx, rax
mov qword [rsp + 0xe0], rax
mov eax, dword [r10 + 0xc]
dec eax
mov qword [rsp + 0xe8], rbx
mov dword [rsp + 0x7c], eax
lea eax, [rsi + rsi]
mov dword [rsp + 0x44], eax
mov eax, r9d
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x1a0]
mov rbx, rdi
mov qword [rsp + 0xa0], rcx
mov r8, r11
mov qword [rsp + 0x128], rcx
mov rdx, r15
mov r15, rcx
mov qword [rsp + 0x120], rdi
mov eax, dword [rax + 4]
mov r10, r12
mov r12, qword [rsp + 0xe0]
mov rsi, r13
mov qword [rsp + 0x118], r11
add r11, rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x100], r11
mov qword [rsp + 0xa8], r12
mov eax, dword [rax + 4]
add rdi, rax
mov dword [rsp + 0x78], ebp
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x108], rdi
mov edi, ebp
mov eax, dword [rax + 4]
add rcx, rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x110], rcx
mov rcx, qword [rsp + 0xe8]
mov r13, rcx
mov qword [rsp + 0xb0], rcx
mov eax, dword [rax + 4]
mov qword [rsp + 0xe0], rcx
add rcx, rax
mov qword [rsp + 0xe8], rcx
nop word [rax + rax]
movzx ecx, byte [rdx]
inc rdx
movzx r9d, byte [r8]
inc r8
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], r8
movzx eax, byte [rdx]
movzx r11d, byte [r8]
sub eax, ecx
movzx r8d, byte [r10]
sub r11d, r9d
movzx edx, byte [r10 + 1]
inc r10
mov qword [rsp + 0xc8], r10
sub edx, r8d
movzx r10d, byte [rbx]
inc rbx
mov qword [rsp + 0xd0], rbx
mov dword [rsp + 0x24], r10d
movzx ebx, byte [rbx]
sub ebx, r10d
test dil, 1
jne 0x140078f10
movzx r10d, byte [rsi]
inc rsi
mov dword [rsp + 0x34], r10d
movzx r10d, byte [rsi]
sub r10d, dword [rsp + 0x34]
mov dword [rsp + 0x54], r10d
movzx r10d, byte [r15]
inc r15
mov dword [rsp + 0x38], r10d
movzx r10d, byte [r15]
sub r10d, dword [rsp + 0x38]
mov dword [rsp + 0x50], r10d
movzx r10d, byte [r12]
inc r12
mov dword [rsp + 0x3c], r10d
movzx r10d, byte [r12]
sub r10d, dword [rsp + 0x3c]
mov dword [rsp + 0x5c], r10d
movzx r10d, byte [r13]
inc r13
mov dword [rsp + 0x40], r10d
movzx r10d, byte [r13]
sub r10d, dword [rsp + 0x40]
mov dword [rsp + 0x58], r10d
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x98], rsi
test ecx, ecx
jne 0x140078f26
test eax, eax
jne 0x140078f26
test r9d, r9d
jne 0x140078f26
test r11d, r11d
je 0x1400792e5
mov ebp, dword [rsp + 0x5c]
lea r12d, [rdx*4]
mov edi, dword [rsp + 0x34]
lea r15d, [rax*4]
mov esi, dword [rsp + 0x3c]
sub ebx, edx
mov edx, dword [rsp + 0x38]
sub r11d, eax
sub edx, dword [rsp + 0x34]
sub r9d, ecx
mov eax, dword [rsp + 0x50]
mov r10d, ecx
mov ecx, dword [rsp + 0x24]
sub r9d, r15d
sub ecx, r8d
mov dword [rsp + 0x64], ebx
mov ebx, dword [rsp + 0x40]
sub ecx, r12d
sub ebx, dword [rsp + 0x3c]
mov dword [rsp + 0x60], r11d
mov r11d, r8d
mov r8d, dword [rsp + 0x54]
sub eax, r8d
mov dword [rsp + 0x68], eax
lea eax, [rbp*4]
sub ebx, eax
shl ecx, 2
shl ebx, 2
lea r13d, [r8*4]
shl r10d, 4
mov r8d, dword [rsp + 0x58]
sub edx, r13d
sub r8d, ebp
shl edx, 2
mov dword [rsp + 0x6c], r8d
movzx r8d, byte [rsp + 0x21]
mov qword [rsp + 0x90], r8
mov ebp, r8d
mov r8d, dword [rsp + 0x6c]
mov dword [rsp + 0x30], r8d
mov r8d, dword [rsp + 0x68]
neg dword [rsp + 0x30]
shl dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r8d
mov r8d, dword [rsp + 0x64]
neg dword [rsp + 0x28]
neg r8d
shl dword [rsp + 0x28], 2
shl r8d, 2
mov dword [rsp + 0x88], r8d
mov r8d, dword [rsp + 0x60]
neg r8d
shl r11d, 4
shl r8d, 2
shl edi, 4
shl esi, 4
shl r9d, 2
mov dword [rsp + 0x84], r8d
mov r8d, ebp
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x74], 4
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x24], ecx
mov ebx, r10d
sar ebx, 4
test ebx, ebx
jle 0x140079146
mov ebp, dword [rsp + 0x44]
mov edx, r11d
mov ecx, ebp
sar edx, cl
movzx ecx, byte [r8 + r14]
cmp ecx, edx
jle 0x14007907d
imul edx, ebx
mov eax, 0xff
sub eax, ebx
imul eax, ecx
add eax, edx
sar eax, 8
cmp cl, al
jbe 0x14007907d
mov byte [r8 + r14], al
movzx r8d, byte [rsp + 0x1a8]
mov ecx, ebp
movzx eax, byte [rsp + 0x1d0]
mov r9d, 0xff
sub r9d, ebx
mov edx, edi
sar edx, cl
add r11d, r12d
add edx, eax
add r10d, r15d
movzx eax, byte [r8 + r14]
sar edx, 1
imul edx, ebx
imul eax, r9d
add edx, eax
movzx eax, byte [rsp + 0x1d8]
sar edx, 8
mov byte [r8 + r14], dl
mov edx, esi
movzx r8d, byte [rsp + 0x180]
sar edx, cl
add edx, eax
sar edx, 1
movzx eax, byte [r8 + r14]
imul edx, ebx
imul eax, r9d
movzx r9d, byte [rsp + 0x20]
add edx, eax
sar edx, 8
mov byte [r8 + r14], dl
mov edx, r11d
sar edx, cl
mov r8d, r10d
movzx ecx, byte [r9 + r14]
sar r8d, 4
cmp ecx, edx
jle 0x140079121
imul edx, r8d
mov eax, 0xff
sub eax, r8d
imul eax, ecx
add eax, edx
sar eax, 8
cmp cl, al
jbe 0x140079121
mov byte [r9 + r14], al
mov r8, qword [rsp + 0x90]
add r10d, r15d
mov r9d, dword [rsp + 0x48]
add r11d, r12d
mov ecx, dword [rsp + 0x24]
add edi, r13d
add esi, dword [rsp + 0x2c]
mov rbp, r8
mov edx, dword [rsp + 0x4c]
mov ebx, r10d
sar ebx, 4
test ebx, ebx
jle 0x140079252
mov ecx, dword [rsp + 0x44]
mov edx, r11d
sar edx, cl
movzx ecx, byte [r14 + rbp + 4]
cmp ecx, edx
jle 0x140079182
imul edx, ebx
mov eax, 0xff
sub eax, ebx
imul eax, ecx
add eax, edx
sar eax, 8
cmp cl, al
jbe 0x140079182
mov byte [r14 + rbp + 4], al
mov ecx, dword [rsp + 0x44]
mov r9d, 0xff
movzx r8d, byte [rsp + 0x1a8]
sub r9d, ebx
movzx eax, byte [rsp + 0x1d0]
mov edx, edi
sar edx, cl
add r11d, r12d
add edx, eax
add r10d, r15d
movzx eax, byte [r8 + r14 + 4]
sar edx, 1
imul edx, ebx
imul eax, r9d
add edx, eax
movzx eax, byte [rsp + 0x1d8]
sar edx, 8
mov byte [r8 + r14 + 4], dl
mov edx, esi
movzx r8d, byte [rsp + 0x180]
sar edx, cl
add edx, eax
sar edx, 1
movzx eax, byte [r8 + r14 + 4]
imul edx, ebx
imul eax, r9d
movzx r9d, byte [rsp + 0x20]
add edx, eax
sar edx, 8
mov byte [r8 + r14 + 4], dl
mov edx, r11d
sar edx, cl
mov r8d, r10d
movzx ecx, byte [r9 + r14 + 4]
sar r8d, 4
cmp ecx, edx
jle 0x14007922e
imul edx, r8d
mov eax, 0xff
sub eax, r8d
imul eax, ecx
add eax, edx
sar eax, 8
cmp cl, al
jbe 0x14007922e
mov byte [r9 + r14 + 4], al
mov r9d, dword [rsp + 0x48]
add r10d, r15d
mov ecx, dword [rsp + 0x24]
add r11d, r12d
mov r8, qword [rsp + 0x90]
add edi, r13d
add esi, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x4c]
jmp 0x140079255
mov rbp, r8
mov eax, dword [rsp + 0x2c]
add r10d, r9d
add r9d, dword [rsp + 0x84]
add r11d, ecx
add ecx, dword [rsp + 0x88]
add edi, edx
add edx, dword [rsp + 0x28]
add eax, dword [rsp + 0x6c]
mov ebx, dword [rsp + 0x80]
add r15d, dword [rsp + 0x60]
add rbx, 8
add r12d, dword [rsp + 0x64]
add r14, rbx
mov ebx, dword [rsp + 0x70]
add esi, ebx
add ebx, dword [rsp + 0x30]
add r13d, dword [rsp + 0x68]
add dword [rsp + 0x74], 0xffffffff
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x70], ebx
jne 0x140079041
mov edi, dword [rsp + 0x78]
xor ebp, ebp
mov rsi, qword [rsp + 0x98]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xd8]
inc edi
mov rax, qword [rsp + 0x1b8]
add r14, 8
mov qword [rsp + 0xd8], r14
mov dword [rsp + 0x78], edi
mov eax, dword [rax + 8]
cmp edi, eax
jl 0x1400793c8
jne 0x1400793ed
mov rdx, qword [rsp + 0xc8]
mov r11d, ebp
mov rax, qword [rsp + 0xb8]
mov ebx, ebp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
movzx r8d, byte [rdx]
inc rdx
movzx ecx, byte [rax]
inc rax
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xc0]
mov dword [rsp + 0x58], ebp
movzx r10d, byte [rdx]
inc rdx
mov dword [rsp + 0x24], r10d
movzx r10d, byte [rsi]
inc rsi
movzx r9d, byte [rax]
inc rax
mov dword [rsp + 0x34], r10d
movzx r10d, byte [r15]
inc r15
mov dword [rsp + 0x38], r10d
movzx r10d, byte [r12]
inc r12
mov dword [rsp + 0x3c], r10d
movzx r10d, byte [r13]
inc r13
mov qword [rsp + 0xc0], rax
mov eax, ebp
mov qword [rsp + 0xd0], rdx
mov edx, ebp
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x5c], ebp
jmp 0x140078ef0
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc0]
mov r10, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
jmp 0x140078e20
mov rax, qword [rsp + 0xf0]
add rax, qword [rsp + 0xf8]
mov r11, qword [rsp + 0x100]
mov r14, rax
mov rdi, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x118]
mov r12, qword [rsp + 0x120]
mov r13, qword [rsp + 0x128]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x7c]
dec eax
mov dword [rsp + 0x7c], eax
test eax, eax
jg 0x140078d54
mov r15, qword [rsp + 0x138]
mov r14, qword [rsp + 0x140]
jmp 0x140079470
mov eax, 0xfffffffa
jmp 0x140079472
mov ebp, 0xfffffffc
mov eax, ebp
mov rsi, qword [rsp + 0x148]
add rsp, 0x150
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret