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

Disassembly:
lea r12, [rsp - 0xb0]
cmp r12, qword [r14 + 0x10]
jbe 0x442706
sub rsp, 0x130
mov qword [rsp + 0x128], rbp
lea rbp, [rsp + 0x128]
mov rcx, qword [rax]
cmp rcx, 1
je 0x4426f2
cmp rcx, 2
je 0x44222f
mov qword [rsp + 0x138], rax
mov qword [rax], 1
xor ecx, ecx
jmp 0x442261
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.004421e0
mov rcx, qword [rsp + 0x40]
inc rcx
mov rax, qword [rsp + 0x138]
cmp qword [rax + 8], rcx
ja 0x44223f
cmp qword [rax + 0x10], 0
je 0x4422e3
cmp byte [0x005d57a0], 0
jne 0x44227f
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x4422b6
nop
call fcn.0045f500
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [0x005d57b0]
mov rcx, qword [0x005d57b8]
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 0x442337
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 0x4422fa
cmp byte [0x005d57a0], 0
je 0x442502
nop
call fcn.0045f500
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x110]
test byte [rax], al
mov rax, qword [0x005d57b0]
mov qword [rsp + 0x68], rax
mov rcx, qword [0x005d57b8]
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.0044b320
call fcn.0044bac0
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.00434d60
lea rax, [0x004c782b]
mov ebx, 5
call fcn.00435660
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x30]
call fcn.00435660
lea rax, [0x004c73ff]
mov ebx, 2
call fcn.00435660
call fcn.00434de0
mov rax, qword [0x005d5680]
mov rdi, qword [rsp + 0x28]
sub rdi, rax
lea rax, [rsp + 0x78]
mov ebx, 0x18
mov rcx, rbx
call fcn.00419980
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xf0]
nop dword [rax]
call fcn.00448f40
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434d60
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00435660
lea rax, [0x004c7713]
mov ebx, 5
call fcn.00435660
call fcn.00434de0
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.00419980
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xd0]
call fcn.00448f40
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
nop
call fcn.00434d60
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00435660
lea rax, [0x004c85d5]
mov ebx, 0xb
call fcn.00435660
call fcn.00434de0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
mov ecx, 0x17
nop
jmp 0x442528
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 0x442560
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 0x442519
jmp 0x4426e5
cmp rcx, 0x18
jae 0x4426d3
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.00448f40
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434d60
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00435660
lea rax, [0x004c7c95]
mov ebx, 8
call fcn.00435660
call fcn.00434de0
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
sub rdx, rsi
mov eax, 0x17
jmp 0x4425f3
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0x78], sil
lea rax, [rcx - 1]
cmp rdx, 0xa
jb 0x44262b
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 0x4425e6
jmp 0x4426c6
cmp rax, 0x18
jae 0x4426bc
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.00448f40
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x58], rbx
call fcn.00434d60
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x58]
call fcn.00435660
lea rax, [0x004c7a96]
mov ebx, 7
call fcn.00435660
call fcn.00434de0
nop
call fcn.00434d60
call fcn.00434fc0
call fcn.00434de0
mov rax, qword [rsp + 0x138]
jmp 0x442502
mov ecx, 0x18
call fcn.0045dc20
mov rax, rcx
mov ecx, 0x18
call fcn.0045dc20
mov rax, rcx
mov ecx, 0x18
nop dword [rax + rax]
call fcn.0045dc20
mov rax, rcx
mov ecx, 0x18
call fcn.0045dc20
lea rax, [0x004d1d74]
mov ebx, 0x32
nop
call fcn.004335e0
nop
mov qword [rsp + 8], rax
call fcn.0045b520
mov rax, qword [rsp + 8]
jmp fcn.004421e0