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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rdi, qword [rsp + 0x108]
xor r14d, r14d
mov r13, r9
mov rbx, rcx
mov r9d, edx
mov rdx, qword [rsp + 0x100]
lea r15d, [r14 + 4]
lea rcx, [rdi + 0x10]
cmp dword [rdi], r14d
jne 0x140125017
cmp dword [r8], r14d
mov esi, r14d
mov eax, 2
setne sil
cmp dword [r13], r14d
cmovne esi, eax
cmp dword [rdx], r14d
mov eax, 3
cmovne esi, eax
jmp 0x14012502d
mov esi, r15d
cmp dword [rcx], r14d
je 0x14012502d
cmp dword [rdi + 0x20], r14d
mov esi, r14d
setne sil
add esi, 5
mov r12d, dword [rbx + 0x24]
or r12d, dword [rbx + 0x54]
mov qword [rsp + 0xe0], rbp
test r12b, 1
je 0x14012512f
cmp qword [rbx + 0x30], r14
jne 0x140125057
mov eax, 5
jmp 0x1401252f9
mov eax, dword [rbx + 0x10]
shr eax, 1
test al, 1
je 0x14012512b
movups xmm0, xmmword [r8]
mov rax, qword [rbx + 0x58]
lea r8, [rsp + 0x40]
movups xmm1, xmmword [r13]
cmp byte [rbx + 8], 3
mov r10, qword [rbx + 0x88]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
movaps xmmword [rsp + 0x50], xmm1
mov eax, r14d
movups xmm1, xmmword [rdi]
sete al
mov dword [rsp + 0x30], r9d
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rcx]
movzx ecx, byte [rbx + 0x48]
movaps xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [rdi + 0x20]
mov r9d, esi
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm1
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x20], eax
call r10
mov ebp, eax
test eax, eax
je 0x14012512b
mov qword [rbx + 0x54], r14
mov dword [rbx + 0x5c], r14d
mov rcx, qword [rbx + 0x40]
mov qword [rbx + 0x60], r14
test rcx, rcx
je 0x140125124
mov edx, eax
mov r9, rbx
mov eax, 0x46
cmp edx, eax
cmova edx, eax
mov eax, edx
lea rdx, [0x1401fa2c0]
movzx r8d, word [rdx + rax*2]
lea rax, [0x1401fa350]
add r8, rax
mov edx, ebp
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebp
jmp 0x1401252f9
and r12d, 0xfffffffe
cmp esi, r15d
lea rcx, [rbx + 0xf0]
mov ebp, 6
lea r8, [rsp + 0x108]
cmovbe ebp, r15d
mov edx, ebp
add rdx, r15
shl rdx, 4
call fcn.14012ff80
mov r15, qword [rbx + 0x60]
xor r9d, r9d
mov dword [rbx + 0x54], r9d
mov r14, rax
mov qword [rbx + 0x60], r9
test rax, rax
jne 0x14012519a
mov qword [rbx + 0x58], r9
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140125190
mov r10, qword [rcx]
lea r8, str.OutOfMemory
mov r9, rbx
lea edx, [rax + 1]
call qword [r10 + 8]
mov eax, 1
jmp 0x1401252f9
mov qword [rax], r9
mov qword [rax + 8], r9
mov byte [rax + 0x10], 1
movzx eax, byte [rbx + 0x198]
mov qword [r14 + 0x28], r9
or al, 0x29
mov byte [r14 + 0x11], al
mov eax, dword [rsp + 0xe8]
mov dword [r14 + 0x30], eax
xor eax, eax
mov dword [r14 + 0x34], r12d
mov dword [r14 + 0x14], r9d
mov qword [r14 + 0x18], r9
mov qword [r14 + 0x20], r9
mov qword [r14 + 0x38], rax
mov byte [r14 + 0x13], bpl
mov byte [r14 + 0x12], sil
mov eax, dword [rbx + 0x58]
mov ecx, dword [rbx + 0x5c]
mov dword [r14 + 0x38], eax
mov rax, qword [rsp + 0xf0]
mov dword [r14 + 0x3c], ecx
movups xmm0, xmmword [rax]
mov rax, qword [rsp + 0x100]
movups xmmword [r14 + 0x40], xmm0
movups xmm0, xmmword [r13]
movups xmmword [r14 + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x60], xmm0
cmp esi, 3
jbe 0x140125245
lea rcx, [r14 + 0x70]
lea edx, [rsi - 3]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rcx + 0x10]
movups xmm0, xmmword [rdi]
lea rdi, [rdi + 0x10]
movups xmmword [rcx - 0x10], xmm0
sub rdx, 1
jne 0x140125230
cmp esi, ebp
jae 0x140125271
mov eax, esi
shl rax, 4
add rax, 0x48
add rax, r14
sub ebp, esi
mov ecx, ebp
nop word [rax + rax]
mov qword [rax - 8], r9
mov qword [rax], r9
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140125260
test r15, r15
je 0x1401252e4
lea rcx, [rbx + 0xb0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r15 + rdi], r9b
jne 0x140125284
test rdi, rdi
je 0x1401252dd
mov rsi, qword [rcx]
lea rdx, [rdi + 1]
mov rax, qword [rcx + 8]
cmp rsi, rax
jae 0x1401252b3
sub rax, rsi
cmp rdx, rax
ja 0x1401252b3
lea rax, [rsi + rdx]
mov qword [rcx], rax
jmp 0x1401252c4
mov r8d, 1
call fcn.14012fd80
mov rsi, rax
xor r9d, r9d
test rsi, rsi
je 0x1401252dd
mov r8, rdi
mov rdx, r15
mov rcx, rsi
call fcn.14013b040
mov byte [rsi + rdi], 0
jmp 0x1401252e0
mov rsi, r9
mov qword [r14 + 0x28], rsi
mov rdx, r14
mov rcx, rbx
call fcn.140124500
xor eax, eax
mov qword [rbx + 0x58], 0
mov rbp, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret