Function at 0x419820
Capabilities:
Enumerate disk volumes

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
mov esi, dword [esp + 0x274]
test esi, esi
push edi
je 0x41991d
lea eax, [esi*4]
push eax
mov dword [0x4b019c], esi
call fcn.00445590
add esp, 4
xor edi, edi
test esi, esi
mov dword [0x4b0194], eax
jle 0x41991d
mov edi, edi
mov ecx, dword [esp + 0x274]
mov eax, dword [ecx + edi*4]
movzx ebx, byte [eax]
test ebx, ebx
mov edx, dword [eax + 1]
mov ebp, dword [eax + 5]
mov dword [esp + 0x10], edx
jne 0x419883
mov dword [esp + 0x14], 0x29
mov eax, dword [esp + 0x14]
push eax
call fcn.00445590
mov edx, dword [esp + 0x14]
mov esi, eax
lea ecx, [esi + 5]
push ecx
push 1
push ebp
push edx
mov byte [esi], bl
call fcn.0047aca0
mov ebx, dword [esp + 0x288]
mov dword [esi + 1], eax
mov eax, dword [ebx + edi*4]
add esp, 0x14
cmp byte [eax], 0
jne 0x4198fe
mov edx, dword [eax + 0x11]
mov eax, dword [eax + 0xd]
lea ecx, [esi + 0xd]
push ecx
push 1
push edx
push eax
call fcn.0047aca0
mov dword [esi + 9], eax
mov dword [esi + 0x25], 0
mov ecx, dword [ebx + edi*4]
mov edx, dword [ecx + 0x1d]
mov dword [esi + 0x11], edx
mov eax, dword [ebx + edi*4]
mov ecx, dword [eax + 0x21]
mov dword [esi + 0x15], ecx
mov edx, dword [eax + 0x25]
mov dword [esi + 0x19], edx
mov eax, dword [ebx + edi*4]
mov ecx, dword [eax + 0x29]
mov dword [esi + 0x1d], ecx
mov edx, dword [eax + 0x2d]
add esp, 0x10
mov dword [esi + 0x21], edx
mov eax, dword [0x4b0194]
mov dword [eax + edi*4], esi
add edi, 1
cmp edi, dword [esp + 0x278]
jl 0x419860
mov esi, dword [esp + 0x278]
xor ebp, ebp
xor edi, edi
xor eax, eax
cmp esi, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebp
mov dword [0x4b01ac], eax
mov dword [esp + 0x14], ebp
jle 0x419b08
mov edi, dword [esp + 0x274]
mov dword [esp + 0x1c], edi
jmp 0x419950
mov ecx, dword [edi]
cmp byte [ecx], 0
jne 0x419ae9
mov eax, ecx
mov edx, dword [eax + 5]
mov eax, dword [eax + 1]
push 0
push 1
push edx
push eax
call fcn.0047c9e0
add esp, 0x10
push 0x104
lea ecx, [esp + 0x6c]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov ebx, eax
push esi
mov dword [esp + 0x2c], ebx
call fcn.004455d0
add esp, 4
cmp ebx, 0xffffffff
je 0x419ae2
lea esp, [esp]
cmp word [esp + 0x68], 0
lea eax, [esp + 0x68]
je 0x4199b9
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x4199b0
lea ecx, [esp + 0x68]
lea edx, [esp + 0x24]
push edx
sub eax, ecx
push 1
sar eax, 1
push eax
mov edx, ecx
push edx
call fcn.0047bbc0
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push 1
mov ecx, eax
mov eax, dword [edi]
push edx
mov edx, dword [eax + 1]
push ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 5]
push ecx
push edx
call fcn.0047b970
add esp, 0x28
xor ebx, ebx
mov edi, eax
mov dword [esp + 0x10], ebx
mov edi, edi
mov eax, dword [esp + 0x274]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 5]
mov edx, dword [eax + 1]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push edi
call fcn.004036d0
add esp, 0x10
test eax, eax
jne 0x419a9a
push eax
push edi
call fcn.00449bd0
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x419a9a
lea ecx, [esp + 0x34]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x419a93
push 0x10
call fcn.00445590
mov dword [eax + 4], ebp
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
xor edx, edx
xor ebp, ebp
or edx, ebx
or ecx, ebp
add esp, 4
cmp dword [esp + 0x18], ebp
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
je 0x419a76
mov edx, dword [esp + 0x20]
mov dword [edx], eax
jmp 0x419a7a
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [eax], 0
add dword [0x4b01ac], 1
mov dword [esp + 0x20], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 1
cmp ebx, dword [esp + 0x278]
mov dword [esp + 0x10], ebx
jl 0x419a00
push edi
call fcn.004455d0
mov eax, dword [esp + 0x34]
push eax
call fcn.004455d0
mov edx, dword [esp + 0x30]
add esp, 8
push 0x104
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
test eax, eax
mov edi, dword [esp + 0x1c]
jne 0x4199a0
mov esi, dword [esp + 0x278]
add ebp, 1
add edi, 4
cmp ebp, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], edi
jl 0x419950
mov eax, dword [0x4b01ac]
mov edi, dword [esp + 0x18]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
push eax
call fcn.00445590
add esp, 4
test edi, edi
mov dword [0x4b0174], eax
mov eax, edi
je 0x419b5f
xor ecx, ecx
jmp 0x419b30
mov edx, dword [eax + 4]
mov esi, dword [0x4b0174]
mov dword [ecx + esi + 8], edx
mov edx, dword [eax + 8]
mov esi, dword [0x4b0174]
mov dword [ecx + esi], edx
mov edx, dword [eax + 0xc]
mov esi, dword [0x4b0174]
mov dword [ecx + esi + 4], edx
mov eax, dword [eax]
add ecx, 0xc
test eax, eax
jne 0x419b30
mov eax, dword [0x4b01ac]
mov ecx, dword [0x4b0174]
push 0x406f40
push 0xc
push eax
push ecx
call fcn.0048a610
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret