Function at 0x10041fbe
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100421d3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x100420f5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x2c], 0x1906
cmp dword [ebp - 0x2c], 0xa5d
jge 0x100420d8
push 0x111b320c
push 0x10008178
call fcn.10055adb
pop ecx
pop ecx
and dword [ebp - 0xc], 0
jmp 0x10042055
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x111b320c]
jge 0x10042079
mov eax, dword [ebp - 0xc]
lea eax, [eax*4 + 0x11664708]
push eax
push 0x10008178
call fcn.10055adb
pop ecx
pop ecx
jmp 0x1004204e
push 0x249f18
push 0xffffffffffffffff
push 0x119d35a0
call fcn.1000ef8d
add esp, 0xc
mov dword [ebp - 8], 1
jmp 0x1004209d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jg 0x100420cd
lea eax, [ebp - 8]
push eax
mov ecx, 0x11d42484
call fcn.100221a5
push dword [ebp - 8]
push 1
call fcn.10041e0f
pop ecx
pop ecx
test eax, eax
je 0x100420cb
mov ecx, 0x11d42484
call fcn.1000f65f
jmp 0x10042096
push 0x100081f0
call fcn.10055ec6
pop ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
sub ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x7c]
mov dword [eax], ecx
jmp 0x100421ce
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10042113
push 0
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x40], 0x23cc
cmp dword [ebp - 0x40], 0xa1f
jge 0x100421ce
lea eax, [ebp - 0x14]
push eax
push 0x1000817c
call fcn.10055adb
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x48], 0
je 0x100421ce
lea eax, [ebp - 0x24]
push eax
push 0x1000817c
call fcn.10055adb
pop ecx
pop ecx
mov dword [ebp - 0x18], 0x45
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
jmp 0x10042176
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jge 0x100421b6
lea eax, [ebp - 0x20]
push eax
push 0x1000817c
call fcn.10055adb
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jge 0x100421a5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
jmp 0x100421b4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jne 0x100421b4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jmp 0x1004216f
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x10]
push eax
push 0x100081bc
call fcn.10055d0f
pop ecx
pop ecx
jmp 0x10042137
jmp 0x1004225f
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1004220e
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x1004225f
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004223f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1004225f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x88]
call fcn.1000f48a
mov dword [eax], 0x27363782
jmp 0x10042234
mov esp, ebp
pop ebp
ret