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

Disassembly:
lea r12, [rsp - 0xb0]
cmp r12, qword [r14 + 0x10]
jbe 0x442686
sub rsp, 0x130
mov qword [rsp + 0x128], rbp
lea rbp, [rsp + 0x128]
mov rcx, qword [rax]
cmp rcx, 1
je 0x442672
cmp rcx, 2
je 0x4421af
mov qword [rsp + 0x138], rax
mov qword [rax], 1
xor ecx, ecx
jmp 0x4421e1
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.00442160
mov rcx, qword [rsp + 0x40]
inc rcx
mov rax, qword [rsp + 0x138]
cmp qword [rax + 8], rcx
ja 0x4421bf
cmp qword [rax + 0x10], 0
je 0x442263
cmp byte [0x005c50c0], 0
jne 0x4421ff
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x442236
nop
call fcn.0045efa0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [0x005c50d0]
mov rcx, qword [0x005c50d8]
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 0x4422b7
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 0x44227a
cmp byte [0x005c50c0], 0
je 0x442482
nop
call fcn.0045efa0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
test byte [rax], al
mov rax, qword [0x005c50d0]
mov qword [rsp + 0x68], rax
mov rcx, qword [0x005c50d8]
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.0044b2c0
call fcn.0044ba60
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.00434ce0
lea rax, [0x004c0bdb]
mov ebx, 5
call fcn.004355e0
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x30]
call fcn.004355e0
lea rax, [0x004c07c3]
mov ebx, 2
call fcn.004355e0
call fcn.00434d60
mov rax, qword [0x005c4fa8]
mov rdi, qword [rsp + 0x28]
sub rdi, rax
lea rax, [rsp + 0x78]
mov ebx, 0x18
mov rcx, rbx
call fcn.00419900
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xf0]
nop dword [rax]
call fcn.00448e00
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434ce0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355e0
lea rax, [0x004c0ad7]
mov ebx, 5
call fcn.004355e0
call fcn.00434d60
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.00419900
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xd0]
call fcn.00448e00
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
nop
call fcn.00434ce0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355e0
lea rax, [0x004c189e]
mov ebx, 0xb
call fcn.004355e0
call fcn.00434d60
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
mov ecx, 0x17
nop
jmp 0x4424a8
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 0x4424e0
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 0x442499
jmp 0x442665
cmp rcx, 0x18
jae 0x442653
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.00448e00
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434ce0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355e0
lea rax, [0x004c0ff7]
mov ebx, 8
call fcn.004355e0
call fcn.00434d60
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
sub rdx, rsi
mov eax, 0x17
jmp 0x442573
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0x78], sil
lea rax, [rcx - 1]
cmp rdx, 0xa
jb 0x4425ab
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 0x442566
jmp 0x442646
cmp rax, 0x18
jae 0x44263c
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.00448e00
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434ce0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355e0
lea rax, [0x004c0e29]
mov ebx, 7
call fcn.004355e0
call fcn.00434d60
nop
call fcn.00434ce0
call fcn.00434f40
call fcn.00434d60
mov rax, qword [rsp + 0x138]
jmp 0x442482
mov ecx, 0x18
call fcn.0045d6c0
mov rax, rcx
mov ecx, 0x18
call fcn.0045d6c0
mov rax, rcx
mov ecx, 0x18
nop dword [rax + rax]
call fcn.0045d6c0
mov rax, rcx
mov ecx, 0x18
call fcn.0045d6c0
lea rax, [0x004c973b]
mov ebx, 0x32
nop
call fcn.00433560
nop
mov qword [rsp + 8], rax
call fcn.0045afc0
mov rax, qword [rsp + 8]
jmp fcn.00442160