Function at 0x41c7d0
Capabilities:
Access peb ldr_data
Check os version
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ae78
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x4af054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x288], ecx
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ecx + 0x18], 0x7fffffff
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], 7
mov word [ecx + 0x1c], dx
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x44], edx
mov dword [ecx + 0x48], 7
mov word [ecx + 0x34], dx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x5c], edx
mov dword [ecx + 0x60], 7
mov word [ecx + 0x4c], dx
lea eax, [ecx + 0x64]
mov dword [eax], edx
mov dword [ebp - 0x23c], eax
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x8c], edx
mov dword [ecx + 0x90], 7
mov word [ecx + 0x7c], dx
xor eax, eax
mov dword [ecx + 0x94], edx
mov dword [ecx + 0xa4], edx
mov dword [ecx + 0xa8], 7
mov word [ecx + 0x94], ax
mov dword [ecx + 0xac], eax
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 7
mov word [ecx + 0xac], ax
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0xc4], eax
mov dword [ecx + 0xc8], eax
mov dword [ecx + 0xcc], eax
mov dword [ecx + 0xd0], eax
mov dword [ecx + 0xd4], edx
mov dword [ecx + 0xe4], edx
mov dword [ecx + 0xe8], 7
mov word [ecx + 0xd4], dx
mov dword [ecx + 0xf0], edx
mov dword [ecx + 0x100], edx
mov dword [ecx + 0x104], 7
mov word [ecx + 0xf0], dx
mov dword [ecx + 0x108], edx
mov dword [ecx + 0x118], edx
mov dword [ecx + 0x11c], 7
mov word [ecx + 0x108], dx
lea edi, [ecx + 0x120]
xor eax, eax
mov dword [edi], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ecx + 0x138], eax
mov dword [ecx + 0x148], eax
mov dword [ecx + 0x14c], 7
mov word [ecx + 0x138], dx
lea esi, [ecx + 0x150]
mov byte [ebp - 4], 0xc
push 0x40
mov dword [ebp - 0x284], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00459f7e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x264]
add esi, 0x158
push 0x40
mov dword [ebp - 0x284], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00459f7e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x264]
xor ecx, ecx
lea esi, [eax + 0x160]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
push 4
push 0x49c7ec
lea ecx, [eax + 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00402520
mov ecx, dword [ebp - 0x23c]
push 0xc
push 0x49c7d0
call fcn.00402520
push 3
push 0x49c7c8
mov ecx, edi
call fcn.00402520
mov edi, dword [ebp - 0x264]
push 4
push 0x49c7bc
lea ecx, [edi + 0x7c]
call fcn.00402520
lea ecx, [ebp - 0x254]
call fcn.00428d70
push eax
mov ecx, esi
call fcn.00406e00
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x41cac2
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cab8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d418
push edx
push ecx
call fcn.00459fae
add esp, 8
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x27c]
push 0x24
xor eax, eax
mov dword [ebp - 0x27c], 0
push 0x4a0590
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00402520
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x280], 1
call fcn.004412b0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [edi + 0x1c]
call fcn.00406e00
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x280], 0
cmp edx, 8
jb 0x41cb71
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cb67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d41d
push edx
push ecx
call fcn.00459fae
add esp, 8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x27c]
push 0x26
xor eax, eax
mov dword [ebp - 0x27c], 0
push 0x4a0540
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00402520
push 0
mov dword [ebp - 0x280], 2
call dword [0x4b1d80]
lea ecx, [ebp - 0x27c]
call fcn.004415f0
call dword [0x4b1da4]
lea eax, [ebp - 0x27c]
push eax
lea ecx, [edi + 0x138]
call fcn.00406e00
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x280], 0
cmp edx, 8
jb 0x41cc31
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cc27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d41d
push edx
push ecx
call fcn.00459fae
add esp, 8
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x27c]
push 3
xor eax, eax
mov dword [ebp - 0x27c], 0
push 0x49f30c
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00402520
lea eax, [ebp - 0x260]
mov dword [ebp - 0x280], 4
push eax
call dword [0x48f090]
mov ax, word [ebp - 0x260]
cmp ax, 9
je 0x41cc98
cmp ax, 6
jne 0x41ccaa
push 3
push 0x49cc6c
lea ecx, [ebp - 0x27c]
call fcn.00402520
lea eax, [ebp - 0x27c]
lea esi, [edi + 0xf0]
push eax
mov ecx, esi
call fcn.00406e00
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x41cd02
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ccf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d41d
push edx
push ecx
call fcn.00459fae
add esp, 8
push 5
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x4a042c
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00402520
push 0x208
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x13
push 0
push eax
call fcn.0045c310
add esp, 0xc
mov dword [ebp - 0x23c], 0x208
lea eax, [ebp - 0x264]
push eax
push 0x20019
push 0
push 0x4a04b0
push 0x80000001
call dword [0x48f044]
test eax, eax
je 0x41cda3
lea eax, [ebp - 0x264]
push eax
push 0x20019
push 0
push 0x4a04f8
push 0x80000002
call dword [0x48f044]
test eax, eax
jne 0x41ce12
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x49d750
push dword [ebp - 0x264]
call dword [0x48f03c]
push dword [ebp - 0x264]
mov dword [ebp - 0x280], eax
call dword [0x48f040]
test eax, eax
jne 0x41ce12
cmp dword [ebp - 0x280], eax
jne 0x41ce12
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cdf0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402520
movups xmm0, xmmword [ebp - 0x238]
lea eax, [ebp - 0x27c]
push eax
movups xmmword [ebp - 0x27c], xmm0
lea ecx, [edi + 0x108]
movq xmm0, qword [ebp - 0x228]
mov byte [ebp - 4], 0xf
movq qword [ebp - 0x26c], xmm0
call fcn.00406e00
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x41ce86
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ce7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d41d
push edx
push ecx
call fcn.00459fae
add esp, 8
push 5
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x4a042c
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00402520
push 0x118
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x14
push 0
push eax
call fcn.0045c310
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
lea eax, [ebp - 0x138]
push eax
call dword [0x48f080]
test eax, eax
je case.default.0x41cf52
mov ecx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x130]
cmp ecx, 5
jne 0x41cf42
cmp eax, 1
jne 0x41cf17
push 0xa
push 0x4a0438
jmp 0x41cf89
cmp eax, 2
jne 0x41cf42
lea eax, [ebp - 0x260]
push eax
call dword [0x48f090]
cmp byte [ebp - 0x1e], 1
jne case.default.0x41cf52
cmp word [ebp - 0x260], 9
jne case.default.0x41cf52
push 0xa
push 0x4a0438
jmp 0x41cf89
cmp byte [ebp - 0x1e], 1
jne 0x41cf82
cmp ecx, 6
jne 0x41cf74
cmp eax, 4
ja case.default.0x41cf52
jmp dword [eax*4 + 0x41d42c]
push 0xd
push 0x4a0450
jmp 0x41cf89
push 9
push 0x4a046c
jmp 0x41cf89
push 9
push 0x4a0480
jmp 0x41cf89
cmp ecx, 0xa
jne 0x41cf82
push 0xa
push 0x4a0494
jmp 0x41cf89
push 5
push 0x4a042c
lea ecx, [ebp - 0x238]
call fcn.00402520
movups xmm0, xmmword [ebp - 0x238]
lea eax, [ebp - 0x27c]
push eax
movups xmmword [ebp - 0x27c], xmm0
lea ecx, [edi + 0xd4]
movq xmm0, qword [ebp - 0x228]
mov byte [ebp - 4], 0xf
movq qword [ebp - 0x26c], xmm0
call fcn.00406e00
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x41d008
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cffe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d41d
push edx
push ecx
call fcn.00459fae
add esp, 8
push 0x10
call dword [0x48f098]
push eax
lea eax, [ebp - 0x25c]
push 0x49cd3c
push eax
call dword [0x4b1c30]
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x27c], 0
add esp, 0xc
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41d050
sub edx, ecx
lea eax, [ebp - 0x25c]
sar edx, 1
lea ecx, [ebp - 0x27c]
push edx
push eax
call fcn.00402520
lea eax, [ebp - 0x27c]
push eax
lea ecx, [edi + 0x34]
call fcn.00406e00
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x41d0c1
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d0b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d41d
push edx
push ecx
call fcn.00459fae
add esp, 8
call fcn.0042fe40
mov dword [edi + 0xec], eax
lea ecx, [ebp - 0x27c]
push 4
xor eax, eax
mov dword [ebp - 0x27c], 0
push 0x49c7ec
mov dword [edi + 0xc4], 4
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00402520
lea edx, [edi + 0x64]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x254]
call fcn.0042ab60
push eax
lea edx, [ebp - 0x27c]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x238]
call fcn.0042b590
add esp, 4
mov ecx, edi
push eax
call fcn.00406e00
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x41d182
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d178
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d422
push edx
push ecx
call fcn.00459fae
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp edx, 8
jb 0x41d1e3
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d1d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d422
push edx
push ecx
call fcn.00459fae
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
cmp edx, 8
jb 0x41d244
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d23a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d422
push edx
push ecx
call fcn.00459fae
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x41d24c
mov esi, dword [esi]
mov eax, 0x49cc6c
mov cx, word [esi]
cmp cx, word [eax]
jne 0x41d277
test cx, cx
je 0x41d273
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x41d277
add esi, 4
add eax, 4
test cx, cx
jne 0x41d251
xor eax, eax
jmp 0x41d27c
sbb eax, eax
or eax, 1
test eax, eax
mov dword [ebp - 0x238], 0
mov ecx, 0x49fd24
mov dword [ebp - 0x228], 0
mov edx, 0x49fd1c
mov dword [ebp - 0x224], 7
cmovne edx, ecx
xor eax, eax
mov ecx, edx
mov word [ebp - 0x238], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d2b7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00402520
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x27c]
push 6
xor eax, eax
mov dword [ebp - 0x27c], 0
push 0x49fd2c
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00402520
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 0x158]
call fcn.00419dc0
lea ecx, [ebp - 0x238]
cmp eax, ecx
je 0x41d34c
cmp dword [ebp - 0x224], 8
push dword [ebp - 0x228]
cmovae ecx, dword [ebp - 0x238]
push ecx
mov ecx, eax
call fcn.00402520
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x41d390
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d386
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d427
push edx
push ecx
call fcn.00459fae
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp edx, 8
jb 0x41d3ed
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d3e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d427
push edx
push ecx
call fcn.00459fae
add esp, 8
push 1
mov ecx, edi
call fcn.004093e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00459f70
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0045ec2f
call fcn.0045ec2f
call fcn.0045ec2f
call fcn.0045ec2f
pop ecx
iretd