Function at 0x140079a20
Capabilities:
Access peb ldr_data
Check os version
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x618
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x580], xmm10
movaps xmmword [rbp + 0x570], xmm9
movaps xmmword [rbp + 0x560], xmm8
movaps xmmword [rbp + 0x550], xmm7
movaps xmmword [rbp + 0x540], xmm6
mov qword [rbp + 0x538], 0xfffffffffffffffe
mov r15, rcx
movzx eax, byte [0x1401542b0]
mov edx, 0x10
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dc80
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
call fcn.1400e1d50
mov rcx, rax
shr rcx, 0x20
cmp eax, 2
mov edx, 1
cmovae edx, eax
mov qword [rbp + 0x18], 0x400
mov word [rbp + 0xa2], 0
mov qword [rbp - 0x30], 0
mov qword [rbp + 0x20], 0x200
mov qword [rbp + 8], rdi
lea rax, [0x140144b60]
mov qword [rbp + 0x10], rax
mov qword [rbp - 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x78], 0
mov dword [rbp], 0x3b9aca00
mov dword [rbp - 0x10], 0
mov dword [rbp + 0x90], 0x3d
mov qword [rbp + 0x88], 0x100
mov dword [rbp + 0x94], 0
mov dword [rbp + 0x98], ecx
mov dword [rbp + 0x9c], edx
mov byte [rbp + 0xa4], 0
mov word [rbp + 0xa0], 0x101
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
je 0x14007a364
mov rbx, rax
movzx eax, byte [0x1401542b0]
mov edx, 0x18
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dc2e
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rbx
lock inc qword [rax]
jle 0x14007dbce
movzx eax, byte [0x1401542b0]
mov edx, 0x70
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dc1f
mov rbx, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
mov word [rax + 0x20], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 8
mov qword [rax + 0x38], 0
mov word [rax + 0x40], 0
mov qword [rax + 0x48], 0
mov qword [rax + 0x50], 8
pxor xmm0, xmm0
movdqu xmmword [rax + 0x58], xmm0
mov byte [rax + 0x68], 0
lock inc qword [rdi]
jle 0x14007dbce
mov r13, qword [rbx + 0x10]
lock inc qword [rbx]
jle 0x14007dbce
movzx eax, byte [0x1401542b0]
mov edx, 0x8000
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dcd2
mov r14, rax
xor ecx, ecx
pxor xmm0, xmm0
nop word cs:[rax + rax]
mov rax, rcx
movdqu xmmword [r14 + rcx + 0xc], xmm0
movdqu xmmword [r14 + rcx], xmm0
movdqu xmmword [r14 + rcx + 0x20], xmm0
movdqu xmmword [r14 + rcx + 0x2c], xmm0
movdqu xmmword [r14 + rcx + 0x40], xmm0
movdqu xmmword [r14 + rcx + 0x4c], xmm0
movdqu xmmword [r14 + rcx + 0x60], xmm0
movdqu xmmword [r14 + rcx + 0x6c], xmm0
movdqu xmmword [r14 + rcx + 0x80], xmm0
movdqu xmmword [r14 + rcx + 0x8c], xmm0
movdqu xmmword [r14 + rcx + 0xa0], xmm0
movdqu xmmword [r14 + rcx + 0xac], xmm0
movdqu xmmword [r14 + rcx + 0xc0], xmm0
movdqu xmmword [r14 + rcx + 0xcc], xmm0
movdqu xmmword [r14 + rcx + 0xec], xmm0
movdqu xmmword [r14 + rcx + 0xe0], xmm0
movdqu xmmword [r14 + rcx + 0x10c], xmm0
movdqu xmmword [r14 + rcx + 0x100], xmm0
movdqu xmmword [r14 + rcx + 0x12c], xmm0
movdqu xmmword [r14 + rcx + 0x120], xmm0
movdqu xmmword [r14 + rcx + 0x140], xmm0
movdqu xmmword [r14 + rcx + 0x14c], xmm0
add rcx, 0x160
cmp rcx, 0x7fe0
jne 0x140079c80
add rax, r14
add rax, 0x160
pxor xmm0, xmm0
movdqu xmmword [rax + 0xc], xmm0
movdqu xmmword [rax], xmm0
movzx eax, byte [0x1401542b0]
mov edx, 0x4000
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dce8
mov r12, rax
movzx eax, byte [0x1401542b0]
mov edx, 0x80
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dcfe
mov qword [rbp + 0x1b8], rax
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x2a9], xmm0
movdqa xmmword [rbp + 0x2a0], xmm0
mov eax, dword [rbp + 0x248]
mov ecx, dword [rbp + 0x24b]
mov dword [rbp + 0x4a0], eax
mov dword [rbp + 0x4a3], ecx
call fcn.1400de700
mov rsi, rax
mov dword [rbp + 0x280], edx
movzx eax, byte [0x1401542b0]
mov edx, 0x28
xor ecx, ecx
call fcn.1400de8b0
mov qword [rbp + 0x530], rax
test rax, rax
je 0x14007dd14
movzx eax, byte [0x1401542b0]
mov edx, 0x1860
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dd2a
mov rdi, rax
mov r8d, 0x810
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x810], 1
lea rcx, [rdi + 0x818]
mov r8d, 0x408
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0xc20], 2
lea rcx, [rdi + 0xc28]
mov r8d, 0x408
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x1030], 3
lea rcx, [rdi + 0x1038]
mov r8d, 0x408
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x1440], 4
mov rcx, rdi
add rcx, 0x1448
mov r8d, 0x408
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x1850], 5
mov qword [rdi + 0x1858], 0
mov rax, qword [rbp + 0x530]
mov word [rax], 0
mov qword [rax + 8], rdi
pxor xmm0, xmm0
movdqu xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], 0
mov eax, dword [rbp + 0x4a0]
mov ecx, dword [rbp + 0x4a3]
mov dword [rbp + 0x3c3], ecx
mov dword [rbp + 0x3c0], eax
mov eax, dword [rbp - 0x58]
mov ecx, dword [rbp - 0x55]
mov dword [rbp + 0x48b], ecx
mov dword [rbp + 0x488], eax
movzx eax, byte [rbp + 0x477]
mov byte [rbp + 0x4c6], al
movzx eax, word [rbp + 0x475]
mov word [rbp + 0x4c4], ax
mov eax, dword [rbp + 0x3c0]
mov ecx, dword [rbp + 0x3c3]
mov dword [rbp + 0x41b], ecx
mov dword [rbp + 0x418], eax
movzx eax, word [rbp + 0x246]
mov word [rbp + 0x484], ax
mov eax, dword [rbp + 0x242]
mov dword [rbp + 0x480], eax
movups xmm0, xmmword [rbp + 0x2a9]
movups xmmword [rbp + 0x4e9], xmm0
movaps xmm0, xmmword [rbp + 0x2a0]
movaps xmmword [rbp + 0x4e0], xmm0
mov eax, dword [rbp + 0x268]
mov ecx, dword [rbp + 0x26b]
mov dword [rbp + 0x423], ecx
mov dword [rbp + 0x420], eax
mov eax, dword [rbp + 0x488]
mov ecx, dword [rbp + 0x48b]
mov dword [rbp + 0x42b], ecx
mov dword [rbp + 0x428], eax
movzx eax, byte [rbp + 0x4c6]
mov byte [rbp + 0x4ce], al
movzx eax, word [rbp + 0x4c4]
mov word [rbp + 0x4cc], ax
mov eax, dword [rbp + 0x418]
mov ecx, dword [rbp + 0x41b]
mov dword [rbp + 0x4d3], ecx
mov dword [rbp + 0x4d0], eax
movzx eax, word [rbp + 0x484]
mov word [rbp + 0x47c], ax
mov eax, dword [rbp + 0x480]
mov dword [rbp + 0x478], eax
movups xmm0, xmmword [rbp + 0x4e9]
movups xmmword [rbp + 0x439], xmm0
movdqa xmm0, xmmword [rbp + 0x4e0]
movdqa xmmword [rbp + 0x430], xmm0
mov eax, dword [rbp + 0x420]
mov ecx, dword [rbp + 0x423]
mov dword [rbp + 0x493], ecx
mov dword [rbp + 0x490], eax
mov eax, dword [rbp + 0x428]
mov ecx, dword [rbp + 0x42b]
mov dword [rbp + 0x49b], ecx
mov dword [rbp + 0x498], eax
movzx eax, byte [rbp + 0x4ce]
mov byte [rbp + 0x4ca], al
movzx eax, word [rbp + 0x4cc]
mov word [rbp + 0x4c8], ax
movzx eax, byte [0x1401542b0]
mov edx, 0x40
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dd39
mov qword [rbp + 0x1c0], rsi
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x30], 0
mov byte [rax + 0x38], 0
mov qword [rbp + 0x4d8], rax
lock inc qword [rax]
jle 0x14007dbce
movzx eax, byte [0x1401542b0]
xor esi, esi
mov edx, 0x18
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dc2e
mov rdi, rax
mov qword [rbp + 0x298], rbx
mov qword [rbp + 0x1c8], r13
mov qword [rbp + 0x1d0], r12
mov qword [rax], 1
mov qword [rax + 8], 1
mov rax, qword [rbp + 0x4d8]
mov qword [rdi + 0x10], rax
mov eax, dword [rbp]
cmp eax, 0x3b9aca00
cmovne esi, eax
mov r12d, 0xa
cmovne r12, qword [rbp - 8]
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x40], 0
je 0x14007c03a
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r13, qword [rax + 0x48]
mov rbx, qword [rax + 0x50]
lea rcx, [r13 + 1]
mov qword [rax + 0x48], rcx
mov rax, qword [rbp + 8]
lock inc qword [rax]
jle 0x14007dbce
movups xmm7, xmmword [rbp - 0x20]
movups xmm6, xmmword [rbp + 8]
mov rax, qword [rbp + 0x28]
xorps xmm9, xmm9
xorps xmm10, xmm10
test rax, rax
je 0x14007a1a4
lock inc qword [rax]
jle 0x14007dbce
movups xmm10, xmmword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14007a1bc
lock inc qword [rax]
jle 0x14007dbce
movups xmm9, xmmword [rbp + 0x38]
mov qword [rbp + 0x1d8], r15
movzx eax, byte [0x1401542b0]
mov edx, 0x118
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dd48
mov r15, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm7
mov qword [rax + 0x20], r12
mov dword [rax + 0x28], esi
movups xmmword [rax + 0x30], xmm6
mov word [rax + 0x40], 0
mov qword [rax + 0x48], 2
mov qword [rax + 0x68], 0
mov qword [rax + 0x70], 8
xorps xmm8, xmm8
movups xmmword [rax + 0x78], xmm8
movups xmm6, xmmword [0x1401436f0]
movups xmmword [rax + 0x88], xmm6
movups xmm7, xmmword [0x140143700]
movups xmmword [rax + 0x98], xmm7
mov qword [rax + 0xa8], r13
mov qword [rax + 0xb0], rbx
mov qword [rax + 0xb8], rdi
mov qword [rax + 0xc0], 0
mov dword [rax + 0xc8], 0
mov byte [rax + 0xcc], 0
movups xmmword [rax + 0xd0], xmm10
movups xmmword [rax + 0xe0], xmm9
mov qword [rax + 0xf0], 0x200
movups xmmword [rax + 0x104], xmm8
movups xmmword [rax + 0xf8], xmm8
lock inc qword [rax]
jle 0x14007dbce
lea rsi, [rbp + 0x94]
mov rcx, rsi
call fcn.1400e1a70
mov r12d, eax
mov dword [rbp + 0x284], edx
mov rcx, rsi
call fcn.1400e1a70
mov edi, eax
mov r13d, edx
mov rax, qword [rbp + 0x48]
test rax, rax
mov rbx, qword [rbp + 0x298]
je 0x14007a2ed
lock inc qword [rax]
jle 0x14007dbce
movups xmm8, xmmword [rbp + 0x48]
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x14007a3fe
lock inc qword [rax]
jle 0x14007dbce
movups xmm9, xmmword [rbp + 0x58]
mov rax, qword [rbp + 0x68]
test rax, rax
mov dword [rbp + 0x288], r12d
je 0x14007a416
lock inc qword [rax]
jle 0x14007dbce
mov r12, qword [rbp + 0x68]
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14007a426
lock inc qword [rax]
jle 0x14007dbce
mov rsi, qword [rbp + 0x78]
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x1f8], rax
jmp 0x14007a428
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movzx eax, byte [0x1401542b0]
mov edx, 8
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007ddd5
mov rdi, rax
shl rbx, 0x20
or rbx, 2
mov qword [rax], rbx
movzx eax, byte [0x1401542b0]
mov edx, 0x70
xor ecx, ecx
call fcn.1400de8b0
test rax, rax
je 0x14007dc1f
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
mov qword [rax + 0x58], rdi
lea rcx, [0x1401393b0]
mov qword [rax + 0x60], rcx
mov word [rax + 0x68], 0
mov rcx, qword [r15 + 0x1b0]
mov rdx, rax
call fcn.14007e0d0
mov rdi, rdx
cmp rax, 1
jne 0x14007bab6
test rdi, rdi
jne 0x14007bac0
jmp 0x14007bb37
xorps xmm9, xmm9
mov rax, qword [rbp + 0x68]
test rax, rax
mov dword [rbp + 0x288], r12d
jne 0x14007a31d
xor r12d, r12d
mov rax, qword [rbp + 0x78]
test rax, rax
jne 0x14007a343
xor esi, esi
mov eax, dword [rbp - 0x10]
mov dword [rbp + 0x4b8], eax
mov eax, dword [rbp - 0xc]
mov dword [rbp + 0x4b0], eax
mov eax, dword [rbp + 0x90]
mov dword [rbp + 0x28c], eax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x1e0], rax
movzx eax, byte [rbp + 0xa3]
mov byte [rbp + 0x52e], al
movzx eax, byte [rbp + 0xa4]
mov byte [rbp + 0x52f], al
mov eax, dword [0x1401542b4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x68]
lea r8, [0x140154198]
cmp rax, 2
jbe 0x14007dae2
lea rdx, [rax - 0x10]
mov rcx, rdx
cmp rax, r8
cmove rcx, r8
je 0x14007a4bf
lock inc qword [rdx]
mov eax, 1
jle 0x14007dbce
test rax, rax
jne 0x14007a4c6
jmp 0x14007a4d1
xor eax, eax
test rax, rax
je 0x14007a4d1
call fcn.1400fdf20
jmp 0x14007a142