Function at 0x10002b81
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x2c
call fcn.10004558
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x88
call fcn.10004558
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10092eb8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
push 0x24
call fcn.10004558
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x9c
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 4]
push eax
push 0x9c
call fcn.10004558
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10002cbf
push 0x51
push 0x4028e8a
push 6
call fcn.1000455e
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.100049a0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10002d28
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10002d26
imul eax, dword [edi]
jmp 0x10002d1b
mov ecx, eax
cmp ecx, 0x80
jle 0x10002d35
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x80
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.10004552
add esp, 4
pop eax
test eax, eax
je 0x1000320a
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
xor eax, eax
call dword [0x1009307b]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10002dcb
push 0x7f
push 0x4028e8a
push 6
call fcn.1000455e
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0xa
jne 0x10002e28
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x10002e23
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
jne 0x10002e19
mov eax, 0x11
jmp 0x10003214
mov eax, 0x12
jmp 0x10003214
jmp 0x1000320a
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 6
jne 0x10002f71
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x10002e8a
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10002e7b
mov eax, 9
jmp 0x10002e80
mov eax, 0xb
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 1
jne 0x10002ed7
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10002ec8
mov eax, 0xa
jmp 0x10002ecd
mov eax, 0xc
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 2
jne 0x10002f24
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10002f15
mov eax, 0xd
jmp 0x10002f1a
mov eax, 0xf
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 3
jne 0x10002f6c
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10002f62
mov eax, 0xe
jmp 0x10002f67
mov eax, 0x10
jmp 0x10003214
jmp 0x1000320a
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x10002fa2
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jne 0x10002fa2
mov eax, 1
jmp 0x10002fa7
mov eax, 0
test eax, eax
je 0x10002fbe
mov eax, 4
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x10002fef
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 1
jne 0x10002fef
mov eax, 1
jmp 0x10002ff4
mov eax, 0
test eax, eax
je 0x1000300b
mov eax, 2
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x1000303c
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 2
jne 0x1000303c
mov eax, 1
jmp 0x10003041
mov eax, 0
test eax, eax
je 0x100031c2
mov dword [ebp - 0x10], esp
push 0x59
xor eax, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10003077
push 0x6fb
push 0x4028e8a
push 6
call fcn.1000455e
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10003093
mov eax, 8
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x2000
mov ebx, dword [ebp - 0x10]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.100055b0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2000
jne 0x100030e8
mov eax, 7
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x8000
mov ebx, dword [ebp - 0x10]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.100055b0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8000
jne 0x1000313d
mov eax, 5
jmp 0x10003214
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10003169
push 0x843
push 0x4028e8a
push 6
call fcn.1000455e
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
jne 0x10003197
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 9
jne 0x10003197
mov eax, 1
jmp 0x1000319c
mov eax, 0
test eax, eax
je 0x100031b3
mov eax, 3
jmp 0x10003214
mov eax, 6
jmp 0x10003214
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 4
jne 0x100031f3
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0xa
jne 0x100031f3
mov eax, 1
jmp 0x100031f8
mov eax, 0
test eax, eax
je 0x1000320a
mov eax, 1
jmp 0x10003214
mov eax, 0
jmp 0x10003214
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10004552
add esp, 4
pop ebx
call fcn.10004552
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10004552
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret