Function at 0x10041fa
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1b0
push esi
push edi
lea eax, [ebp - 0x38]
xor esi, esi
push eax
mov dword [ebp + 0x70], esi
mov dword [ebp - 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x100423b
mov dword [ebp + 0x70], 0x4b4
push esi
push 0x10
push esi
push esi
push dword [ebp + 0x70]
push esi
call fcn.010038f9
jmp 0x100449d
mov eax, dword [ebp - 0x28]
dec eax
mov edx, dword [ebp - 0x34]
je 0x100429d
dec eax
je 0x1004250
mov dword [ebp + 0x70], 0x4ca
jmp 0x1004228
xor ecx, ecx
push 3
inc ecx
pop eax
cmp edx, eax
mov dword [0x100a2bc], ecx
mov dword [0x100a2c0], ecx
mov word [0x100aa64], 2
ja 0x1004290
mov word [0x100aa64], cx
jb 0x1004282
cmp edx, eax
jne 0x10042b1
cmp dword [ebp - 0x30], 0x33
jae 0x10042b1
mov dword [0x100a2bc], esi
mov dword [0x100a2c0], esi
jmp 0x10042b1
cmp edx, 5
jb 0x10042b1
mov word [0x100aa64], ax
jmp 0x10042b1
xor eax, eax
inc eax
mov word [0x100aa64], si
mov dword [0x100a2bc], eax
mov dword [0x100a2c0], eax
cmp dword [0x100b894], esi
jne 0x100449d
mov edi, dword [ebp + 0x7c]
cmp edi, esi
je 0x100449d
cmp word [0x100aa64], si
lea esi, [edi + 0x40]
je 0x10042d7
lea esi, [edi + 4]
xor ecx, ecx
push ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp + 0x6c], ecx
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.010021ff
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + ecx*4 + 0x64], eax
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.010021ff
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + ecx*4 + 0x64]
test edx, edx
mov dword [ebp + ecx*4 + 0x5c], eax
jl 0x100443e
test eax, eax
jg 0x100443e
test edx, edx
jne 0x1004416
test eax, eax
jne 0x1004355
lea eax, [ecx + ecx*2]
movzx edx, bx
lea eax, [esi + eax*8]
cmp edx, dword [eax + 8]
jb 0x100442e
cmp edx, dword [eax + 0x14]
jmp 0x1004428
test edx, edx
jne 0x1004416
movzx edx, bx
lea eax, [ecx + ecx*2]
cmp edx, dword [esi + eax*8 + 8]
jb 0x100442e
cmp dword [edi + 0x7c], 0
je 0x100449c
lea eax, [ebp + 0x6c]
push eax
push 0x104
lea eax, [ebp - 0x13c]
push eax
push edi
call fcn.010026be
test eax, eax
jne 0x100449c
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x70], 0x54d
xor ebx, ebx
cmp dword [ebp + 0x70], 0x54d
jne 0x10043c0
imul ecx, ecx, 0x3c
add ecx, dword [edi + 0x80]
lea ebx, [ebp - 0x13c]
lea esi, [ecx + edi + 0x84]
mov eax, dword [esi + 0x34]
push dword [esi + 0x30]
lea edi, [eax + edi + 0x84]
call fcn.010021e2
test byte [0x100b898], 1
mov dword [ebp + 0x7c], eax
jne 0x1004488
cmp byte [edi], 0
je 0x1004488
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call fcn.01005d4f
test eax, eax
je 0x1004455
push 1
push 0x10
push dword [0x100b4a4]
call fcn.01005d01
test eax, eax
je 0x1004455
mov eax, 0x180000
jmp 0x1004457
test eax, eax
jne 0x100436d
movzx edx, bx
lea eax, [ecx + ecx*2]
cmp edx, dword [esi + eax*8 + 0x14]
jbe 0x100436d
test ecx, ecx
je 0x1004443
mov dword [ebp + 0x70], 0x54c
jmp 0x100439f
cmp ecx, 1
je 0x1004432
inc ecx
cmp ecx, 2
mov dword [ebp + 0x6c], ecx
jl 0x10042e0
jmp 0x100436d
xor eax, eax
or eax, dword [ebp + 0x7c]
or eax, 0x30
push eax
push 0x100abb4
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
test byte [ebp + 0x7c], 4
je 0x100447d
cmp eax, 6
jne 0x100449c
and dword [ebp + 0x70], 0
jmp 0x100449c
test byte [ebp + 0x7c], 1
je 0x100449c
cmp eax, 1
jmp 0x1004475
push 0
push 0x30
push ebx
push 0x100abb4
push dword [ebp + 0x70]
push 0
call fcn.010038f9
pop ebx
xor eax, eax
cmp dword [ebp + 0x70], eax
pop edi
sete al
pop esi
add ebp, 0x74
leave
ret 4