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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4328d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x488
mov eax, dword [0x445008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x220]
mov dword [edi], 0
push 0
push eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00423800
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstVolumeW]
mov dword [ebp - 0x478], eax
cmp eax, 0xffffffff
je 0x402764
nop
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402470
sub eax, edx
sar eax, 1
cmp word [ebp - 0x220], 0x5c
jne 0x402758
cmp word [ebp - 0x21e], 0x5c
jne 0x402758
cmp word [ebp - 0x21c], 0x3f
jne 0x402758
cmp word [ebp - 0x21a], 0x5c
jne 0x402758
lea esi, [eax*2 - 2]
cmp word [ebp + esi - 0x220], 0x5c
jne 0x402758
cmp esi, 0x208
jae 0x402784
xor eax, eax
push 0x208
push eax
mov word [ebp + esi - 0x220], ax
lea eax, [ebp - 0x428]
push eax
call fcn.00423800
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
mov ecx, 0x5c
mov word [ebp + esi - 0x220], cx
test eax, eax
je 0x402738
xor eax, eax
mov dword [ebp - 0x460], 0
xorps xmm0, xmm0
mov dword [ebp - 0x45c], 7
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x448], eax
movups xmmword [ebp - 0x470], xmm0
mov word [ebp - 0x470], ax
lea edx, [ecx + 2]
movups xmmword [ebp - 0x458], xmm0
mov dword [ebp - 0x444], 7
movups xmmword [ebp - 0x440], xmm0
mov word [ebp - 0x458], ax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402592
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.004019b0
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4025c0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x458]
call fcn.004019b0
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x490]
push 0x104
mov dword [ebp - 0x474], 0x104
call fcn.00401880
cmp dword [ebp - 0x47c], 8
lea ecx, [ebp - 0x474]
push ecx
push dword [ebp - 0x474]
lea eax, [ebp - 0x490]
cmovae eax, dword [ebp - 0x490]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x402666
push ecx
push dword [ebp - 0x474]
lea ecx, [ebp - 0x490]
call fcn.00402a80
lea edx, [ebp - 0x494]
mov dword [ebp - 0x494], 0
lea ecx, [ebp - 0x490]
call fcn.00401dc0
jmp 0x402689
cmp dword [ebp - 0x47c], 8
lea eax, [ebp - 0x490]
mov dword [ebp - 0x480], 0
cmovae eax, dword [ebp - 0x490]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x42c]
cmp ecx, 8
jb 0x4026d0
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4026c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402789
push ecx
push edx
call fcn.004205b6
add esp, 8
movups xmm0, xmmword [ebp - 0x490]
mov ecx, dword [edi + 4]
xor eax, eax
mov word [ebp - 0x490], ax
lea eax, [ebp - 0x470]
movups xmmword [ebp - 0x440], xmm0
push eax
movq xmm0, qword [ebp - 0x480]
movq qword [ebp - 0x430], xmm0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 7
cmp ecx, dword [edi + 8]
je 0x402725
call fcn.00403010
add dword [edi + 4], 0x48
jmp 0x40272d
push ecx
mov ecx, edi
call fcn.00402e30
lea ecx, [ebp - 0x470]
call fcn.004027a0
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.DLL_FindNextVolumeW]
test eax, eax
jne 0x402460
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.DLL_FindVolumeClose]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420573
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00420709
call fcn.0042552f
int3