Function at 0x140023829
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, 0x1c8
mov rsi, rdx
mov rbx, rcx
movzx eax, byte [rdx + 0x98]
test rax, rax
je 0x14002385f
cmp eax, 1
jne 0x140023863
mov r12b, byte [rsi + 0x99]
mov bpl, 1
jmp 0x140023861
xor ebp, ebp
jmp 0x1400238a2
call fcn.14006d889
mov rdi, rax
mov rax, qword [rsi + 0xa0]
lea rdx, [rax + 0x18]
mov r10, qword [rax]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
lea r14, [rsp + 0xc0]
mov rcx, r14
call qword [r10]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov bpl, 2
lea rdx, [rsi + 0xc0]
mov rax, qword [rsi + 0xa8]
mov r8, qword [rsi + 0xb0]
mov r9, qword [rsi + 0xb8]
lea r14, [rsp + 0x180]
mov rcx, r14
call qword [rax]
lea rdx, [rsi + 0xe0]
mov rax, qword [rsi + 0xc8]
mov r8, qword [rsi + 0xd0]
mov r9, qword [rsi + 0xd8]
lea r15, [rsp + 0xc0]
mov rcx, r15
call qword [rax]
movzx eax, word [rsi + 0xe8]
mov word [r15 + 0x20], ax
mov byte [r14 - 0x10], bpl
mov byte [r14 - 0xf], r12b
mov qword [r14 - 8], rdi
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm1
mov rax, qword [r15 + 0x20]
mov qword [r14 + 0x40], rax
movzx eax, byte [rsi + 0x118]
mov r15b, 3
cmp rax, 3
je 0x140023a2b
test rax, rax
je 0x140023951
cmp eax, 1
jne 0x140023956
mov bpl, byte [rsi + 0x119]
mov r15b, 1
jmp 0x140023954
xor r15d, r15d
jmp 0x140023995
call fcn.14006d889
mov rdi, rax
mov rax, qword [rsi + 0x120]
lea rdx, [rax + 0x18]
mov r10, qword [rax]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
lea r14, [rsp + 0xc0]
mov rcx, r14
call qword [r10]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov r15b, 2
lea rdx, [rsi + 0x140]
mov rax, qword [rsi + 0x128]
mov r8, qword [rsi + 0x130]
mov r9, qword [rsi + 0x138]
lea rcx, [rsp + 0xd0]
call qword [rax]
lea rdx, [rsi + 0x160]
mov rax, qword [rsi + 0x148]
mov r8, qword [rsi + 0x150]
mov r9, qword [rsi + 0x158]
lea r14, [rsp + 0x118]
mov rcx, r14
call qword [rax]
movzx eax, word [rsi + 0x168]
mov word [r14 + 0x20], ax
lea rdx, [rsp + 0xc1]
mov byte [rdx], bpl
mov qword [rdx + 7], rdi
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdx + 0x2f], xmm0
movups xmmword [rdx + 0x3f], xmm1
mov rax, qword [r14 + 0x20]
mov qword [rdx + 0x4f], rax
lea rcx, [rsp + 0x118]
mov r8d, 0x57
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x54], r15d
mov cl, 2
cmp byte [rsi + 0x110], 2
je 0x140023a8f
lea rdx, [rsi + 0x108]
mov rax, qword [rsi + 0xf0]
mov r8, qword [rsi + 0xf8]
mov r9, qword [rsi + 0x100]
lea rdi, [rsp + 0xc0]
mov rcx, rdi
call qword [rax]
mov cl, byte [rsi + 0x110]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov eax, dword [rdi + 0x21]
mov dword [rsp + 0x24], eax
mov eax, dword [rdi + 0x24]
mov dword [rsp + 0x27], eax
mov byte [rsp + 0x23], cl
mov r15d, dword [rsi + 0x90]
cmp r15d, 0x3b9aca00
je 0x140023abc
movups xmm0, xmmword [rsi + 0x80]
movaps xmmword [rsp + 0xc0], xmm0
mov eax, dword [rsi + 0x94]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsi + 0x38]
mov dword [rsp + 0x34], eax
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x98], rax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x90], rax
mov eax, dword [rsi + 0x20]
mov dword [rsp + 0x48], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x44], eax
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x40], eax
mov eax, dword [rsi + 0x2c]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsi + 0x48]
mov dword [rsp + 0x50], eax
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x88], rax
mov al, byte [rsi + 0x180]
mov byte [rsp + 0x22], al
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x80], rax
mov al, byte [rsi + 0x181]
mov cl, byte [rsi + 0x182]
mov edx, dword [rsi + 0x68]
mov dword [rsp + 0x30], edx
mov rdx, qword [rsi + 0x60]
mov qword [rsp + 0x58], rdx
mov edx, dword [rsi + 0x78]
mov dword [rsp + 0x38], edx
mov rdx, qword [rsi + 0x70]
mov qword [rsp + 0x78], rdx
mov rbp, qword [rsi + 0x170]
lock inc qword [rbp]
jle 0x140023d16
xor r14d, r14d
test cl, cl
setne r14b
cmp cl, 2
mov ecx, 2
cmove r14d, ecx
xor r13d, r13d
test al, al
setne r13b
cmp al, 2
cmove r13d, ecx
mov r12, qword [rsi + 0x178]
lea rdi, [rbx + 0x98]
lea rsi, [rsp + 0x170]
mov ecx, 0xb
rep movsq qword [rdi], qword [rsi]
mov eax, dword [rsp + 0x54]
mov byte [rbx + 0x118], al
lea rcx, [rbx + 0x119]
lea rdx, [rsp + 0x118]
mov r8d, 0x57
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rbx + 0xf0], xmm0
movups xmmword [rbx + 0x100], xmm1
mov al, byte [rsp + 0x23]
mov byte [rbx + 0x110], al
mov eax, dword [rsp + 0x24]
mov dword [rbx + 0x111], eax
mov eax, dword [rsp + 0x27]
mov dword [rbx + 0x114], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x30], rax
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rbx + 0x80], xmm0
mov dword [rbx + 0x90], r15d
mov eax, dword [rsp + 0x2c]
mov dword [rbx + 0x94], eax
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x18], rax
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x44]
mov dword [rbx + 0x24], eax
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x2c], eax
mov rax, qword [rsp + 0x88]
mov qword [rbx + 0x40], rax
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x48], eax
mov al, byte [rsp + 0x22]
mov byte [rbx + 0x180], al
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x4c]
mov dword [rbx + 0x58], eax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x60], rax
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x68], eax
mov byte [rbx + 0x181], r13b
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x70], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x78], eax
mov byte [rbx + 0x182], r14b
mov qword [rbx + 0x170], rbp
mov qword [rbx + 0x178], r12
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2