Function at 0x1004a14c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006411e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004a521
lea eax, [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x3c], 0x14e1
mov dword [ebp - 0x84], 0x1000c618
cmp dword [ebp - 0x3c], 0x16c6
jle 0x1004a2bf
push 0
call dword [sym.imp.USER32.dll_DestroyIcon]
and dword [ebp - 0x24], 0
jmp 0x1004a1f2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4e7d
jge 0x1004a2ae
and dword [ebp - 0x18], 0
jmp 0x1004a20c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2c28
jge 0x1004a2a9
and dword [ebp - 0x28], 0
jmp 0x1004a226
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4337
jge 0x1004a2a4
and dword [ebp - 0x1c], 0
jmp 0x1004a23c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x330a
jge 0x1004a29f
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x28]
and edx, dword [ebp - 0x24]
xor edx, dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x10c]
call fcn.1000db9a
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.1001b55c
push eax
call fcn.1004de26
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.1001b552
jmp 0x1004a235
jmp 0x1004a21f
jmp 0x1004a205
jmp 0x1004a1eb
push 0
push 0x18a2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1004a3c5
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1004a3c0
lea eax, [ebp - 0xf4]
push eax
call fcn.10045b7a
pop ecx
mov esi, eax
lea edi, [ebp - 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xdc]
lea edi, [ebp - 0xe8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call fcn.10048f0c
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0x2c]
push dword [eax]
lea eax, [ebp - 0x124]
push eax
call fcn.10049e87
add esp, 0x10
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x30]
call fcn.1004a70e
lea ecx, [ebp - 0x124]
call fcn.10044e85
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 6
jae 0x1004a3c0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0x30]
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.1004a95a
mov ecx, eax
call fcn.1004a733
jmp 0x1004a4dd
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x34], 0x6f4c
mov dword [ebp - 0xb4], 0x1000c638
cmp dword [ebp - 0x34], 0x703d
jle 0x1004a441
and dword [ebp - 0x20], 0
jmp 0x1004a3f5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1270
jge 0x1004a441
and dword [ebp - 0x14], 0
jmp 0x1004a40b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1396
jge 0x1004a43f
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, 0x1060c3d8
call fcn.1001b57c
jmp 0x1004a404
jmp 0x1004a3ee
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x6b83
jge 0x1004a464
mov edx, dword [ebp - 0xb4]
mov ecx, 0x1060c3d8
call fcn.1001da87
jmp 0x1004a480
or dword [ebp - 4], 0xffffffff
jmp 0x1004a48a
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 3
jae 0x1004a4dd
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.1004a865
mov ecx, eax
call fcn.1004a7bf
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x143a
jge 0x1004a4f9
push dword [ebp - 0x84]
call fcn.1004de26
pop ecx
jmp 0x1004a515
or dword [ebp - 4], 0xffffffff
jmp 0x1004a51f
jmp 0x1004a57b
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa4], eax
push dword [ebp - 0x8c]
push 0x3050
push 0x597
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
push 0x6e1a
push dword [ebp - 0xa4]
push 0x580a
push 0
call fcn.1004a10e
add esp, 0x24
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret