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

Disassembly:
lea r12, [rsp - 0xb0]
cmp r12, qword [r14 + 0x10]
jbe 0x4406e6
sub rsp, 0x130
mov qword [rsp + 0x128], rbp
lea rbp, [rsp + 0x128]
mov rcx, qword [rax]
cmp rcx, 1
je 0x4406d2
cmp rcx, 2
je 0x44020f
mov qword [rsp + 0x138], rax
mov qword [rax], 1
xor ecx, ecx
jmp 0x440241
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.004401c0
mov rcx, qword [rsp + 0x40]
inc rcx
mov rax, qword [rsp + 0x138]
cmp qword [rax + 8], rcx
ja 0x44021f
cmp qword [rax + 0x10], 0
je 0x4402c3
cmp byte [0x00587c80], 0
jne 0x44025f
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x440296
nop
call fcn.0045bd20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [0x00587c90]
mov rcx, qword [0x00587c98]
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 0x440317
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 0x4402da
cmp byte [0x00587c80], 0
je 0x4404e2
nop
call fcn.0045bd20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
test byte [rax], al
mov rax, qword [0x00587c90]
mov qword [rsp + 0x68], rax
mov rcx, qword [0x00587c98]
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.004485a0
call fcn.00448d40
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.00433020
lea rax, [0x0049ab14]
mov ebx, 5
call fcn.00433920
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x30]
call fcn.00433920
lea rax, [0x0049a71d]
mov ebx, 2
call fcn.00433920
call fcn.004330a0
mov rax, qword [0x00587b80]
mov rdi, qword [rsp + 0x28]
sub rdi, rax
lea rax, [rsp + 0x78]
mov ebx, 0x18
mov rcx, rbx
call fcn.00417f40
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xf0]
nop dword [rax]
call fcn.00446e60
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00433020
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00433920
lea rax, [0x0049aa15]
mov ebx, 5
call fcn.00433920
call fcn.004330a0
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.00417f40
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xd0]
call fcn.00446e60
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
nop
call fcn.00433020
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00433920
lea rax, [0x0049b823]
mov ebx, 0xb
call fcn.00433920
call fcn.004330a0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
mov ecx, 0x17
nop
jmp 0x440508
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 0x440540
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 0x4404f9
jmp 0x4406c5
cmp rcx, 0x18
jae 0x4406b3
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.00446e60
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00433020
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00433920
lea rax, [0x0049af3e]
mov ebx, 8
call fcn.00433920
call fcn.004330a0
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
sub rdx, rsi
mov eax, 0x17
jmp 0x4405d3
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0x78], sil
lea rax, [rcx - 1]
cmp rdx, 0xa
jb 0x44060b
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 0x4405c6
jmp 0x4406a6
cmp rax, 0x18
jae 0x44069c
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.00446e60
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00433020
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00433920
lea rax, [0x0049ad62]
mov ebx, 7
call fcn.00433920
call fcn.004330a0
nop
call fcn.00433020
call fcn.00433280
call fcn.004330a0
mov rax, qword [rsp + 0x138]
jmp 0x4404e2
mov ecx, 0x18
call fcn.0045a460
mov rax, rcx
mov ecx, 0x18
call fcn.0045a460
mov rax, rcx
mov ecx, 0x18
nop dword [rax + rax]
call fcn.0045a460
mov rax, rcx
mov ecx, 0x18
call fcn.0045a460
lea rax, [0x004a4257]
mov ebx, 0x32
nop
call fcn.004318a0
nop
mov qword [rsp + 8], rax
call fcn.00457d80
mov rax, qword [rsp + 8]
jmp fcn.004401c0