Function at 0x48121c
Capabilities:
Check os version
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x550be1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, vtable.CBrush.0
mov dword [esp + 0xc], esi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], eax
mov dword [esp + 0x210], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], eax
mov dword [esi + 0x8c], edi
mov dword [esi + 0x88], eax
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x9c], edi
mov dword [esi + 0x98], eax
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa0], eax
mov dword [esi + 0xac], edi
mov dword [esi + 0xa8], eax
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb0], eax
mov eax, vtable.CPen.0
mov dword [esi + 0xbc], edi
mov dword [esi + 0xb8], eax
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc0], eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc8], eax
mov eax, vtable.CFont.0
mov dword [esi + 0xf0], edi
mov dword [esi + 0xec], eax
mov dword [esi + 0xf8], edi
mov dword [esi + 0xf4], eax
mov dword [esi + 0x100], edi
mov dword [esi + 0xfc], eax
mov dword [esi + 0x108], edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x110], edi
mov dword [esi + 0x10c], eax
mov dword [esi + 0x118], edi
mov dword [esi + 0x114], eax
mov dword [esi + 0x120], edi
mov dword [esi + 0x11c], eax
mov dword [esi + 0x128], edi
mov dword [esi + 0x124], eax
mov dword [esi + 0x130], edi
mov dword [esi + 0x12c], eax
mov byte [esp + 0x210], 0x13
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
call fcn.00480450
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov ecx, esi
call fcn.00480d70
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x4015
push 0x160
lea eax, [esp + 0xb0]
push eax
push 0x10
push 0x559e91
call dword [sym.imp.shell32.dll_SHGetFileInfo]
cmp eax, edi
mov ebp, dword [sym.imp.user32.dll_GetSystemMetrics]
je 0x4813b7
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.comctl32.dll_ImageList_GetIconSize]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], ecx
jmp 0x4813cb
push 0x31
call ebp
push 0x32
mov dword [esi + 0xe4], eax
call ebp
mov dword [esi + 0xe8], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [esp + 0x24]
cmp eax, 2
mov edx, dword [esp + 0x18]
jne 0x4813fd
cmp edx, 5
jae 0x4813fd
mov ecx, 1
jmp 0x4813ff
xor ecx, ecx
mov dword [esi + 0x134], ecx
xor ecx, ecx
cmp eax, 1
sete cl
cmp eax, 2
mov dword [esi + 0x148], 3
mov dword [esi + 0x14c], 0xe
mov dword [esi + 0x154], 0x32
mov dword [esi + 0x140], edi
mov dword [esi + 0x138], ecx
mov ecx, 4
mov dword [esi + 0x144], ecx
mov dword [esi + 0x150], ecx
jne 0x48145f
cmp edx, 5
jb 0x48145f
push 0x1000
call ebp
mov dword [esi + 0x140], eax
mov ecx, dword [esp + 0x208]
mov dword [esi + 0x164], edi
pop edi
mov dword [esi + 0x158], 0xffffffff
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x208
ret