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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xe0
mov r10d, dword [rbp + 0x6f]
mov rbx, rcx
mov r12, qword [rbp + 0x77]
mov rsi, rdx
mov r14, qword [rbp + 0x7f]
xor edx, edx
mov qword [rbp + 0x47], rdx
mov ecx, 0x201
lea eax, [r10 - 0x3000]
xorps xmm0, xmm0
test eax, 0xffffefff
xorps xmm1, xmm1
mov r15, qword [r14 + 0x2f0]
mov r13d, 0x60
sete al
test al, al
mov byte [rbp + 0x6f], al
mov rax, qword [r12]
cmovne r13d, ecx
xor r8d, r8d
mov r9d, r13d
mov rcx, qword [rax]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x48], rdx
mov dword [rbp - 0x69], edx
mov qword [rbp - 0x59], rdx
lea edx, [r8 + 8]
mov qword [rbp + 0x77], rcx
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rbp - 0x79], xmm1
mov dword [rbp - 0x65], r10d
mov qword [rbp - 0x61], rbx
call fcn.140051f30
mov edi, dword [rbp + 0x7f]
mov qword [rbp - 0x79], rax
test edi, edi
je 0x1400787ac
mov rcx, qword [rbp + 0x77]
mov rdx, rax
call fcn.140051ed0
mov edi, dword [rbp + 0x7f]
xor eax, eax
mov qword [rbp - 0x79], rax
jmp 0x1400787b4
mov dword [rbp - 0x69], r13d
mov qword [rbp - 0x71], rax
test edi, edi
jne 0x140078ba4
xor edx, edx
mov r8d, 0xbc
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
cmp byte [rbp + 0x6f], dil
mov eax, 0x30
mov ecx, 0x201
mov dword [rbx + 0x20], 0xff9c0000
cmovne eax, ecx
mov dword [rbx + 0x24], 0x320000
mov dword [rbx + 0xb8], eax
mov dword [rbx + 0x2c], 2
mov dword [rbx + 0x30], 0x10000
mov dword [rbx + 0x3c], 0x10000
mov dword [rbx + 0x9c], 0x2210
mov dword [rbx], 0xffff
mov dword [rbx + 4], 0xffff
mov dword [rbx + 8], 0xffff
mov dword [rbx + 0xc], 0xffff
mov dword [rbx + 0x10], 0xffff
mov dword [rbx + 0x14], 0xffff
mov dword [rbx + 0x80], 0xffff
mov dword [rbx + 0x84], 0xffff
mov dword [rbx + 0x88], 0xffff
mov dword [rbx + 0xac], 0xffff
cmp dword [rsi + 0x10], edi
je 0x140078888
mov edx, dword [rbp + 0x57]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0x47]
mov rcx, rsi
call fcn.140076700
mov r13, qword [rbp + 0x5f]
mov edi, eax
test eax, eax
jne 0x1400788dd
mov eax, dword [rbp + 0x7f]
jmp 0x1400788bd
mov r13, qword [rbp + 0x5f]
mov edx, dword [rsi + 0x18]
mov rcx, r13
call fcn.14004fe70
mov edi, eax
test eax, eax
jne 0x140078ba0
mov edx, dword [rsi + 0x1c]
lea r8, [rbp + 0x47]
mov rcx, r13
call fcn.14004f360
mov edi, eax
test eax, eax
jne 0x140078ba0
mov eax, dword [rsi + 0x1c]
mov rdx, qword [rbp + 0x47]
test rdx, rdx
je 0x1400788ce
mov r8d, eax
add r8, rdx
jmp 0x1400788d1
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.140077660
mov edi, eax
cmp dword [rsi + 0x10], 0
je 0x1400788ef
cmp qword [rsi + 0x28], 0
jne 0x1400788fb
mov rcx, qword [rsi]
jmp 0x1400788f2
mov rcx, r13
lea rdx, [rbp + 0x47]
call fcn.14004fe20
test edi, edi
jne 0x140078ba0
cmp dword [rbx + 0x84], 0xffff
jne 0x140078ba0
mov r13, qword [r12 + 8]
lea rsi, [rbx + 0xc0]
mov qword [rbx + 0x240], r12
mov byte [rbx + 0x239], dil
cmp dword [rbx + 0x74], edi
je 0x140078ab4
cmp dword [rbx + 0x78], edi
je 0x140078ab4
xor edx, edx
mov r8d, 0x178
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsi + 0xc8], 7
mov dword [rsi + 0xcc], 1
mov dword [rsi + 0x14c], 0xffffffff
mov dword [rsi + 0x154], 0xf5c
mov dword [rsi + 0xc4], 0x27a000
mov qword [rsi + 0x170], rbx
mov dword [rbx + 0x268], eax
mov qword [rbx + 0x270], rax
movzx eax, byte [r12 + 0x2c]
test al, al
je 0x1400789ad
mov ecx, dword [r12 + 0x698]
inc ecx
jmp 0x1400789b2
mov ecx, 0x61
mov r9, qword [r12]
test al, al
movzx eax, word [rbx + 0xb2]
mov edx, 0x2000
mov word [rsp + 0x30], ax
mov r8d, 0x5000
movzx eax, word [rbx + 0xb0]
cmovne edx, r8d
mov word [rsp + 0x28], ax
mov r8, rsi
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x49]
call fcn.1400775a0
test eax, eax
jne 0x140078a8c
mov edx, dword [r12 + 0x18]
mov rcx, r13
add edx, dword [rbx + 0x74]
call fcn.14004fe70
mov edi, eax
test eax, eax
jne 0x140078a8c
mov edx, dword [rbx + 0x78]
mov rcx, r13
call fcn.14004f1f0
mov edi, eax
test eax, eax
jne 0x140078a8c
mov r8, qword [r13 + 0x40]
lea rcx, [rbp - 0x49]
mov rdx, qword [r13 + 0x38]
call fcn.140077660
mov rcx, r13
mov edi, eax
call fcn.14004f310
test edi, edi
jne 0x140078a8c
and byte [rsi], 0xfe
mov eax, dword [rsi + 0x158]
test eax, eax
jns 0x140078a54
neg eax
mov dword [rsi + 0x158], eax
jmp 0x140078a60
jne 0x140078a60
mov dword [rsi + 0x158], 0x3ade68b1
cmp dword [rsi + 0xc8], 0x3e8
jbe 0x140078a76
mov dword [rsi + 0xc8], 7
cmp dword [rsi + 0xcc], 0x3e8
jbe 0x140078a8c
mov dword [rsi + 0xcc], 1
mov rcx, qword [rbp - 0x49]
mov rax, qword [rbx + 0x278]
mov rdx, qword [rbp - 0x29]
mov qword [rbx + 0x280], rax
mov dword [rbx + 0x288], 0
mov rcx, qword [rcx]
call fcn.140051ed0
test edi, edi
jne 0x140078ba0
movzx r12d, byte [rbp + 0x6f]
test r12b, r12b
jne 0x140078b45
mov rax, qword [r14 + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x140078aff
mov rsi, qword [r14 + 0x90]
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x140078b30
mov ecx, eax
call qword [r15 + 0x28]
mov dword [rsi + 0x60], eax
test eax, eax
js 0x140078af0
jmp 0x140078b30
mov dword [rbx + 0x2c8], ecx
mov rax, qword [r14 + 0xd0]
cmp dword [rax + 0x5c], 0
je 0x140078b30
mov ecx, dword [rax + 0x5c]
call qword [r15 + 0x28]
mov rcx, qword [r14 + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [r14 + 0xd0]
cmp dword [rax + 0x5c], 0
jl 0x140078b12
cmp dword [rbx + 0x2c8], 0
jne 0x140078b45
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rbx + 0x21c]
test eax, eax
je 0x140078ba0
mov edx, dword [rbx + 0x74]
mov r14, qword [rbp + 0x5f]
add edx, eax
add edx, dword [rbp + 0x67]
mov rcx, r14
call fcn.14004fe70
mov edi, eax
test eax, eax
jne 0x140078ba0
movzx r9d, r12b
lea rcx, [rbx + 0x290]
mov r8b, 1
mov rdx, r14
call fcn.140076be0
mov edi, eax
test eax, eax
jne 0x140078ba0
lea rdx, [rbx + 0x2c0]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbx + 0x290]
call fcn.140076990
mov edi, eax
mov rax, qword [rbp - 0x79]
mov rcx, qword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.140051ed0
mov rbx, qword [rsp + 0x128]
mov eax, edi
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret