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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov r15, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0x180]
lea rcx, [rsp + 0x68]
call fcn.140005c7b
mov rax, qword [rsp + 0x68]
cmp rax, 4
jne 0x140006511
mov r12, qword [rsi]
xor eax, eax
mov rbp, r12
test r12, r12
je 0x1400064dd
mov eax, dword [rsi + 0x18]
mov r12, qword [rsi + 0x10]
mov rbp, qword [rsi + 8]
mov dword [rsp + 0x3c], eax
mov rcx, r14
call fcn.140004c56
mov rdx, qword [rax]
lea rsi, [rsp + 0x68]
mov rcx, rsi
mov r13, rax
call fcn.140003aec
cmp qword [rsi], 0
je 0x14000653c
mov rax, qword [rsp + 0x70]
and qword [rbx], 0
mov qword [rbx + 8], rax
jmp 0x14000651d
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 8], xmm0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400f7fd9
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x70]
mov ecx, dword [r15 + 0xc]
shl ecx, 0x10
cmp dword [r15 + 8], 0
mov r9d, dword [r15 + 0x10]
mov r10, rbp
movzx r14d, word [r15 + 0x20]
movzx ebp, word [r15 + 0x22]
mov rdx, qword [r15]
mov rsi, qword [r15 + 0x24]
mov r8d, 0x81a40000
cmovne r8d, ecx
mov r11b, byte [r15 + 0x2c]
mov word [rsp + 0x111], 0x2e03
mov dword [rsp + 0x38], r9d
mov byte [rsp + 0x10e], r9b
mov byte [rsp + 0x10f], 0
mov word [rsp + 0x34], r14w
mov word [rsp + 0x100], r14w
mov word [rsp + 0x36], bp
mov word [rsp + 0x102], bp
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0xd0], rsi
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x104], ecx
mov qword [rsp + 0x48], r10
mov qword [rsp + 0xd8], r10
mov qword [rsp + 0xe0], r12
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x70], xmm0
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x80], rcx
mov ecx, 1
mov qword [rsp + 0x88], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rcx
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rcx
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xe8], rax
movups xmmword [rsp + 0xf0], xmm0
mov dword [rsp + 0x108], r8d
mov byte [rsp + 0x27], r11b
mov byte [rsp + 0x110], r11b
mov byte [rsp + 0x10d], 2
mov rdi, r13
mov rcx, qword [r13]
mov edx, 0x4034b50
call fcn.140011d21
test rax, rax
jne 0x140006766
lea rcx, [rsp + 0x68]
call fcn.14011c8d7
mov rcx, qword [rdi]
mov edx, eax
call fcn.140011cbb
test rax, rax
jne 0x140006766
mov r13, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
mov rcx, r13
mov qword [rsp + 0x40], rdx
call fcn.140009e6c
xor al, 1
movzx edx, al
shl edx, 0xb
add edx, dword [rsp + 0x38]
mov rcx, qword [rdi]
call fcn.140011cbb
test rax, rax
jne 0x140006766
movzx ecx, word [rsp + 0x34]
movzx edx, word [rsp + 0x36]
call fcn.140004bb7
mov rcx, qword [rdi]
mov edx, eax
call fcn.140011cbb
test rax, rax
jne 0x140006766
mov rdx, qword [rsp + 0x50]
mov rax, rdx
shr rax, 0x31
and eax, 0x7f
mov rcx, rdx
shr rcx, 0x23
and ecx, 0x1fe0
or ecx, eax
shr rdx, 0x15
and edx, 0xfffff800
or edx, ecx
mov rcx, qword [rdi]
call fcn.140011cbb
test rax, rax
jne 0x140006766
mov rdx, qword [rsp + 0x50]
mov rax, rdx
shr rax, 0x18
movzx eax, al
mov ecx, edx
shr ecx, 0xb
and ecx, 0x1fe0
or ecx, eax
shl edx, 9
add edx, 0xffff8800
or edx, ecx
mov rcx, qword [rdi]
call fcn.140011cbb
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov edx, dword [rsp + 0x3c]
call fcn.140011d21
test rax, rax
je 0x14000678d
and qword [rbx], 0
mov qword [rbx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.1400081b0
nop
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x27], 0
je 0x1400067b5
mov rcx, qword [rdi]
mov edx, 0xffffffff
call fcn.140011d21
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov edx, 0xffffffff
call fcn.140011d21
jmp 0x1400067d2
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x48]
call fcn.140011d21
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov edx, r12d
call fcn.140011d21
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x40]
call fcn.140011cbb
test rax, rax
jne 0x140006766
xor eax, eax
cmp byte [rsp + 0x27], 0
mov edx, 0x14
cmove edx, eax
add dx, word [rsp + 0xb0]
mov rcx, qword [rdi]
call fcn.140011cbb
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov rdx, r13
mov r8, qword [rsp + 0x40]
call fcn.14011c6ce
test rax, rax
jne 0x140006766
cmp byte [rsp + 0x27], 0
je 0x140006889
mov rcx, qword [rdi]
mov dx, 1
call fcn.140011cbb
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov dx, 0x10
call fcn.140011cbb
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov rdx, r12
call fcn.140011d8b
test rax, rax
jne 0x140006766
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x48]
call fcn.140011d8b
test rax, rax
jne 0x140006766
mov rdx, qword [rdi]
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.140003aec
cmp qword [rsi], 0
je 0x1400068a9
mov rax, qword [rsp + 0x60]
jmp 0x140006766
lea r12, [rsp + 0x58]
mov rax, qword [r12 + 8]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x78], rax
mov qword [rsp + 0xf8], rax
and qword [rcx + 0x80], 0
mov rcx, r12
call fcn.14003f215
movups xmm0, xmmword [rsp + 0x58]
mov rax, qword [rsp + 0x28]
movups xmmword [rax + 0x68], xmm0
mov rdx, qword [rax + 0x98]
cmp rdx, qword [rax + 0x90]
jne 0x14000690f
mov rax, qword [rsp + 0x28]
lea rcx, [rax + 0x88]
call fcn.14000bd71
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x98]
imul rcx, rdx, 0xb0
mov rsi, qword [rsp + 0x28]
add rcx, qword [rsi + 0x88]
lea rdx, [rsp + 0x68]
mov r8d, 0xb0
call sub.msvcrt.dll_memcpy
inc qword [rsi + 0x98]
cmp dword [rsp + 0x38], 0
je 0x1400069f3
lea r13, [rsp + 0x68]
mov ecx, 0xd
mov rdi, r13
mov rax, qword [rsp + 0x28]
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rax], 2
lea rdi, [rax + 8]
mov rcx, r13
call fcn.140004be3
xorps xmm0, xmm0
movups xmmword [r13 + 8], xmm0
mov qword [r13 + 0x18], rax
mov qword [r13], 1
mov rax, qword [r15 + 0x14]
and dword [rsp + 0x60], 0
mov qword [r13 + 0x20], rax
and qword [rsp + 0x58], 0
mov eax, dword [r15 + 0x1c]
mov dword [r13 + 0x28], eax
mov esi, 0xc
xor eax, eax
test al, 1
jne 0x1400069c0
mov rcx, r13
mov rdx, r12
mov r8, rsi
call fcn.14010f5a4
add r12, rsi
mov al, 1
xor esi, esi
jmp 0x1400069a5
mov rcx, qword [rsp + 0x28]
call fcn.14000943a
mov rax, qword [rsp + 0x28]
mov qword [rax], 3
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movups xmm2, xmmword [rsp + 0x88]
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov qword [rbx], 4
jmp 0x140006778