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

Disassembly:
push 0xffffffffffffffff
push 0x445ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
push 0x4493dc
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
call fcn.00407330
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
lea eax, [ebp + 0xe8c]
push 0x10
push eax
mov ecx, ebp
mov dword [esp + 0x24], edi
call fcn.00408510
call fcn.0042980b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
cmp edi, ebx
mov byte [esp + 0x1a0], 1
je 0x40b75d
lea ebx, [ebp + 0x840]
test byte [esp + 0x1c], 1
je 0x40b740
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40b4ce
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40b4bc
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40b4bc
push ecx
call fcn.00401610
mov dword [esp + 0x18], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40b4af
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0x10
mov dword [esp + 0x20], eax
jmp 0x40b4ca
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004018e0
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 0xc]
test esi, esi
jle 0x40b84b
cmp dword [eax - 4], 1
jle 0x40b4ef
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00401410
mov eax, dword [esp + 0x10]
mov dl, byte [esp + 0x24]
add dl, 0x41
test esi, esi
mov byte [eax], dl
jl 0x40b84b
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40b84b
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov edi, eax
mov dword [esp + 0x14], edi
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x40b553
cmp eax, dword [esi]
jne 0x40b553
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40b589
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40b846
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x19c]
lea esi, [eax + 0x10]
mov eax, dword [ebp + 0xe98]
push esi
push eax
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
push 0x301
push 0x160
lea eax, [esp + 0x40]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push edi
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00407330
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00408b80
push edi
mov ecx, ebp
call fcn.00408260
mov edx, dword [ebp + 0xe98]
inc edx
lea eax, [ebp + 0xe84]
test eax, eax
mov dword [ebp + 0xe98], edx
je 0x40b61c
mov eax, dword [eax + 4]
mov ecx, dword [ebx - 0x624]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x1109
push ecx
call esi
push eax
call fcn.004236df
lea ecx, [ebx - 0x640]
push 0
call fcn.00428c3d
lea eax, [ebp + 0xe8c]
test eax, eax
je 0x40b653
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x1c]
push eax
push 1
push 0x1003
push edx
call esi
push eax
call fcn.004236df
push 0
mov ecx, ebx
call fcn.00428c3d
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.File_Name
push 0
mov ecx, ebx
call fcn.0042359d
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push str.Size
push 1
mov ecx, ebx
call fcn.0042359d
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.Date
push 2
mov ecx, ebx
call fcn.0042359d
mov esi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], esp
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x40b6e0
cmp eax, dword [esi]
jne 0x40b6e0
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40b712
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40b846
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
push ebx
lea eax, [ebx - 0x640]
push eax
mov ecx, ebp
call fcn.0040b2b0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x18], eax
add ebx, 0x50
mov dword [ebp + 0xe80], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
shr eax, 1
inc edx
test eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
jne 0x40b465
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
cdq
idiv dword [esp + 0x18]
mov ecx, dword [ebp + 0x1c0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ebx
push 0x1331
push ecx
call edi
push 5
lea ecx, [ebp + 0x250]
call fcn.00428c3d
push 5
lea ecx, [ebp + 0x890]
call fcn.00428c3d
mov edx, dword [ebp + 0x1c0]
push 0
push 1
push 0x130c
push edx
mov dword [ebp + 0xe94], 1
call edi
mov eax, dword [ebp + 0x19c]
mov eax, dword [eax + 4]
push 0x408
push 1
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea eax, [esi - 0x10]
mov dword [ebp + 0xe9c], 0xcb
mov byte [esp + 0x1a0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b804
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b82d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x194
ret
jmp fcn.00401400
push 0x80070057
call fcn.00401310
int3