Function at 0x14007af9c
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 [0x14016a048]
lea r15, [0x14016a048]
cmp rcx, r15
je 0x14007aff4
test dword [rcx + 0x1c], 0x200
je 0x14007aff4
cmp byte [rcx + 0x19], 4
jb 0x14007aff4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014c868]
mov edx, 0x1d
call fcn.14000c0e8
mov rcx, qword [0x14016a048]
mov rbp, qword [rdi + 0x130]
lea rax, [0x140144628]
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 0x14007b031
mov esi, 0x80004003
jmp 0x14007b2b9
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 0x14007b0ac
mov rcx, qword [0x14016a048]
cmp rcx, r15
je 0x14007b312
test byte [rcx + 0x1c], 1
je 0x14007b2e9
cmp byte [rcx + 0x19], 4
jb 0x14007b2e9
mov rcx, qword [rcx + 0x10]
lea edx, [r12 - 0x3a]
lea r8, [0x14014c868]
call fcn.14000c0e8
jmp 0x14007b2e2
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.14000d37c
mov esi, eax
test eax, eax
js 0x14007b2aa
xor r12d, r12d
cmp r12d, r14d
jae 0x14007b252
mov edx, r12d
lea rcx, [rdi + 0xb8]
imul r14, rdx, 0x58
add r14, qword [rbp]
call fcn.140015ed0
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.14008a470
mov esi, eax
test eax, eax
js 0x14007b2a3
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 0x14007b197
mov r8d, SysAllocStringByteLen
mov edx, ebp
mov rcx, r14
call fcn.14000d37c
mov esi, eax
test eax, eax
js 0x14007b2a3
xor r13d, r13d
cmp r13d, ebp
jae 0x14007b23e
lea rbp, [r13*8]
mov edx, r13d
add rbp, r13
lea rcx, [r15 + 0x60]
shl rbp, 4
add rbp, qword [r14]
call fcn.140015f80
lea rdx, [rbp + 0x70]
xor r8d, r8d
mov r14, qword [rax]
mov rcx, qword [r14 + 0x50]
call fcn.14008a470
mov esi, eax
test eax, eax
js 0x14007b2a3
mov rcx, qword [r14 + 0x48]
lea rdx, [rbp + 0x78]
xor r8d, r8d
call fcn.14008a470
mov esi, eax
test eax, eax
js 0x14007b2a3
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 0x14007b19a
mov r14d, dword [rsp + 0x88]
lea rbp, [rbx + 0x50]
inc r12d
jmp 0x14007b0e0
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.140013740
lea r15, [0x14016a048]
test esi, esi
js 0x14007b2aa
jmp 0x14007b2e2
lea r15, [0x14016a048]
mov rcx, rbx
call fcn.14013ac54
mov rcx, qword [0x14016a048]
cmp rcx, r15
je 0x14007b312
test byte [rcx + 0x1c], 1
je 0x14007b2e9
cmp byte [rcx + 0x19], 2
jb 0x14007b2e9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014c868]
mov edx, 0x1f
mov r9d, esi
call fcn.14000c114
mov rcx, qword [0x14016a048]
cmp rcx, r15
je 0x14007b312
test dword [rcx + 0x1c], 0x200
je 0x14007b312
cmp byte [rcx + 0x19], 4
jb 0x14007b312
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014c868]
mov edx, 0x20
call fcn.14000c0e8
lea rcx, [rsp + 0x20]
call fcn.14000c4a4
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