Function at 0x3eea82
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push 0x260
mov eax, 0x418733
call fcn.0040bc61
mov ebx, ecx
mov dword [ebp - 0x220], ebx
call fcn.00406c07
test al, al
je 0x3eed79
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x248], esi
push 0x105
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstVolumeW]
mov dword [ebp - 0x260], eax
cmp eax, 0xffffffff
je 0x421d3c
mov edi, esi
test edi, edi
js 0x3eec73
push 0x8001
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
mov esi, eax
mov dword [ebp - 0x264], esi
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
mov dword [ebp - 0x228], eax
cmp eax, 3
jne 0x421d5a
lea edi, [ebx + 0x2c]
mov edx, 0x8002802b
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x224], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x25c], edi
mov edi, ecx
mov dword [ebp - 0x22c], edx
lea eax, [edi + eax*4]
mov dword [ebp - 0x230], eax
cmp ecx, eax
jne 0x421d7d
and dword [ebp - 0x224], 0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.003ee3c6
push ecx
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebx + 0xc]
lea ecx, [ebp - 0x224]
call fcn.003eed7d
mov edi, eax
test edi, edi
js 0x3eebdc
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.004002a1
mov edi, eax
test edi, edi
js 0x3eebdc
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x244]
call fcn.00406780
mov edi, eax
test edi, edi
js 0x3eebdc
cmp dword [ebp - 0x228], 2
je 0x421eb6
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.003ee3c6
test edi, edi
js 0x3eec14
lea eax, [ebp - 0x254]
mov dword [ebp - 0x26c], ebx
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x21c]
call fcn.003ef10f
mov edi, eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
test edi, edi
js 0x421f02
push 0x105
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x260]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextVolumeW]
test eax, eax
je 0x3eec50
mov ebx, dword [ebp - 0x220]
xor edi, edi
jmp 0x3eeb0a
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x3eec67
movzx edi, di
or edi, 0x80070000
test edi, edi
mov ebx, dword [ebp - 0x220]
jns 0x421ef8
lea esi, [edi + 0x7ff8ffee]
neg esi
sbb esi, esi
and esi, edi
mov dword [ebp - 0x234], esi
jl 0x3eed49
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
lea eax, [edi + eax*4]
mov dword [ebp - 0x228], eax
cmp edi, eax
jne 0x421f0d
mov edi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
lea eax, [edi + eax*4]
mov dword [ebp - 0x228], eax
cmp edi, eax
jne 0x421f4a
mov edi, dword [ebp - 0x220]
lea ecx, [edi + 0x2c]
call fcn.00407091
lea ecx, [ebx + 0x3c]
call fcn.00407091
mov eax, dword [ebp - 0x244]
xor ecx, ecx
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x23c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x240]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x238]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x254]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x250]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebx + 0x48], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x248], ecx
lea ecx, [ebp - 0x254]
call fcn.00407091
lea ecx, [ebp - 0x244]
call fcn.00407091
mov eax, dword [ebp - 0x260]
cmp eax, 0xffffffff
je 0x3eed71
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindVolumeClose]
mov eax, esi
call fcn.0040bc10
ret
xor eax, eax
jmp 0x3eed73
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x3eeb04
movzx edi, di
or edi, 0x80070000
jmp 0x3eeb02
cmp eax, 2
jne 0x3eec14
push ecx
xor edx, edx
mov ecx, 0x3d9738
call fcn.0040f7e0
test eax, eax
jne 0x3eec14
jmp 0x3eeb3d
mov ebx, dword [ebp - 0x224]
cmp edx, 0x8002802b
jne 0x421ded
mov eax, dword [ecx]
lea edx, [ebp - 0x21c]
mov eax, dword [eax + 0x10]
mov di, word [edx]
cmp di, word [eax]
jne 0x421dbc
test di, di
je 0x421db8
mov di, word [edx + 2]
cmp di, word [eax + 2]
jne 0x421dbc
add edx, 4
add eax, 4
test di, di
jne 0x421d96
xor eax, eax
jmp 0x421dc1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x421ddc
mov esi, ecx
sub esi, ebx
sar esi, 2
xor edx, edx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x22c], edx
jmp 0x421de2
mov edx, dword [ebp - 0x22c]
add ecx, 4
cmp ecx, dword [ebp - 0x230]
jne 0x421d83
mov esi, dword [ebp - 0x264]
mov ebx, dword [ebp - 0x220]
test edx, edx
js 0x3eeb71
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x258]
push ecx
mov eax, dword [eax]
lea eax, [eax + ecx*4]
mov ebx, dword [eax]
lea ecx, [ebp - 0x244]
push eax
mov dword [ebp - 0x22c], ebx
call fcn.00406780
mov edi, eax
test edi, edi
js 0x3eec14
push dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
call fcn.0042d52f
mov edi, eax
test edi, edi
js 0x3eec14
mov ecx, ebx
call fcn.0042c4b9
mov dword [ebp - 0x230], eax
call fcn.003eedf2
mov edi, eax
test edi, edi
js 0x3eec14
mov ecx, dword [ebp - 0x22c]
mov bl, byte [ebx + 0x20]
call fcn.004002d6
mov ecx, dword [ebp - 0x22c]
mov al, byte [ecx + 0x20]
mov byte [ebp - 0x234], al
cmp bl, al
je 0x421eed
test al, al
je 0x421e94
call fcn.0042c4b9
jmp 0x421e9a
mov eax, dword [ebp - 0x230]
push dword [ebp - 0x234]
mov ebx, dword [ebp - 0x220]
push eax
push ecx
mov ecx, ebx
call fcn.003ff463
mov edi, eax
jmp 0x3eebeb
xor edx, edx
mov ecx, 0x3de0b0
call fcn.00401cd8
test al, al
jne 0x3eebdc
mov ecx, dword [ebp - 0x224]
call fcn.0042c4b9
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push ecx
call fcn.0042b1d2
jmp 0x3eebdc
mov ebx, dword [ebp - 0x220]
jmp 0x3eebeb
mov edi, 0x80004005
jmp 0x3eec73
mov ebx, dword [ebp - 0x220]
jmp 0x3eec73
mov ebx, dword [edi]
cmp dword [ebx + 0xc], 0
je 0x421f22
push dword [ebx + 0xc]
call dword [sym.imp.api_ms_win_service_private_l1_1_0.dll_I_ScUnregisterDeviceNotification]
and dword [ebx + 0xc], 0
mov ecx, dword [edi]
push 0
call fcn.0042c4b9
mov ebx, dword [ebp - 0x220]
push eax
push ecx
mov ecx, ebx
call fcn.003ff463
add edi, 4
cmp edi, dword [ebp - 0x228]
jne 0x421f0d
jmp 0x3eeca2
mov esi, dword [ebp - 0x228]
mov eax, dword [edi]
add eax, 0xc
mov dword [ebp - 0x228], eax
cmp dword [eax], 0
je 0x421f71
push dword [eax]
call dword [sym.imp.api_ms_win_service_private_l1_1_0.dll_I_ScUnregisterDeviceNotification]
mov eax, dword [ebp - 0x228]
and dword [eax], 0
add edi, 4
cmp edi, esi
jne 0x421f50
mov esi, dword [ebp - 0x234]
jmp 0x3eecb9