Function at 0x4335b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4855d0]
test eax, eax
jne 0x43388a
push 0x110
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00446f50
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x43360e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x108]
sub eax, 0
je 0x433880
sub eax, 1
je 0x4337a9
sub eax, 1
jne 0x433787
mov eax, dword [ebp - 0x114]
cmp eax, 3
jne 0x433652
mov eax, 0x40000
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x43366f
mov eax, 0x40001
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x4336d4
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x433696
mov eax, 0x40002
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4336b3
mov eax, 0x40003
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x43376f
mov eax, 0x40004
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x433752
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x4336fb
mov eax, 0x40005
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x433718
mov eax, 0x40006
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x433735
mov eax, 0x40007
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x43376f
mov eax, 0x40008
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x43376f
mov eax, 0x40009
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov eax, 0x4000a
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4855d0]
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x114], 4
jne 0x433868
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x433817
mov ax, word [ebp - 0x102]
cmp ax, 0x43
je 0x4337f5
cmp ax, 0x42
je 0x4337f5
mov eax, 0x20000
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov eax, 0x20001
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x43384b
xor eax, eax
mov ecx, 1
cmp word [ebp - 0x102], 0x41
sete al
add eax, 0x20002
test eax, eax
cmove eax, ecx
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
jne 0x433868
mov eax, 0x20004
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov eax, 0x20005
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret
mov eax, 0x10000
mov dword [0x4855d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret