Function at 0x440a20
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
lea r12, [rsp - 0xb0]
cmp r12, qword [r14 + 0x10]
jbe 0x440f46
sub rsp, 0x130
mov qword [rsp + 0x128], rbp
lea rbp, [rsp + 0x128]
mov rcx, qword [rax]
cmp rcx, 1
je 0x440f32
cmp rcx, 2
je 0x440a6f
mov qword [rsp + 0x138], rax
mov qword [rax], 1
xor ecx, ecx
jmp 0x440aa1
mov rbp, qword [rsp + 0x128]
add rsp, 0x130
ret
mov qword [rsp + 0x40], rcx
mov rdx, qword [rax + rcx*8 + 0x18]
mov rax, rdx
call fcn.00440a20
mov rcx, qword [rsp + 0x40]
inc rcx
mov rax, qword [rsp + 0x138]
cmp qword [rax + 8], rcx
ja 0x440a7f
cmp qword [rax + 0x10], 0
je 0x440b23
cmp byte [0x00593160], 0
jne 0x440abf
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x440af6
nop
call fcn.0045de80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [0x00593170]
mov rcx, qword [0x00593178]
mov rdx, qword [rsp]
mov rbx, rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], rdx
mov rsi, qword [rax + 8]
mov qword [rsp + 0x70], rsi
lea rdi, [rax + rsi*8]
lea rdi, [rdi + 0x18]
mov qword [rsp + 0x110], rdi
xor r8d, r8d
jmp 0x440b77
mov qword [rax], 2
mov rbp, qword [rsp + 0x128]
add rsp, 0x130
ret
mov qword [rsp + 0x38], r8
nop
mov rax, qword [rdi + r8*8]
lea rdx, [rdi + r8*8]
call rax
mov rax, qword [rsp + 0x38]
lea r8, [rax + 1]
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x110]
cmp qword [rax + 0x10], r8
ja 0x440b3a
cmp byte [0x00593160], 0
je 0x440d42
nop
call fcn.0045de80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
test byte [rax], al
mov rax, qword [0x00593170]
mov qword [rsp + 0x68], rax
mov rcx, qword [0x00593178]
mov qword [rsp + 0x60], rcx
mov rdx, qword [rsp]
mov qword [rsp + 0x20], rdx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x138]
mov rbx, qword [rsi + rbx*8 + 0x18]
mov rax, rbx
call fcn.0044a7a0
call fcn.0044af40
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0x80]
movups xmmword [rcx], xmm15
call fcn.00433880
lea rax, [0x004a47f1]
mov ebx, 5
call fcn.00434180
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x30]
call fcn.00434180
lea rax, [0x004a43e1]
mov ebx, 2
call fcn.00434180
call fcn.00433900
mov rax, qword [0x00593068]
mov rdi, qword [rsp + 0x28]
sub rdi, rax
lea rax, [rsp + 0x78]
mov ebx, 0x18
mov rcx, rbx
call fcn.00418380
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xf0]
nop dword [rax]
call fcn.00448f80
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00433880
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00434180
lea rax, [0x004a46fc]
mov ebx, 5
call fcn.00434180
call fcn.00433900
mov rdi, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
sub rdi, rax
lea rax, [rsp + 0x78]
mov ebx, 0x18
mov rcx, rbx
call fcn.00418380
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xd0]
call fcn.00448f80
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
nop
call fcn.00433880
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00434180
lea rax, [0x004a5452]
mov ebx, 0xb
call fcn.00434180
call fcn.00433900
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
mov ecx, 0x17
nop
jmp 0x440d68
mov qword [rax], 2
mov rbp, qword [rsp + 0x128]
add rsp, 0x130
ret
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0x78], sil
dec rcx
mov rax, rdx
cmp rax, 0xa
jb 0x440da0
mov rdx, rax
movabs rax, 0xcccccccccccccccd
mov rbx, rdx
mul rdx
shr rdx, 3
lea rsi, [rdx + rdx*4]
shl rsi, 1
sub rbx, rsi
cmp rcx, 0x18
jb 0x440d59
jmp 0x440f25
cmp rcx, 0x18
jae 0x440f13
lea rdx, [rax + 0x30]
mov byte [rsp + rcx + 0x78], dl
lea rdx, [rcx - 0x18]
mov rsi, rdx
sar rdx, 0x3f
and rcx, rdx
lea rbx, [rsp + rcx + 0x78]
neg rsi
lea rax, [rsp + 0xb0]
mov rcx, rsi
call fcn.00448f80
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00433880
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00434180
lea rax, [0x004a4bf3]
mov ebx, 8
call fcn.00434180
call fcn.00433900
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
sub rdx, rsi
mov eax, 0x17
jmp 0x440e33
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0x78], sil
lea rax, [rcx - 1]
cmp rdx, 0xa
jb 0x440e6b
mov rcx, rax
movabs rax, 0xcccccccccccccccd
mov rbx, rdx
mul rdx
shr rdx, 3
lea rsi, [rdx + rdx*4]
shl rsi, 1
sub rbx, rsi
nop word [rax + rax]
cmp rcx, 0x18
jb 0x440e26
jmp 0x440f06
cmp rax, 0x18
jae 0x440efc
add rdx, 0x30
mov byte [rsp + rax + 0x78], dl
lea rcx, [rax - 0x18]
mov rdx, rcx
sar rcx, 0x3f
and rax, rcx
lea rbx, [rsp + rax + 0x78]
neg rdx
lea rax, [rsp + 0x90]
mov rcx, rdx
nop
call fcn.00448f80
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00433880
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00434180
lea rax, [0x004a4a25]
mov ebx, 7
call fcn.00434180
call fcn.00433900
nop
call fcn.00433880
call fcn.00433ae0
call fcn.00433900
mov rax, qword [rsp + 0x138]
jmp 0x440d42
mov ecx, 0x18
call fcn.0045c5a0
mov rax, rcx
mov ecx, 0x18
call fcn.0045c5a0
mov rax, rcx
mov ecx, 0x18
nop dword [rax + rax]
call fcn.0045c5a0
mov rax, rcx
mov ecx, 0x18
call fcn.0045c5a0
lea rax, [0x004ac4b6]
mov ebx, 0x32
nop
call fcn.00432100
nop
mov qword [rsp + 8], rax
call fcn.00459ea0
mov rax, qword [rsp + 8]
jmp fcn.00440a20