Function at 0x9045e92
Capabilities:
Check os version

Disassembly:
push 0x6fc
mov eax, 0x90a118a
call fcn.09004c60
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, edx
push esi
lea ecx, [ebp - 0x708]
mov dword [ebp - 0x2f8], esi
mov dword [ebp - 0x2f4], edi
mov dword [ebp - 0x2f0], eax
call fcn.0903b6c0
xor ebx, ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.0900373e
add esi, 0x98
push esi
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 1
call fcn.09045e39
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x314], ebx
je 0x9045f3f
mov eax, dword [ebp - 0x318]
mov esi, dword [eax]
cmp esi, eax
je 0x9045f3f
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0903b6c0
push ebx
push 1
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push edi
call fcn.090439f3
mov esi, dword [esi]
add esp, 0x1c
cmp esi, dword [ebp - 0x318]
jne 0x9045f0a
xor edi, edi
inc edi
push edi
push ebx
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.0903b6c0
add esp, 0x10
test al, al
je 0x9045f77
push ebx
push edi
push edi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
call fcn.090439f3
add esp, 0x1c
call fcn.09011564
test al, al
je 0x9045fb5
push ebx
push ebx
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.0903b6c0
add esp, 0x10
test al, al
je 0x9045fb5
push ebx
push edi
push edi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
call fcn.090439f3
add esp, 0x1c
push edi
push ebx
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0903b6c0
add esp, 0x10
test al, al
je 0x9045fea
push ebx
push ebx
push edi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
call fcn.090439f3
add esp, 0x1c
call fcn.09011564
test al, al
je 0x9046028
push ebx
push ebx
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0903b6c0
add esp, 0x10
test al, al
je 0x9046028
push ebx
push ebx
push edi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
call fcn.090439f3
add esp, 0x1c
lea eax, [ebp - 0x4c]
push eax
call fcn.0903b6c0
pop ecx
test al, al
je 0x9046058
push edi
push ebx
push edi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
call fcn.090439f3
add esp, 0x1c
mov ecx, dword [ebp - 0x2f8]
push ebx
lea edx, [ebp - 0x4c]
call fcn.090436d5
pop ecx
test al, al
je 0x904608e
push ebx
push ebx
push edi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
call fcn.090439f3
add esp, 0x1c
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - 0x1d8], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x9046542
cmp dword [ebp - 0x1d4], 6
sbb al, al
inc al
je 0x9046542
lea ecx, [ebp - 0xbc]
call fcn.0900373e
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.0900373e
mov ecx, dword [ebp - 0x2f8]
push ebx
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.090436d5
pop ecx
test al, al
je 0x9046524
lea eax, [ebp - 0xa0]
push eax
call fcn.0903b6c0
pop ecx
test al, al
je 0x9046524
lea ecx, [ebp - 0xfc]
call fcn.0900373e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0900373e
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 6
call fcn.09055dae
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x2e9]
push eax
lea eax, [ebp - 0x2ea]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x120]
call fcn.0905617c
test al, al
je 0x904625b
cmp byte [ebp - 0x2e9], bl
jne 0x904613d
push 0x90b57d8
lea ecx, [ebp - 0x68]
call fcn.090168fc
test al, al
je 0x904613d
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.09017e38
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.09056076
mov esi, str..cdmp
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0903b6c0
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x90461e9
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x84]
call fcn.0903b6c0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0xa
call fcn.090183d0
lea ecx, [ebp - 0x2fc]
call fcn.0901978b
mov dword [ebp - 4], 9
jmp 0x9046239
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.090167a9
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.0903b6c0
jmp 0x904613d
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x144]
call fcn.09055dae
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x2e9]
push eax
lea eax, [ebp - 0x2ea]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x144]
call fcn.0905617c
test al, al
je 0x90464c6
cmp byte [ebp - 0x2e9], bl
jne 0x9046271
push str.CDMP
lea ecx, [ebp - 0x68]
call fcn.090168fc
test al, al
je 0x9046271
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.09055f7e
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.09056076
mov esi, str..icc
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0903b6c0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x84]
call fcn.09017e38
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xe
jae 0x9046329
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x84]
call fcn.0903b6c0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 0xf
call fcn.090183d0
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x10
call fcn.0903b6c0
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x84]
call fcn.0903b6c0
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0903b6c0
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x304]
cmp eax, 0xffffffff
jne 0x90463b7
call fcn.0901978b
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.090167a9
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.0903b6c0
jmp 0x904626d
call fcn.0901978b
mov dword [ebp - 4], 0xe
jmp 0x90463d7
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x2f8]
call fcn.0905855e
add esp, 0xc
test al, al
je 0x90464a4
mov eax, dword [ebp - 0x300]
mov esi, dword [eax + 0x28]
push esi
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2e8]
call fcn.0903b6c0
push dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x300]
mov eax, dword [ecx]
push esi
push ebx
mov byte [ebp - 4], 0x12
call dword [eax + 0x18]
push 0x41434520
push 0x3f3f3f3f
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x13
call fcn.09055c75
push esi
push dword [ebp - 0x2e8]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x14
call fcn.0903b6c0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x13
call fcn.0901978b
mov dword [ebp - 4], 0x12
jmp 0x904648a
mov ecx, dword [ebp - 0x300]
call fcn.0900574e
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0xe
call fcn.09007ffd
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.090167a9
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.0903b6c0
jmp 0x9046271
push ebx
push ebx
push edi
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x708]
push eax
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
call fcn.090439f3
add esp, 0x1c
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 7
call fcn.09055707
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 6
call fcn.09055707
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.090167a9
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.090167a9
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.090167a9
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.090167a9
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0x16
call fcn.09003760
push dword [ebp - 0x318]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.090167a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x708]
call fcn.0903b6c0
call fcn.09005591
ret