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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x140082774
test dword [rcx + 0x1c], 0x200
je 0x140082774
cmp byte [rcx + 0x19], 4
jb 0x140082774
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154f08]
mov edx, 0x1d
call fcn.14000c328
mov rcx, qword [0x140173048]
mov rbp, qword [rdi + 0x130]
lea rax, [0x14014c628]
mov r14d, dword [rdi + 0xd8]
xor esi, esi
mov dword [rsp + 0x88], r14d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbp
mov byte [rsp + 0x30], sil
test rbx, rbx
jne 0x1400827b1
mov esi, 0x80004003
jmp 0x140082a39
mov r12d, 0x58
xor edx, edx
mov r8d, r12d
mov rcx, rbx
call sub.msvcrt.dll_memset
mov eax, dword [rdi + 0x100]
mov dword [rbx], eax
mov eax, dword [rdi + 0x128]
mov dword [rbx + 4], eax
mov eax, dword [rdi + 0x12c]
mov dword [rbx + 8], eax
mov rax, qword [rdi + 0x104]
mov qword [rbx + 0x40], rax
test r14d, r14d
jne 0x14008282c
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x140082a92
test byte [rcx + 0x1c], 1
je 0x140082a69
cmp byte [rcx + 0x19], 4
jb 0x140082a69
mov rcx, qword [rcx + 0x10]
lea edx, [r12 - 0x3a]
lea r8, [0x140154f08]
call fcn.14000c328
jmp 0x140082a62
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rbp, [rbx + 0x50]
mov byte [rsp + 0x30], 1
mov rcx, rbp
mov r8d, r12d
mov edx, r14d
call fcn.14000d5bc
mov esi, eax
test eax, eax
js 0x140082a2a
xor r12d, r12d
cmp r12d, r14d
jae 0x1400829d2
mov edx, r12d
lea rcx, [rdi + 0xb8]
imul r14, rdx, 0x58
add r14, qword [rbp]
call fcn.140016110
lea rdx, [r14 + 0x40]
xor r8d, r8d
mov r15, qword [rax]
mov ebp, dword [r15 + 0x5c]
mov rcx, qword [r15 + 0x50]
mov dword [rsp + 0x80], ebp
call fcn.140091bf0
mov esi, eax
test eax, eax
js 0x140082a23
mov eax, dword [r15]
mov dword [r14], eax
movups xmm0, xmmword [r15 + 0x40]
movdqu xmmword [r14 + 8], xmm0
mov rax, qword [r15 + 8]
mov qword [r14 + 0x18], rax
mov rax, qword [r15 + 0x10]
mov qword [r14 + 0x20], rax
mov rax, qword [r15 + 0x20]
mov qword [r14 + 0x28], rax
mov rax, qword [r15 + 0x28]
mov qword [r14 + 0x30], rax
mov rax, qword [r15 + 0x30]
mov qword [r14 + 0x38], rax
mov eax, dword [r15 + 0x58]
mov dword [r14 + 0x4c], eax
mov dword [r14 + 0x48], ebp
add r14, 0x50
mov qword [rsp + 0x90], r14
test ebp, ebp
je 0x140082917
mov r8d, SysAllocStringByteLen
mov edx, ebp
mov rcx, r14
call fcn.14000d5bc
mov esi, eax
test eax, eax
js 0x140082a23
xor r13d, r13d
cmp r13d, ebp
jae 0x1400829be
lea rbp, [r13*8]
mov edx, r13d
add rbp, r13
lea rcx, [r15 + 0x60]
shl rbp, 4
add rbp, qword [r14]
call fcn.1400161c0
lea rdx, [rbp + 0x70]
xor r8d, r8d
mov r14, qword [rax]
mov rcx, qword [r14 + 0x50]
call fcn.140091bf0
mov esi, eax
test eax, eax
js 0x140082a23
mov rcx, qword [r14 + 0x48]
lea rdx, [rbp + 0x78]
xor r8d, r8d
call fcn.140091bf0
mov esi, eax
test eax, eax
js 0x140082a23
mov eax, dword [r14 + 4]
inc r13d
mov dword [rbp + 4], eax
mov rax, qword [r14 + 0x10]
mov qword [rbp + 0x18], rax
mov rax, qword [r14 + 0x18]
mov qword [rbp + 0x38], rax
mov rax, qword [r14 + 0x28]
mov qword [rbp + 0x20], rax
mov rax, qword [r14 + 0x30]
mov qword [rbp + 0x28], rax
mov rax, qword [r14 + 0x38]
mov r14, qword [rsp + 0x90]
mov qword [rbp + 0x30], rax
mov ebp, dword [rsp + 0x80]
jmp 0x14008291a
mov r14d, dword [rsp + 0x88]
lea rbp, [rbx + 0x50]
inc r12d
jmp 0x140082860
mov rax, qword [rdi + 0x40]
lea rcx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x18], rax
mov rax, qword [rdi + 0x58]
mov qword [rbx + 0x20], rax
mov rax, qword [rdi + 0x60]
mov qword [rbx + 0x28], rax
mov rax, qword [rdi + 0x68]
mov qword [rbx + 0x30], rax
mov eax, dword [rdi + 0xb0]
mov dword [rbx + 0x3c], eax
mov eax, dword [rdi + 0xd8]
mov dword [rbx + 0x38], eax
call fcn.140013980
lea r15, [0x140173048]
test esi, esi
js 0x140082a2a
jmp 0x140082a62
lea r15, [0x140173048]
mov rcx, rbx
call fcn.1401423d4
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x140082a92
test byte [rcx + 0x1c], 1
je 0x140082a69
cmp byte [rcx + 0x19], 2
jb 0x140082a69
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154f08]
mov edx, 0x1f
mov r9d, esi
call fcn.14000c354
mov rcx, qword [0x140173048]
cmp rcx, r15
je 0x140082a92
test dword [rcx + 0x1c], 0x200
je 0x140082a92
cmp byte [rcx + 0x19], 4
jb 0x140082a92
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154f08]
mov edx, 0x20
call fcn.14000c328
lea rcx, [rsp + 0x20]
call fcn.14000c6e4
mov rbx, qword [rsp + 0x98]
mov eax, esi
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret