Function at 0x48ae59
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e11f0
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
or ebp, 0xffffffff
mov eax, dword [esi + 0x94]
cmp eax, edi
je 0x48aec7
mov eax, dword [esi + 0xc0]
push ebp
push eax
call fcn.00404d00
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x8c]
lea edx, [esp + 0xc]
push edx
push edi
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push 1
push edx
push 0x4f4c64
push eax
mov dword [esp + 0x54], edi
call dword [ecx + 0x14]
mov eax, dword [esi + 0x8c]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0xc]
push ecx
mov dword [esi + 0x98], eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 0x94]
push ebx
cmp eax, edi
jne 0x48aedd
mov eax, dword [esi + 0x98]
jmp 0x48afa9
mov eax, dword [esi + 0x90]
cmp eax, edi
je 0x48afa7
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov word [esp + 0x18], di
push edi
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push edi
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x98]
push 1
push edi
push 0x4f4c64
push ecx
push eax
mov dword [esp + 0x64], 1
call dword [edx + 0x18]
test eax, eax
jl 0x48af98
mov ax, word [esp + 0x18]
cmp ax, 3
jne 0x48af50
movsx ebx, word [esp + 0x20]
lea edx, [esp + 0x18]
mov dword [esp + 0x40], ebp
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48afa9
cmp ax, 5
jne 0x48af74
fld qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
mov ebx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48afa9
cmp ax, 4
jne 0x48af98
fld dword [esp + 0x20]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48afa9
lea edx, [esp + 0x18]
mov dword [esp + 0x40], ebp
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0xa0]
cmp eax, edi
je 0x48b01d
mov eax, dword [esi + 0xc4]
push ebp
push eax
call fcn.00404d00
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x8c]
lea edx, [esp + 0x10]
push edx
push edi
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push 1
push edx
push 0x4f4c64
push eax
mov dword [esp + 0x58], 2
call dword [ecx + 0x14]
mov eax, dword [esi + 0x8c]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x9c], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [esi + 0xa4], eax
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 0xa0], edi
jne 0x48b028
mov eax, dword [esi + 0xa4]
jmp 0x48b0f4
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x48b0f2
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov word [esp + 0x18], di
push edi
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push edi
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0xa4]
push 1
push edi
push 0x4f4c64
push ecx
push eax
mov dword [esp + 0x64], 3
call dword [edx + 0x18]
test eax, eax
jl 0x48b0e3
mov ax, word [esp + 0x18]
cmp ax, 3
jne 0x48b09b
movsx ebx, word [esp + 0x20]
lea edx, [esp + 0x18]
mov dword [esp + 0x40], ebp
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48b0f4
cmp ax, 5
jne 0x48b0bf
fld qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
mov ebx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48b0f4
cmp ax, 4
jne 0x48b0e3
fld dword [esp + 0x20]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48b0f4
lea edx, [esp + 0x18]
mov dword [esp + 0x40], ebp
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0xac]
cmp eax, edi
je 0x48b168
mov eax, dword [esi + 0xc8]
push ebp
push eax
call fcn.00404d00
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x8c]
lea edx, [esp + 0x10]
push edx
push edi
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push 1
push edx
push 0x4f4c64
push eax
mov dword [esp + 0x58], 4
call dword [ecx + 0x14]
mov eax, dword [esi + 0x8c]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa8], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [esi + 0xb0], eax
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 0xac], edi
jne 0x48b173
mov eax, dword [esi + 0xb0]
jmp 0x48b23f
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x48b23d
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov word [esp + 0x18], di
push edi
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push edi
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0xb0]
push 1
push edi
push 0x4f4c64
push ecx
push eax
mov dword [esp + 0x64], 5
call dword [edx + 0x18]
test eax, eax
jl 0x48b22e
mov ax, word [esp + 0x18]
cmp ax, 3
jne 0x48b1e6
movsx ebx, word [esp + 0x20]
lea edx, [esp + 0x18]
mov dword [esp + 0x40], ebp
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48b23f
cmp ax, 5
jne 0x48b20a
fld qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
mov ebx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48b23f
cmp ax, 4
jne 0x48b22e
fld dword [esp + 0x20]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
jmp 0x48b23f
lea edx, [esp + 0x18]
mov dword [esp + 0x40], ebp
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov ecx, dword [esi + 0x3c]
pop ebx
add ecx, eax
mov dword [esi + 0x44], ecx
mov eax, dword [esi + 0xb8]
cmp eax, edi
je 0x48b2b1
mov eax, dword [esi + 0xcc]
push ebp
push eax
call fcn.00404d00
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x8c]
lea ecx, [esp + 0xc]
push ecx
push edi
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push 1
push ecx
push 0x4f4c64
push eax
mov dword [esp + 0x54], 6
call dword [edx + 0x14]
mov eax, dword [esi + 0x8c]
mov edx, dword [esp + 0xc]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x10]
push eax
mov dword [esi + 0xbc], edx
mov dword [esp + 0x40], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 0xb8], edi
jne 0x48b2c1
mov edi, dword [esi + 0xbc]
jmp 0x48b328
mov eax, dword [esi + 0xb4]
cmp eax, edi
je 0x48b328
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov word [esp + 0x14], di
push edi
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edi
push edx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 0xbc]
push 1
push edi
push 0x4f4c64
push edx
push eax
mov dword [esp + 0x60], 7
call dword [ecx + 0x18]
test eax, eax
jl 0x48b31d
mov ax, word [esp + 0x14]
cmp ax, 3
jne 0x48b342
movsx edi, word [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esi + 0x40]
add ecx, edi
pop edi
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret
cmp ax, 5
jne 0x48b35a
fld qword [esp + 0x1c]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x14]
mov edi, eax
push ecx
jmp 0x48b322
cmp ax, 4
jne 0x48b31d
fld dword [esp + 0x1c]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x14]
mov edi, eax
push edx
jmp 0x48b322