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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
lea edi, [ebp - 0x144]
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x41390a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [edi], 0x11c
push edi
call sub.kernel32.dll_GetVersionExW
test eax, eax
jne 0x41351f
mov dword [edi], 0x114
push edi
call sub.kernel32.dll_GetVersionExW
test eax, eax
jne 0x41351f
call sub.rtl120.bpl__System__TryFinallyExit_qqrv
jmp 0x413911
cmp dword [edi + 0x10], 2
je 0x41352f
call sub.rtl120.bpl__System__TryFinallyExit_qqrv
jmp 0x413911
test ebx, ebx
je 0x41353d
movzx eax, word [edi + 0x118]
mov word [ebx], ax
test esi, esi
je 0x41354a
movzx eax, byte [edi + 0x11a]
mov byte [esi], al
cmp dword [0x77f4dc], 0
je 0x413565
mov eax, dword [0x77f4dc]
mov dword [ebp - 4], eax
call sub.rtl120.bpl__System__TryFinallyExit_qqrv
jmp 0x413911
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004024a4
push 0x41391c
push 0x413944
call sub.kernel32.dll_GetModuleHandleW_1
push eax
call fcn.00401b80
test eax, eax
je 0x413593
lea edx, [ebp - 0x28]
push edx
call eax
jmp 0x41359c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
cmp dword [edi + 4], 5
jne 0x4135b1
cmp dword [edi + 8], 1
jne 0x4135b1
cmp byte [edi + 0x11a], 1
je 0x4135c6
cmp dword [edi + 4], 5
jne 0x413605
cmp dword [edi + 8], 2
jne 0x413605
cmp byte [edi + 0x11a], 1
jne 0x413605
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x4135e1
sub ax, 5
je 0x4135f9
sub ax, 3
je 0x4135ed
jmp 0x4138f4
mov dword [ebp - 4], 1
jmp 0x4138f4
mov dword [ebp - 4], 2
jmp 0x4138f4
mov dword [ebp - 4], 4
jmp 0x4138f4
cmp dword [edi + 4], 6
jne 0x413659
cmp dword [edi + 8], 0
jne 0x413659
cmp byte [edi + 0x11a], 1
jne 0x413659
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x413635
sub ax, 5
je 0x41364d
sub ax, 3
je 0x413641
jmp 0x4138f4
mov dword [ebp - 4], 8
jmp 0x4138f4
mov dword [ebp - 4], 0x10
jmp 0x4138f4
mov dword [ebp - 4], 0x20
jmp 0x4138f4
cmp dword [edi + 4], 6
jne 0x4136ad
cmp dword [edi + 8], 1
jne 0x4136ad
cmp byte [edi + 0x11a], 1
jne 0x4136ad
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x413689
sub ax, 5
je 0x4136a1
sub ax, 3
je 0x413695
jmp 0x4138f4
mov dword [ebp - 4], 0x40
jmp 0x4138f4
mov dword [ebp - 4], 0x80
jmp 0x4138f4
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x4138f4
cmp dword [edi + 4], 6
jne 0x413701
cmp dword [edi + 8], 2
jne 0x413701
cmp byte [edi + 0x11a], 1
jne 0x413701
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x4136dd
sub ax, 5
je 0x4136f5
sub ax, 3
je 0x4136e9
jmp 0x4138f4
mov dword [ebp - 4], 0x200
jmp 0x4138f4
mov dword [ebp - 4], 0x400
jmp 0x4138f4
mov dword [ebp - 4], 0x800
jmp 0x4138f4
cmp dword [edi + 4], 6
jne 0x413755
cmp dword [edi + 8], 3
jne 0x413755
cmp byte [edi + 0x11a], 1
jne 0x413755
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x413731
sub ax, 5
je 0x413749
sub ax, 3
je 0x41373d
jmp 0x4138f4
mov dword [ebp - 4], 0x200000
jmp 0x4138f4
mov dword [ebp - 4], 0x400000
jmp 0x4138f4
mov dword [ebp - 4], 0x800000
jmp 0x4138f4
cmp dword [edi + 4], 6
jne 0x4137a9
cmp dword [edi + 8], 4
jne 0x4137a9
cmp byte [edi + 0x11a], 1
jne 0x4137a9
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x413785
sub ax, 5
je 0x41379d
sub ax, 3
je 0x413791
jmp 0x4138f4
mov dword [ebp - 4], 0x1000000
jmp 0x4138f4
mov dword [ebp - 4], 0x2000000
jmp 0x4138f4
mov dword [ebp - 4], 0x4000000
jmp 0x4138f4
cmp dword [edi + 4], 0xa
jne 0x4137fd
cmp dword [edi + 8], 0
jne 0x4137fd
cmp byte [edi + 0x11a], 1
jne 0x4137fd
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x4137d9
sub ax, 5
je 0x4137f1
sub ax, 3
je 0x4137e5
jmp 0x4138f4
mov dword [ebp - 4], 0x1000000
jmp 0x4138f4
mov dword [ebp - 4], 0x2000000
jmp 0x4138f4
mov dword [ebp - 4], 0x4000000
jmp 0x4138f4
cmp dword [edi + 4], 5
jne 0x413851
cmp dword [edi + 8], 2
jne 0x413851
cmp byte [edi + 0x11a], 1
je 0x413851
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x41382d
sub ax, 5
je 0x413845
sub ax, 3
je 0x413839
jmp 0x4138f4
mov dword [ebp - 4], 0x1000
jmp 0x4138f4
mov dword [ebp - 4], 0x2000
jmp 0x4138f4
mov dword [ebp - 4], 0x4000
jmp 0x4138f4
cmp dword [edi + 4], 6
jne 0x413866
cmp dword [edi + 8], 0
jne 0x413866
cmp byte [edi + 0x11a], 1
jne 0x41387b
cmp dword [edi + 4], 6
jne 0x4138ae
cmp dword [edi + 8], 1
jne 0x4138ae
cmp byte [edi + 0x11a], 1
je 0x4138ae
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x413893
sub ax, 5
je 0x4138a5
sub ax, 3
je 0x41389c
jmp 0x4138f4
mov dword [ebp - 4], 0x8000
jmp 0x4138f4
mov dword [ebp - 4], 0x10000
jmp 0x4138f4
mov dword [ebp - 4], 0x20000
jmp 0x4138f4
cmp dword [edi + 4], 6
jne 0x4138f4
cmp dword [edi + 8], 2
jne 0x4138f4
cmp byte [edi + 0x11a], 1
je 0x4138f4
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x4138db
sub ax, 5
je 0x4138ed
sub ax, 3
je 0x4138e4
jmp 0x4138f4
mov dword [ebp - 4], 0x40000
jmp 0x4138f4
mov dword [ebp - 4], 0x80000
jmp 0x4138f4
mov dword [ebp - 4], 0x100000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413911
mov eax, dword [ebp - 4]
mov dword [0x77f4dc], eax
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret