Function at 0x41dcf0
Capabilities:
Check os version
Get disk information
Get disk size
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461d06
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x480208]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x480208]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x330]
mov ecx, esi
mov dword [esp + 0x5c], ebx
call fcn.00421780
lea edi, [ebx + 0x46c]
test edi, edi
je 0x41dd53
cmp dword [edi + 4], 0
jne 0x41dd70
push 0xffffff
push 1
push 0x10
push 0x81
mov ecx, edi
call fcn.0042b3d1
test eax, eax
je 0x41e76c
test edi, edi
je 0x41dd77
mov edi, dword [edi + 4]
mov eax, dword [ebx + 0x350]
push edi
push 1
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.0042b31f
call fcn.0042b725
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ddac
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
xor eax, eax
cmp dword [0x47e184], eax
mov dword [esp + 0x4a0], eax
mov dword [0x59e704], eax
mov dword [esp + 0x24], eax
jle 0x41e2b4
mov ebx, 0x49b09a
cmp dword [ebx - 0xf6], 0
je 0x41e2b0
mov eax, dword [0x59e704]
add eax, 1
push eax
lea ecx, [esp + 0x18]
push 0x469c90
push ecx
mov dword [0x59e704], eax
mov dword [esp + 0x34], 3
call fcn.004033c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [ebx - 0xf2]
add esp, 0xc
sub eax, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 1
je 0x41de5d
sub eax, 3
je 0x41de53
sub eax, 3
jne 0x41de65
mov dword [esp + 0x44], 0xa
jmp 0x41de65
mov dword [esp + 0x44], 9
jmp 0x41de65
mov dword [esp + 0x44], 0xb
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00422810
mov edi, dword [esp + 0x30]
add edi, 0xcc
push edi
call fcn.0042b71a
test eax, eax
je 0x41de90
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00422b40
mov eax, dword [ebx - 0xf6]
cmp eax, 1
jne 0x41dec1
cmp dword [ebx - 0xf2], 0x53
jne 0x41dec1
mov eax, 0x466658
jmp 0x41dec8
mov eax, dword [eax*4 + 0x47ec5c]
push eax
lea ecx, [esp + 0x64]
call fcn.004034c0
cmp dword [ebx - 0xf6], 6
mov byte [esp + 0x4a0], 1
jne 0x41df19
movzx eax, word [ebx]
cmp ax, 1
jb 0x41df19
cmp ax, 2
ja 0x41df19
movzx edx, ax
mov eax, dword [esp + 0x60]
sub edx, 1
push edx
push eax
lea ecx, [ebx - 0xd9]
push ecx
lea ecx, [esp + 0x20]
push str._s___s__d_
push ecx
call fcn.004033c0
add esp, 0x14
jmp 0x41df37
mov edx, dword [esp + 0x60]
push edx
lea eax, [ebx - 0xd9]
push eax
lea eax, [esp + 0x1c]
push 0x4677c0
push eax
call fcn.004033c0
add esp, 0x10
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
add eax, 1
push edi
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004215e0
cmp dword [ebx - 0xf6], 6
jne 0x41df77
cmp dword [edi - 0xc], 0x29
jae 0x41df77
push edi
lea eax, [ebx - 0xd9]
push 0x29
push eax
call fcn.004442a7
add esp, 0xc
mov eax, dword [esp + 0x30]
add eax, 0xcc
push eax
mov dword [esp + 0x20], eax
call fcn.0042b71a
test eax, eax
je 0x41dfa1
mov edx, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edi
push eax
push ecx
mov ecx, esi
call fcn.00422b40
lea edx, [ebx - 0x87]
push edx
lea eax, [esp + 0x18]
push 0x465dc8
push eax
call fcn.004033c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004215e0
mov edi, dword [esp + 0x30]
add edi, 0xcc
push edi
call fcn.0042b71a
test eax, eax
je 0x41e00a
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00422b40
mov ecx, dword [ebx - 0x2e]
mov edx, dword [ebx - 0x32]
mov eax, dword [ebx + 0x2ce]
push ecx
push edx
push 0
push eax
call fcn.00442600
push 0
push 0xf4240
push edx
push eax
call fcn.00444030
push 0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041d280
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004215e0
mov edi, dword [esp + 0x30]
add edi, 0xcc
push edi
call fcn.0042b71a
test eax, eax
je 0x41e092
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00422b40
cmp dword [ebx - 0xe], 0
je 0x41e0b8
push str._Not_Supported
jmp 0x41e203
cmp dword [ebx - 0x1a], 0
je 0x41e185
cmp dword [ebx - 0x16], 0
je 0x41e0e6
lea edx, [esp + 0x14]
push str._PASS
push edx
call fcn.004033c0
mov ecx, 5
mov dword [esp + 0x24], 0xff0000
jmp 0x41e102
lea eax, [esp + 0x14]
push str._FAIL
push eax
call fcn.004033c0
mov ecx, 6
mov dword [esp + 0x24], 0xff
add esp, 8
cmp dword [ebx - 0xf6], 6
mov dword [esp + 0x44], ecx
jne 0x41e142
mov eax, dword [ebx - 0xe6]
test eax, eax
je 0x41e142
and eax, 0xf
mov ecx, dword [eax*4 + 0x47e2b0]
push ecx
lea edx, [esp + 0x18]
push 0x4663f8
push edx
call fcn.004033c0
mov ecx, 0xc
add esp, 0xc
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
push ecx
add eax, 1
push edi
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.004215e0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edi
push edx
push eax
mov ecx, esi
call fcn.00421670
jmp 0x41e22f
cmp dword [ebx - 0xf6], 6
jne 0x41e1fe
mov eax, dword [ebx - 0xe6]
test eax, eax
je 0x41e1fe
and eax, 0xf
mov ecx, dword [eax*4 + 0x47e2b0]
push ecx
lea edx, [esp + 0x18]
push 0x4663f8
push edx
call fcn.004033c0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
add esp, 0xc
push 0xc
add eax, 1
push edi
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x54], 0xc
call fcn.004215e0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push 0xff0000
push edi
push ecx
push edx
mov ecx, esi
call fcn.00421670
jmp 0x41e22f
push str._Not_Available
lea eax, [esp + 0x18]
push eax
call fcn.004033c0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add esp, 8
push 8
push edi
add eax, 1
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004215e0
mov eax, dword [esp + 0x30]
add eax, 0xcc
push eax
mov dword [esp + 0x20], eax
call fcn.0042b71a
test eax, eax
je 0x41e259
mov edx, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edi
push eax
push ecx
mov ecx, esi
call fcn.00422b40
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x4a0], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e293
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 1
add ebx, 0x3d0
cmp eax, dword [0x47e184]
mov dword [esp + 0x24], eax
jl 0x41dddf
mov ebx, dword [esp + 0x5c]
lea esi, [ebx + 0x200]
mov ecx, esi
call fcn.00421780
mov dword [esp + 0x20], 0x5c3a78
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x4011
push 0x160
lea ecx, [esp + 0x134]
push ecx
push 0x80
push str.www.wdc.com
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ecx, [ebx + 0x464]
test ecx, ecx
mov dword [esp + 0x5c], eax
je 0x41e316
cmp dword [ecx + 4], 0
je 0x41e316
call fcn.0042b2e0
mov edx, dword [esp + 0x5c]
push edx
lea ecx, [ebx + 0x464]
call fcn.0042b347
lea eax, [ebx + 0x464]
test eax, eax
je 0x41e333
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebx + 0x220]
push 1
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.0042b31f
mov al, 0x41
mov byte [esp + 0x1b], al
test byte [esp + 0x24], 1
je 0x41e72f
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x24], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x41e72f
push 0x4301
push 0x160
lea edx, [esp + 0x134]
push edx
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x41e72f
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push 0x4663f8
push edx
mov dword [esp + 0x34], 3
call fcn.004033c0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x38], eax
add eax, 1
add esp, 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x130]
push ecx
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], eax
call fcn.00422810
mov ebx, dword [esp + 0x30]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41e416
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edi
push edx
push eax
mov ecx, esi
call fcn.00422b40
push 0x100
lea ecx, [esp + 0x290]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x98]
push ecx
push 0x100
lea edx, [esp + 0x3a4]
push edx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41e510
lea ecx, [esp + 0x28c]
push ecx
lea edx, [esp + 0x18]
push 0x465dc8
push edx
call fcn.004033c0
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edi
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.004215e0
mov ebx, dword [esp + 0x30]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41e4c9
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push edi
push ecx
push edx
mov ecx, esi
call fcn.00422b40
mov ebx, dword [esp + 0x30]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41e4fe
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edi
push eax
push ecx
mov ecx, esi
call fcn.00422b40
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0xa4], 1
jne 0x41e616
cmp dword [esp + 0x9c], 0
jne 0x41e616
cmp word [esp + 0xa0], 0x3e8
jbe 0x41e616
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x41e72f
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
imul ecx, eax
push 2
imul edi, eax
xor edx, edx
push edx
push 0xf4240
push edx
push ecx
call fcn.00444030
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0041d280
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004215e0
mov ebx, dword [esp + 0x30]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41e5f0
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00422b40
push 0
push 0xf4240
xor eax, eax
push eax
push edi
jmp 0x41e6c6
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x41e72f
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push 2
push 0
push 0xf4240
push edx
push eax
call fcn.00444030
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041d280
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edx
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.004215e0
mov edi, dword [esp + 0x30]
add edi, 0xd2
push edi
call fcn.0042b71a
test eax, eax
je 0x41e69f
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00422b40
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push 0
push 0xf4240
push ecx
push edx
call fcn.00444030
push 2
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041d280
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
add esp, 0xc
push 0xffffffffffffffff
push edi
add eax, 1
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004215e0
mov ebx, dword [esp + 0x30]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41e71d
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403080
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edi
push edx
push eax
mov ecx, esi
call fcn.00422b40
mov al, byte [esp + 0x1b]
shr dword [esp + 0x24], 1
add al, 1
cmp al, 0x5a
mov byte [esp + 0x1b], al
jle 0x41e354
add edi, 0xfffffff0
mov dword [esp + 0x4a0], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e76c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.00441a71
mov esp, ebp
pop ebp
ret