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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471730
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x49f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x490], ecx
mov eax, dword [ebp - 0x490]
push eax
lea ecx, [ebp - 0x424]
call fcn.00403840
push 0xc
lea ecx, [ebp - 0x430]
call fcn.004015c0
lea ecx, [ebp - 0x430]
call fcn.004066a0
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00451270
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0xffffffff
je 0x41c545
lea eax, [ebp - 0x218]
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x47c]
add ecx, 2
mov dword [ebp - 0x494], ecx
mov edx, dword [ebp - 0x47c]
mov ax, word [edx]
mov word [ebp - 0x47e], ax
add dword [ebp - 0x47c], 2
cmp word [ebp - 0x47e], 0
jne 0x41c351
mov ecx, dword [ebp - 0x47c]
sub ecx, dword [ebp - 0x494]
sar ecx, 1
mov dword [ebp - 0x498], ecx
mov edx, dword [ebp - 0x498]
sub edx, 1
mov dword [ebp - 0x484], edx
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x218]
cmp edx, 0x5c
jne 0x41c3fb
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x218]
cmp ecx, 0x5c
jne 0x41c3fb
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x218]
cmp eax, 0x3f
jne 0x41c3fb
mov ecx, 2
imul edx, ecx, 3
movzx eax, word [ebp + edx - 0x218]
cmp eax, 0x5c
jne 0x41c3fb
mov ecx, dword [ebp - 0x484]
movzx edx, word [ebp + ecx*2 - 0x218]
cmp edx, 0x5c
je 0x41c400
jmp 0x41c538
mov eax, dword [ebp - 0x484]
shl eax, 1
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0x208
jae 0x41c41c
jmp 0x41c421
call fcn.00439ffe
lfence
xor ecx, ecx
mov edx, dword [ebp - 0x48c]
mov word [ebp + edx - 0x218], cx
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.00451270
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
mov edx, 2
shl edx, 2
lea eax, [ebp + edx - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0x49c], eax
mov ecx, 0x5c
mov edx, dword [ebp - 0x484]
mov word [ebp + edx*2 - 0x218], cx
cmp dword [ebp - 0x49c], 0
jb 0x41c517
lea ecx, [ebp - 0x478]
call fcn.0041c740
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x478]
call fcn.0041cb40
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x460]
call fcn.0041cb40
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x424]
call fcn.0041c590
push eax
lea ecx, [ebp - 0x448]
call fcn.00407b60
lea ecx, [ebp - 0x4b4]
call fcn.00407b40
lea ecx, [ebp - 0x478]
push ecx
call fcn.00401650
add esp, 4
push eax
lea ecx, [ebp - 0x430]
call fcn.0041c660
lea ecx, [ebp - 0x478]
call fcn.0041c270
push 0x104
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x41c336
mov ecx, dword [ebp - 0x488]
push ecx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
lea edx, [ebp - 0x430]
push edx
call fcn.00401650
add esp, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.00407460
lea ecx, [ebp - 0x430]
call fcn.0041caa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439a35
mov esp, ebp
pop ebp
ret 4