Function at 0x4024e0
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482140
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x4ecd5c]
xor eax, ebp
mov dword [ebp - 0x5c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x1ec]
call fcn.004029a0
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x40258c
push 0x486804
push 1
lea edx, [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x50]
call fcn.00403900
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1e8]
or eax, 1
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1f0]
push ecx
call fcn.00403ba0
add esp, 8
movzx edx, al
test edx, edx
je 0x40258c
mov dword [ebp - 0x1f4], 1
jmp 0x402596
mov dword [ebp - 0x1f4], 0
mov al, byte [ebp - 0x1f4]
mov byte [ebp - 0x1c1], al
mov ecx, dword [ebp - 0x1e8]
and ecx, 1
je 0x4025bf
and dword [ebp - 0x1e8], 0xfffffffe
lea ecx, [ebp - 0x1c8]
call fcn.00404a10
movzx edx, byte [ebp - 0x1c1]
test edx, edx
je 0x4025d7
push 0x486808
lea ecx, [ebp - 0x50]
call fcn.00403730
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00403a00
add esp, 0xc
mov byte [ebp - 4], 2
push 0x34
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00440a70
add esp, 0xc
call fcn.0040acc0
mov word [ebp - 0x4c], ax
movzx ecx, word [ebp - 0x4c]
cmp ecx, 5
je 0x402628
movzx edx, word [ebp - 0x4c]
cmp edx, 0x105
je 0x402628
movzx eax, word [ebp - 0x4c]
cmp eax, 0x5a04
jne 0x402638
mov dword [ebp - 0x38], 0x7b
mov dword [ebp - 0x2c], 0xf010
jmp 0x402646
mov dword [ebp - 0x38], 0x59
mov dword [ebp - 0x2c], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x1cc], esp
lea edx, [ebp - 0x48]
push edx
call fcn.00404970
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1ec]
call fcn.00402fc0
mov byte [ebp - 0x1f9], al
movzx eax, byte [ebp - 0x1f9]
test eax, eax
je 0x402683
mov dword [ebp - 0x30], 0x10
jmp 0x40268a
mov dword [ebp - 0x30], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1d0], esp
lea edx, [ebp - 0x48]
push edx
call fcn.00404970
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x1ec]
call fcn.00402cf0
mov byte [ebp - 0x201], al
movzx eax, byte [ebp - 0x201]
test eax, eax
je 0x4026c7
mov dword [ebp - 0x18], 0xffffffff
jmp 0x4026ce
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 0xc]
call fcn.00403c00
mov dword [ebp - 0x28], eax
lea ecx, [ebp + 0xc]
call fcn.00404ab0
mov dword [ebp - 0x24], eax
xor ecx, ecx
cmp dword [ebp + 8], 0
setne cl
add ecx, 0xffff0002
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x40], edx
movzx eax, word [ebp - 0x4c]
cmp eax, 5
je 0x402721
movzx ecx, word [ebp - 0x4c]
cmp ecx, 0x105
je 0x402721
movzx edx, word [ebp - 0x4c]
cmp edx, 0x5a04
jne 0x4028ea
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404970
mov byte [ebp - 4], 3
push 0x48680c
push 1
lea ecx, [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00403900
mov dword [ebp - 0x208], eax
mov edx, dword [ebp - 0x208]
push edx
call fcn.00403ba0
add esp, 8
mov byte [ebp - 0x1d1], al
lea ecx, [ebp - 0x1d8]
call fcn.00404a10
movzx eax, byte [ebp - 0x1d1]
test eax, eax
je 0x402785
push 0x486810
lea ecx, [ebp - 0x58]
call fcn.00403730
lea ecx, [ebp - 0x58]
call fcn.0040d850
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jb 0x4027a9
cmp dword [ebp - 0x54], 6
ja 0x4027a9
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1b0], 0
push 0x301
push 0x160
lea edx, [ebp - 0x1bc]
push edx
push 0
lea ecx, [ebp - 0x58]
call fcn.0040d850
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x4027e2
mov dword [ebp - 0x20], 0
jmp 0x402899
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp + 8], 0
jne 0x402899
movsx edx, byte [ebp - 0x1b0]
test edx, edx
je 0x402899
push 4
call fcn.0041f698
add esp, 4
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
je 0x40283d
mov ecx, dword [ebp - 0x1dc]
call fcn.004036a0
mov dword [ebp - 0x20c], eax
jmp 0x402847
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1c0], eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c0]
call fcn.00404a30
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp + 0xc]
call fcn.00404a50
lea ecx, [ebp + 0xc]
call fcn.00403c00
mov dword [ebp - 0x28], eax
lea ecx, [ebp + 0xc]
call fcn.00404ab0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
or eax, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x14], ecx
push 0x103
push 0x160
lea edx, [ebp - 0x1bc]
push edx
push 0
lea ecx, [ebp - 0x58]
call fcn.0040d850
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x4028c8
mov dword [ebp - 0x20], 0
jmp 0x4028de
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00404a10
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x1ec]
call fcn.00404700
mov dword [ebp - 0x44], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1e0], esp
lea eax, [ebp - 0x48]
push eax
call fcn.00404970
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x1ec]
call fcn.004031d0
mov byte [ebp - 0x211], al
movzx ecx, byte [ebp - 0x211]
test ecx, ecx
je 0x402941
push 1
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x1ec]
call fcn.0041f963
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.00404ad0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00404a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404a10
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.00440a5c
mov esp, ebp
pop ebp
ret 8