Function at 0x10024389
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f8c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10024764
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xec], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10024423
call dword [sym.imp.KERNEL32.dll_GetVersion]
jmp 0x1002475f
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0x4d67
mov dword [ebp - 0x70], str.yxruwfw_szdwpiwhk_pnbhb_atipogu_xasyo_mde_rgvdpucm_wijq_tourhd
cmp dword [ebp - 0x3c], 0x4dee
jle 0x10024577
and dword [ebp - 0x30], 0
jmp 0x100244f0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2d63
jge 0x10024577
and dword [ebp - 0x2c], 0
jmp 0x10024506
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x11c
jge 0x10024572
and dword [ebp - 0x24], 0
jmp 0x1002451c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2ea5
jge 0x10024570
and dword [ebp - 0x18], 0
jmp 0x10024532
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x741e
jge 0x1002456e
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
sar eax, cl
xor eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
mov ecx, 0x1007ab78
call fcn.10001bfe
jmp 0x1002452b
jmp 0x10024515
jmp 0x100244ff
jmp 0x100244e9
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x49ff
jge 0x10024597
mov edx, dword [ebp - 0x70]
mov ecx, 0x1007ab78
call fcn.100039fb
jmp 0x100245b3
or dword [ebp - 4], 0xffffffff
jmp 0x100245bd
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [eax], 0xffffffff
or eax, 0xffffffff
cmp eax, 5
jb 0x100245e0
mov dword [ebp - 0x44], 1
jmp 0x100245e4
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0xc1b366a
jne 0x100245f9
mov dword [ebp - 0x60], 1
jmp 0x100245fd
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xfffe
jne 0x10024610
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000f063
push 2
mov ecx, dword [ebp - 0x28]
call fcn.1000f063
cmp dword [eax], 1
jg 0x10024628
mov dword [ebp - 0x48], 1
jmp 0x1002462c
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0x1361
jl 0x1002463e
mov dword [ebp - 0x58], 1
jmp 0x10024642
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x38]
call fcn.1000f063
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 0x28]
call fcn.1000f063
cmp esi, dword [eax]
jge 0x10024673
mov dword [ebp - 0x1c], 1
jmp 0x10024677
and dword [ebp - 0x1c], 0
push 2
mov ecx, dword [ebp - 0x38]
call fcn.1000f063
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 0x40]
call fcn.1000f063
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0x100246a8
mov dword [ebp - 0x50], 1
jmp 0x100246ac
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
imul eax, dword [ebp - 0x50]
test eax, eax
jne 0x100246c2
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
push 0
mov ecx, dword [ebp - 0x40]
call fcn.1000f063
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jl 0x100246dc
mov dword [ebp - 0x4c], 1
jmp 0x100246e0
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xeafd
je 0x100246f2
mov dword [ebp - 0x54], 1
jmp 0x100246f6
and dword [ebp - 0x54], 0
push 1
mov ecx, dword [ebp - 0x28]
call fcn.1000f063
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
jl 0x10024710
mov dword [ebp - 0x34], 1
jmp 0x10024714
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0
jne 0x1002473a
push 2
mov ecx, dword [ebp - 0x38]
call fcn.1000f063
cmp dword [eax], 0
jne 0x1002473a
and dword [ebp - 0x5c], 0
jmp 0x10024741
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0xfffffff6
jne 0x10024750
mov dword [ebp - 0x64], 1
jmp 0x10024754
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
jmp 0x10024827
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x100247c4
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x100247c2
push 0
call fcn.10022cbb
pop ecx
jmp 0x10024827
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10024807
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x10024827
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xe8]
call fcn.1000f063
mov dword [eax], 0xa6001648
jmp 0x100247fc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret