Function at 0x41f0d0
Capabilities:
Access peb ldr_data
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba9a6
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [esi + 4]
mov dword [esi], vtable.ckmmc::ScsiDevice.0
mov ebx, ecx
xor eax, eax
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], edi
mov word [edi], cx
push 0xffffffffffffffff
push eax
push ebx
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00401780
mov edx, dword [ebx + 0x1c]
mov dword [edi + 0x1c], edx
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov ecx, dword [ebx + 0x24]
mov dword [edi + 0x24], ecx
mov dword [ebp - 4], 1
call fcn.004221d0
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], 2
xor edi, edi
mov dword [esi], vtable.ckmmc::MmcDevice.0
xor edx, edx
mov word [esi + 0x6e], dx
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov byte [ebp - 4], 4
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
push 0xc0
mov word [esi + 0x30], ax
lea eax, [ebp - 0xe0]
xor ecx, ecx
push edi
push eax
mov word [esi + 0x42], cx
mov word [esi + 0x64], dx
call fcn.00499330
mov ecx, dword [esi + 0x2c]
add esp, 0xc
xor eax, eax
push 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0xc0
lea eax, [ebp - 0xe0]
push eax
push 6
lea eax, [ebp - 0x20]
mov byte [ebp - 0x20], 0x12
mov byte [ebp - 0x1c], 0x24
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0xc]
push esi
call edx
test al, al
je 0x41f307
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x118]
call fcn.00421f00
lea eax, [ebp - 0x102]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f250
mov ebx, dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push 9
sub eax, edx
lea edi, [esi + 0x30]
push edi
inc eax
push eax
lea eax, [ebp - 0x102]
push eax
push 1
call ebx
neg eax
sbb eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 9
jne 0x41f289
xor ecx, ecx
mov word [edi + 0x10], cx
lea eax, [ebp - 0xf9]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f292
push 0x11
sub eax, edx
lea edi, [esi + 0x42]
push edi
inc eax
push eax
lea edx, [ebp - 0xf9]
push edx
push 1
call ebx
neg eax
sbb eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 0x11
jne 0x41f2c5
xor eax, eax
mov word [edi + 0x20], ax
lea eax, [ebp - 0xe8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f2d0
push 5
sub eax, edx
lea edi, [esi + 0x64]
push edi
inc eax
push eax
lea ecx, [ebp - 0xe8]
push ecx
push 1
call ebx
neg eax
sbb eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 5
mov eax, esi
jne 0x41f323
xor edx, edx
mov word [edi + 8], dx
jmp 0x41f323
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
push eax
push ecx
push edx
push str._mmcdevice_:_unable_to_obtain_device_inquiry_data_from__d__d__d.
call dword [0x4eece8]
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret