Function at 0x449e40
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4d7488]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push edi
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00483240
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call esi
mov edi, eax
test edi, edi
jne 0x449eb4
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call esi
test eax, eax
jne 0x449eb4
pop edi
mov eax, 0x2e
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x44a468
sub eax, 1
mov ecx, dword [esp + 0xc]
je 0x44a39a
sub eax, 1
jne 0x449e98
cmp ecx, 6
jne 0x44a022
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x449f16
cmp byte [esp + 0x122], al
jne 0x449e98
call fcn.0043c000
xor ecx, ecx
test al, al
setne cl
pop edi
pop esi
add ecx, 0x2b
mov eax, ecx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
test eax, eax
jne 0x449e98
cmp byte [esp + 0x122], 1
jne 0x449ff9
call fcn.0043c000
test al, al
movzx eax, word [esp + 0x11c]
je 0x449f9b
sub eax, 1
je 0x449f7f
sub eax, 1
je 0x449f63
pop edi
mov eax, 0x26
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x2a
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x27
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
sub eax, 1
je 0x449fdd
sub eax, 1
je 0x449fc1
pop edi
mov eax, 0x1d
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x29
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x1e
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
call fcn.0043c000
movzx eax, al
neg eax
sbb eax, eax
and eax, 9
pop edi
add eax, 0x1f
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
cmp ecx, 5
jne 0x44a2b4
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x44a173
cmp byte [esp + 0x122], 1
jne 0x44a0a6
movzx eax, word [esp + 0x11c]
sub eax, 1
je 0x44a08a
sub eax, 1
je 0x44a06e
pop edi
lea eax, [ecx + 0x1b]
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x22
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x21
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
call fcn.0043c000
test al, al
movzx eax, word [esp + 0x11c]
je 0x44a115
sub eax, 1
je 0x44a0f9
sub eax, 1
je 0x44a0dd
pop edi
mov eax, 0x23
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x25
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x24
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
sub eax, 1
je 0x44a157
sub eax, 1
je 0x44a13b
pop edi
mov eax, 0x1a
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x1c
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x1b
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
cmp eax, 1
jne 0x44a207
test edi, edi
jne 0x44a19c
pop edi
mov eax, 0x16
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
movzx eax, word [esp + 0x11c]
sub eax, 1
je 0x44a1eb
sub eax, 1
je 0x44a1cf
sub eax, 1
jne 0x44a180
pop edi
mov eax, 0x19
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x18
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x17
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
test eax, eax
jne 0x449e98
test edi, edi
jne 0x44a22f
pop edi
mov eax, 0x11
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
movzx eax, word [esp + 0x11c]
dec eax
cmp eax, 3
ja case.default.0x44a23d
jmp dword [eax*4 + 0x44a484]
pop edi
mov eax, 0x15
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x14
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x13
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0x12
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
cmp ecx, 4
ja 0x449e98
test edi, edi
jne 0x44a2dd
pop edi
mov eax, 0xa
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
movzx eax, word [esp + 0x11c]
dec eax
cmp eax, 5
ja case.default.0x44a2eb
jmp dword [eax*4 + 0x44a494]
pop edi
mov eax, 0x10
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0xf
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0xe
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0xc
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 0xb
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
cmp ecx, 4
jne 0x449e98
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44a3f5
cmp dword [esp + 0x14], 0x3b6
jbe 0x44a3cf
pop edi
lea eax, [ecx + 1]
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
xor eax, eax
cmp word [esp + 0x1e], 0x43
pop edi
sete al
pop esi
lea eax, [eax + eax + 4]
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
cmp eax, 0xa
jne 0x44a443
mov ax, word [esp + 0x1e]
cmp ax, 0x41
je 0x44a427
cmp ax, 0x42
je 0x44a427
pop edi
mov eax, 7
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
pop edi
mov eax, 8
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
cmp eax, 0x5a
jne 0x449e98
pop edi
mov eax, 9
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0048297b
add esp, 0x120
ret
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, esp
mov eax, 4
call fcn.0048297b
add esp, 0x120
ret