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

Disassembly:
push 0x260
mov eax, 0x448733
call fcn.0043bc61
mov ebx, ecx
mov dword [ebp - 0x220], ebx
call fcn.00436c07
test al, al
je 0x41ed79
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 0x451d3c
mov edi, esi
test edi, edi
js 0x41ec73
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 0x451d5a
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 0x451d7d
and dword [ebp - 0x224], 0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.0041e3c6
push ecx
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebx + 0xc]
lea ecx, [ebp - 0x224]
call fcn.0041ed7d
mov edi, eax
test edi, edi
js 0x41ebdc
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.004302a1
mov edi, eax
test edi, edi
js 0x41ebdc
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x244]
call fcn.00436780
mov edi, eax
test edi, edi
js 0x41ebdc
cmp dword [ebp - 0x228], 2
je 0x451eb6
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.0041e3c6
test edi, edi
js 0x41ec14
lea eax, [ebp - 0x254]
mov dword [ebp - 0x26c], ebx
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x21c]
call fcn.0041f10f
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 0x451f02
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 0x41ec50
mov ebx, dword [ebp - 0x220]
xor edi, edi
jmp 0x41eb0a
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x41ec67
movzx edi, di
or edi, 0x80070000
test edi, edi
mov ebx, dword [ebp - 0x220]
jns 0x451ef8
lea esi, [edi + 0x7ff8ffee]
neg esi
sbb esi, esi
and esi, edi
mov dword [ebp - 0x234], esi
jl 0x41ed49
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
lea eax, [edi + eax*4]
mov dword [ebp - 0x228], eax
cmp edi, eax
jne 0x451f0d
mov edi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
lea eax, [edi + eax*4]
mov dword [ebp - 0x228], eax
cmp edi, eax
jne 0x451f4a
mov edi, dword [ebp - 0x220]
lea ecx, [edi + 0x2c]
call fcn.00437091
lea ecx, [ebx + 0x3c]
call fcn.00437091
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.00437091
lea ecx, [ebp - 0x244]
call fcn.00437091
mov eax, dword [ebp - 0x260]
cmp eax, 0xffffffff
je 0x41ed71
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindVolumeClose]
mov eax, esi
call fcn.0043bc10
ret
xor eax, eax
jmp 0x41ed73
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x41eb04
movzx edi, di
or edi, 0x80070000
jmp 0x41eb02
cmp eax, 2
jne 0x41ec14
push ecx
xor edx, edx
mov ecx, 0x409738
call fcn.0043f7e0
test eax, eax
jne 0x41ec14
jmp 0x41eb3d
mov ebx, dword [ebp - 0x224]
cmp edx, 0x8002802b
jne 0x451ded
mov eax, dword [ecx]
lea edx, [ebp - 0x21c]
mov eax, dword [eax + 0x10]
mov di, word [edx]
cmp di, word [eax]
jne 0x451dbc
test di, di
je 0x451db8
mov di, word [edx + 2]
cmp di, word [eax + 2]
jne 0x451dbc
add edx, 4
add eax, 4
test di, di
jne 0x451d96
xor eax, eax
jmp 0x451dc1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x451ddc
mov esi, ecx
sub esi, ebx
sar esi, 2
xor edx, edx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x22c], edx
jmp 0x451de2
mov edx, dword [ebp - 0x22c]
add ecx, 4
cmp ecx, dword [ebp - 0x230]
jne 0x451d83
mov esi, dword [ebp - 0x264]
mov ebx, dword [ebp - 0x220]
test edx, edx
js 0x41eb71
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.00436780
mov edi, eax
test edi, edi
js 0x41ec14
push dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
call fcn.0045d52f
mov edi, eax
test edi, edi
js 0x41ec14
mov ecx, ebx
call fcn.0045c4b9
mov dword [ebp - 0x230], eax
call fcn.0041edf2
mov edi, eax
test edi, edi
js 0x41ec14
mov ecx, dword [ebp - 0x22c]
mov bl, byte [ebx + 0x20]
call fcn.004302d6
mov ecx, dword [ebp - 0x22c]
mov al, byte [ecx + 0x20]
mov byte [ebp - 0x234], al
cmp bl, al
je 0x451eed
test al, al
je 0x451e94
call fcn.0045c4b9
jmp 0x451e9a
mov eax, dword [ebp - 0x230]
push dword [ebp - 0x234]
mov ebx, dword [ebp - 0x220]
push eax
push ecx
mov ecx, ebx
call fcn.0042f463
mov edi, eax
jmp 0x41ebeb
xor edx, edx
mov ecx, 0x40e0b0
call fcn.00431cd8
test al, al
jne 0x41ebdc
mov ecx, dword [ebp - 0x224]
call fcn.0045c4b9
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push ecx
call fcn.0045b1d2
jmp 0x41ebdc
mov ebx, dword [ebp - 0x220]
jmp 0x41ebeb
mov edi, 0x80004005
jmp 0x41ec73
mov ebx, dword [ebp - 0x220]
jmp 0x41ec73
mov ebx, dword [edi]
cmp dword [ebx + 0xc], 0
je 0x451f22
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.0045c4b9
mov ebx, dword [ebp - 0x220]
push eax
push ecx
mov ecx, ebx
call fcn.0042f463
add edi, 4
cmp edi, dword [ebp - 0x228]
jne 0x451f0d
jmp 0x41eca2
mov esi, dword [ebp - 0x228]
mov eax, dword [edi]
add eax, 0xc
mov dword [ebp - 0x228], eax
cmp dword [eax], 0
je 0x451f71
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 0x451f50
mov esi, dword [ebp - 0x234]
jmp 0x41ecb9