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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x218
mov rsi, rdx
mov rdi, rcx
movabs r14, 0x8000000000000000
movzx r8d, byte [rdx + 0x32c]
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140056530
mov byte [rsp + 0x138], 0x11
lea rax, [r14 + 0x10]
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0xa8], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], 0
lea rbx, [rsp + 0xa0]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140040d30
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x160], xmm0
lea rcx, [rsp + 0x178]
mov r8d, 0xa0
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov word [rsp + 0x158], 5
lea rbx, [rsp + 0xa0]
lea rdx, [rsp + 0x160]
mov r8d, 0xb8
mov rcx, rbx
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.140077d50
movzx eax, word [rsp + 0x84]
movups xmm0, xmmword [rsp + 0x70]
mov word [rsp + 0x98], ax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x9a], eax
movups xmmword [rsp + 0x88], xmm0
mov r9, qword [rsi + 0x30]
cmp r9, 0xfffffffffffffffd
ja 0x14005651f
lea rax, [r9 + 1]
mov qword [rsi + 0x30], rax
mov rdx, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x88]
call qword [rax + 0x18]
cmp qword [rsp + 0xa0], 0
jne 0x14005651f
movups xmm0, xmmword [rsp + 0xa8]
movups xmm1, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x170], xmm1
movaps xmmword [rsp + 0x160], xmm0
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x160]
call fcn.140077b60
lea rbx, [rsi + 0x308]
mov rax, qword [rsi + 0x308]
cmp rax, r14
je 0x14005638f
test rax, rax
je 0x14005638f
mov r8, qword [rsi + 0x310]
mov rcx, qword [0x1402540f8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rbx], xmm0
cmp qword [rsp + 0x68], 0
je 0x1400563c1
mov r8, qword [rsp + 0x70]
mov rcx, qword [0x1402540f8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.140055830
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 0
mov byte [rsp + 0x22], 0
mov byte [rsp + 0x23], 0
mov byte [rsp + 0x24], 0
mov byte [rsp + 0x25], 0
mov byte [rsp + 0x26], 0
mov byte [rsp + 0x27], 0
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x29], 0
mov byte [rsp + 0x2a], 0
mov byte [rsp + 0x2b], 0
mov byte [rsp + 0x2c], 0
mov byte [rsp + 0x2d], 0
mov byte [rsp + 0x2e], 0
mov byte [rsp + 0x2f], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x33], 0
mov byte [rsp + 0x34], 0
mov byte [rsp + 0x35], 0
mov byte [rsp + 0x36], 0
mov byte [rsp + 0x37], 0
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x39], 0
mov byte [rsp + 0x3a], 0
mov byte [rsp + 0x3b], 0
mov byte [rsp + 0x3c], 0
mov byte [rsp + 0x3d], 0
mov byte [rsp + 0x3e], 0
mov byte [rsp + 0x3f], 0
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x42], 0
mov byte [rsp + 0x43], 0
mov byte [rsp + 0x44], 0
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], 0
mov byte [rsp + 0x47], 0
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x49], 0
mov byte [rsp + 0x4a], 0
mov byte [rsp + 0x4b], 0
mov byte [rsp + 0x4c], 0
mov byte [rsp + 0x4d], 0
mov byte [rsp + 0x4e], 0
mov byte [rsp + 0x4f], 0
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x53], 0
mov byte [rsp + 0x54], 0
mov byte [rsp + 0x55], 0
mov byte [rsp + 0x56], 0
mov byte [rsp + 0x57], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x59], 0
mov byte [rsp + 0x5a], 0
mov byte [rsp + 0x5b], 0
mov byte [rsp + 0x5c], 0
mov byte [rsp + 0x5d], 0
mov byte [rsp + 0x5e], 0
mov byte [rsp + 0x5f], 0
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2