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

Disassembly:
lea r12, [rsp - 0xb0]
cmp r12, qword [r14 + 0x10]
jbe 0x442666
sub rsp, 0x130
mov qword [rsp + 0x128], rbp
lea rbp, [rsp + 0x128]
mov rcx, qword [rax]
cmp rcx, 1
je 0x442652
cmp rcx, 2
je 0x44218f
mov qword [rsp + 0x138], rax
mov qword [rax], 1
xor ecx, ecx
jmp 0x4421c1
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.00442140
mov rcx, qword [rsp + 0x40]
inc rcx
mov rax, qword [rsp + 0x138]
cmp qword [rax + 8], rcx
ja 0x44219f
cmp qword [rax + 0x10], 0
je 0x442243
cmp byte [0x005b5940], 0
jne 0x4421df
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x442216
nop
call fcn.0045f3e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [0x005b5950]
mov rcx, qword [0x005b5958]
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 0x442297
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 0x44225a
cmp byte [0x005b5940], 0
je 0x442462
nop
call fcn.0045f3e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
test byte [rax], al
mov rax, qword [0x005b5950]
mov qword [rsp + 0x68], rax
mov rcx, qword [0x005b5958]
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.0044b2a0
call fcn.0044ba40
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.00434cc0
lea rax, [0x004b8e9c]
mov ebx, 5
call fcn.004355c0
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x30]
call fcn.004355c0
lea rax, [0x004b8a85]
mov ebx, 2
call fcn.004355c0
call fcn.00434d40
mov rax, qword [0x005b5828]
mov rdi, qword [rsp + 0x28]
sub rdi, rax
lea rax, [rsp + 0x78]
mov ebx, 0x18
mov rcx, rbx
call fcn.004198c0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xf0]
nop dword [rax]
call fcn.00448de0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434cc0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355c0
lea rax, [0x004b8d93]
mov ebx, 5
call fcn.004355c0
call fcn.00434d40
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.004198c0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xd0]
call fcn.00448de0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
nop
call fcn.00434cc0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355c0
lea rax, [0x004b9b69]
mov ebx, 0xb
call fcn.004355c0
call fcn.00434d40
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
mov ecx, 0x17
nop
jmp 0x442488
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 0x4424c0
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 0x442479
jmp 0x442645
cmp rcx, 0x18
jae 0x442633
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.00448de0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434cc0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355c0
lea rax, [0x004b92b8]
mov ebx, 8
call fcn.004355c0
call fcn.00434d40
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
sub rdx, rsi
mov eax, 0x17
jmp 0x442553
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0x78], sil
lea rax, [rcx - 1]
cmp rdx, 0xa
jb 0x44258b
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 0x442546
jmp 0x442626
cmp rax, 0x18
jae 0x44261c
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.00448de0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434cc0
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.004355c0
lea rax, [0x004b90ea]
mov ebx, 7
call fcn.004355c0
call fcn.00434d40
nop
call fcn.00434cc0
call fcn.00434f20
call fcn.00434d40
mov rax, qword [rsp + 0x138]
jmp 0x442462
mov ecx, 0x18
call fcn.0045db00
mov rax, rcx
mov ecx, 0x18
call fcn.0045db00
mov rax, rcx
mov ecx, 0x18
nop dword [rax + rax]
call fcn.0045db00
mov rax, rcx
mov ecx, 0x18
call fcn.0045db00
lea rax, [0x004c1825]
mov ebx, 0x32
nop
call fcn.00433540
nop
mov qword [rsp + 8], rax
call fcn.0045b400
mov rax, qword [rsp + 8]
jmp fcn.00442140