Function at 0x441970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [ebp + 8]
push ebx
push esi
cmp eax, 0x111
push edi
mov ebx, ecx
mov dword [ebp - 0x10], 0
jne 0x4419c4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x78]
test eax, eax
je 0x441b30
mov dword [ebp - 0x10], 1
jmp case.0x441b84.38
cmp eax, 0x4e
jne 0x4419f2
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x441b30
mov edx, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x7c]
test eax, eax
jne case.0x441b84.38
jmp 0x441b30
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
cmp eax, 6
jne 0x441a0d
push esi
call fcn.00440860
push eax
push edi
push ebx
call fcn.00440520
jmp 0x441a2a
cmp eax, 0x20
jne 0x441a2a
mov ecx, esi
movsx edx, si
shr ecx, 0x10
push ecx
push edx
push ebx
call fcn.00440590
test eax, eax
jne 0x441ecb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
and eax, 0x1ff
and ecx, 0x1ff
xor eax, ecx
push 7
mov dword [ebp + 0x10], eax
call fcn.0044b890
mov eax, dword [ebp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x49fa70]
lea ecx, [edx*4 + 0x49fa70]
mov edx, dword [ebp + 8]
cmp edx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
jne 0x441a9e
cmp eax, dword [ecx + 8]
jne 0x441a9e
mov eax, dword [ecx + 4]
push 7
mov dword [ebp + 0x10], eax
call fcn.0044b910
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x441b30
cmp dword [ebp + 8], 0xc000
jb 0x441b55
jmp 0x441f0e
test eax, eax
mov dword [ecx], edx
mov dword [ecx + 8], eax
je 0x441b22
jmp 0x441aaf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edx, 0xc000
jae 0x441ace
mov ecx, dword [eax + 4]
push 0
push 0
push edx
push ecx
call fcn.004418d0
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x441b45
jmp 0x441b13
mov eax, dword [eax + 4]
push 0
push 0
push 0xc000
push eax
call fcn.004418d0
test eax, eax
mov dword [ebp + 0x10], eax
je 0x441b13
jmp 0x441aec
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 8]
cmp dword [edx], ecx
je 0x441efe
push 0
push 0
add eax, 0x18
push 0xc000
push eax
call fcn.004418d0
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x441ae9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x441aa9
mov ecx, dword [ebp - 0x14]
push 7
mov dword [ecx + 4], 0
call fcn.0044b910
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x14]
push 7
mov dword [ecx + 4], eax
call fcn.0044b910
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x14]
cmp dword [ecx + 8], 0x1a
mov edx, dword [ecx + 0x10]
mov dword [ebp + 8], eax
jne 0x441b7a
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [ebp + 0x10]
cmp al, 4
mov eax, dword [ebp + 8]
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x2f
dec edx
cmp edx, 0x30
ja case.0x441b84.38
jmp dword [edx*4 + 0x441f40]
push edi
call fcn.00446f70
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp 0x441f17
push edi
mov ecx, ebx
call eax
jmp 0x441f17
push esi
push edi
call fcn.00440860
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp 0x441f17
lea ecx, [ebp - 0x24]
call fcn.00446e90
mov ecx, dword [esi + 4]
xor edi, edi
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], edi
call fcn.004403e0
mov eax, dword [esi]
mov esi, dword [esi + 8]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], eax
call fcn.004408a0
cmp eax, edi
jne 0x441c06
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x441c03
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 0x20]
push edx
call fcn.0043f660
cmp eax, edi
je 0x441c03
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x60]
push esi
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call dword [ebp + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
call fcn.00441050
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00447020
jmp case.0x441b84.38
lea ecx, [ebp - 0x24]
call fcn.00446e90
mov ecx, dword [esi + 4]
mov esi, dword [esi + 8]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], ecx
push esi
push edx
mov ecx, ebx
mov dword [ebp - 4], 2
call dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00447020
jmp case.0x441b84.38
mov eax, edi
shr eax, 0x10
push eax
push esi
call fcn.00440860
and edi, 0xffff
push eax
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp 0x441f17
mov ecx, edi
shr ecx, 0x10
push ecx
and edi, 0xffff
jmp 0x441f12
mov edx, esi
movsx eax, si
shr edx, 0x10
push edx
push eax
push edi
call fcn.00440860
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp 0x441f17
push esi
mov ecx, ebx
call eax
jmp 0x441f17
push esi
call fcn.00446b30
mov ecx, edi
push eax
shr ecx, 0x10
and edi, 0xffff
push ecx
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp 0x441f17
mov ecx, ebx
call eax
jmp case.0x441b84.38
push edi
mov ecx, ebx
call eax
jmp case.0x441b84.38
mov edx, esi
shr edx, 0x10
movsx ecx, dx
movsx edx, si
push ecx
push edx
mov ecx, ebx
call eax
jmp case.0x441b84.38
mov ecx, esi
and esi, 0xffff
shr ecx, 0x10
push ecx
push esi
push edi
mov ecx, ebx
call eax
jmp case.0x441b84.38
mov edx, esi
and esi, 0xffff
shr edx, 0x10
push edx
push esi
push edi
mov ecx, ebx
call eax
jmp case.0x441b84.38
push edi
call fcn.00440860
push eax
push esi
call fcn.00440860
mov edx, dword [ebx + 0x1c]
push eax
xor eax, eax
cmp edx, esi
sete al
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
push edi
call fcn.00446f70
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
push edi
call fcn.00446b30
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
mov ecx, esi
and esi, 0xffff
shr ecx, 0x10
push ecx
push esi
push edi
call fcn.00446b30
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
push edi
call fcn.00440860
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
push esi
call fcn.00440860
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
mov edx, esi
and esi, 0xffff
shr edx, 0x10
push edx
push esi
push edi
call fcn.00440860
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
movsx eax, si
shr esi, 0x10
movsx ecx, si
push ecx
push eax
push edi
call fcn.00440860
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
push esi
push edi
call fcn.00440860
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
push esi
call fcn.00440860
push eax
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
mov eax, edi
shr eax, 0x10
push eax
push esi
call fcn.00440860
and edi, 0xffff
push eax
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
movsx edx, di
shr edi, 0x10
cmp dword [ecx + 0x10], 0x1d
mov dword [ebp + 0x10], edx
movsx edi, di
jne 0x441e6c
push esi
call fcn.00440860
mov ecx, dword [ebp + 0x10]
push eax
push edi
push ecx
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x441b84.38
push edi
push edx
mov ecx, ebx
call eax
jmp case.0x441b84.38
push esi
push edi
mov ecx, ebx
call eax
jmp case.0x441b84.38
movsx ecx, si
shr esi, 0x10
movsx edx, si
push edx
push ecx
jmp 0x441f13
mov ecx, ebx
call eax
jmp 0x441f17
push esi
mov ecx, ebx
call eax
jmp case.0x441b84.38
mov edx, edi
push esi
shr edx, 0x10
and edi, 0xffff
push edx
push edi
mov ecx, ebx
call eax
jmp case.0x441b84.38
movsx ecx, si
shr esi, 0x10
movsx edx, si
push edx
push ecx
push edi
mov ecx, ebx
call eax
jmp case.0x441b84.38
push esi
push edi
mov ecx, ebx
call eax
mov dword [ebp - 0x10], 1
jmp case.0x441b84.38
mov ecx, esi
shr esi, 0x10
and ecx, 0xffff
push esi
push ecx
mov ecx, edi
shr ecx, 0x10
and edi, 0xffff
push ecx
push edi
mov ecx, ebx
call eax
test eax, eax
mov dword [ebp - 0x10], eax
jne case.0x441b84.38
jmp 0x441b30
mov edx, dword [ebp - 0x14]
push 7
mov dword [edx + 4], eax
call fcn.0044b910
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x14]
push esi
push edi
mov ecx, ebx
call eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x441f26
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10