Function at 0x403c00
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 0x44c520
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x480
mov eax, dword [0x46b074]
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.0043a370
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x490], eax
cmp eax, 0xffffffff
je 0x403fe1
nop
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403ca0
sub eax, edx
sar eax, 1
cmp word [ebp - 0x220], 0x5c
jne 0x403fd5
cmp word [ebp - 0x21e], 0x5c
jne 0x403fd5
cmp word [ebp - 0x21c], 0x3f
jne 0x403fd5
cmp word [ebp - 0x21a], 0x5c
jne 0x403fd5
lea esi, [eax*2 - 2]
cmp word [ebp + esi - 0x220], 0x5c
jne 0x403fd5
cmp esi, 0x208
jae 0x404001
xor eax, eax
push 0x208
push eax
mov word [ebp + esi - 0x220], ax
lea eax, [ebp - 0x428]
push eax
call fcn.0043a370
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 0x403fb5
xor eax, eax
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
lea edx, [ecx + 2]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403db0
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.00401b50
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403de0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.00401b50
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x104
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x48c], 0x104
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
call fcn.00403420
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x48c]
push ecx
push dword [ebp - 0x48c]
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x403e94
push 0
push dword [ebp - 0x48c]
lea ecx, [ebp - 0x440]
call fcn.00404260
lea ecx, [ebp - 0x440]
call fcn.004030a0
jmp 0x403eb7
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
mov dword [ebp - 0x430], 0
cmovae eax, dword [ebp - 0x440]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 0xffffffff
call fcn.00401970
movups xmm1, xmmword [ebp - 0x440]
xor eax, eax
movq xmm2, qword [ebp - 0x430]
mov word [ebp - 0x440], ax
mov eax, dword [edi + 4]
movups xmmword [ebp - 0x458], xmm1
mov dword [ebp - 0x430], 0
movq qword [ebp - 0x448], xmm2
mov dword [ebp - 0x42c], 7
cmp dword [edi + 8], eax
je 0x403f9b
movups xmm0, xmmword [ebp - 0x488]
xor ecx, ecx
mov dword [ebp - 0x444], 7
mov word [ebp - 0x488], cx
movups xmmword [eax], xmm0
mov dword [ebp - 0x448], ecx
movq xmm0, qword [ebp - 0x478]
movq qword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x470]
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 7
movups xmmword [eax + 0x18], xmm0
mov word [ebp - 0x470], cx
movq xmm0, qword [ebp - 0x460]
movq qword [eax + 0x28], xmm0
movups xmmword [eax + 0x30], xmm1
mov dword [ebp - 0x460], ecx
movq qword [eax + 0x40], xmm2
xor eax, eax
add dword [edi + 4], 0x48
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x458], ax
jmp 0x403faa
lea ecx, [ebp - 0x488]
push ecx
push eax
mov ecx, edi
call fcn.00404300
lea ecx, [ebp - 0x488]
call fcn.00404010
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x403c90
push dword [ebp - 0x490]
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.00422d0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00422e7d
int3