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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x500
mov eax, dword [0x478050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
push edi
mov dword [ebp - 0x438], ebx
push 0x208
push eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x44c], esi
call fcn.0044a860
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x434], eax
cmp eax, 0xffffffff
jne 0x445504
push 2
pop edi
push edi
call fcn.004022d0
pop ecx
test al, al
je 0x4454d4
push edi
push 0xa8
push str.d:webapps_b_build_slave_repo_build_srcwow_basewinwow_machine_info_utils_win.cc
lea ecx, [ebp - 0x500]
mov ebx, edi
call fcn.00402360
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.FindFirstVolume_failed_with_error_code:
push eax
call fcn.00406ff0
pop ecx
pop ecx
mov ecx, eax
call fcn.00403770
mov esi, dword [ebp - 0x44c]
test bl, 2
je 0x4454e4
lea ecx, [ebp - 0x500]
call fcn.00402420
lea eax, [ebp - 0x444]
mov ecx, esi
push eax
call fcn.0044451d
lea ecx, [ebp - 0x444]
call fcn.0044604d
mov eax, esi
jmp 0x4457cb
mov ax, word [0x471f78]
mov word [ebp - 0x414], ax
xor eax, eax
push 0x206
push eax
lea eax, [ebp - 0x412]
push eax
call fcn.0044a860
mov esi, dword [ebp - 0x434]
add esp, 0xc
push 2
pop edi
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [ebp - 0x450]
jne 0x44553a
sub ecx, edx
sar ecx, 1
cmp ecx, 5
jb 0x445721
push 0x5c
pop eax
cmp word [ebp - 0x20c], ax
jne 0x445721
cmp word [ebp - 0x20a], ax
jne 0x445721
cmp word [ebp - 0x208], 0x3f
jne 0x445721
cmp word [ebp - 0x206], ax
jne 0x445721
cmp word [ebp + ecx*2 - 0x20e], ax
jne 0x445721
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0044a860
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x448]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x445690
xor eax, eax
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x448], eax
jbe 0x445657
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x445655
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402e20
lea eax, [ebp - 0x42c]
or ebx, 8
push eax
call fcn.004458f4
pop ecx
test al, al
jne 0x445655
xor ecx, ecx
lea eax, [ebp - 0x438]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x445655
mov byte [ebp - 0x42d], 1
xor eax, eax
jmp 0x44565d
xor eax, eax
mov byte [ebp - 0x42d], al
test bl, 8
je 0x445673
push eax
push 1
lea ecx, [ebp - 0x42c]
and ebx, 0xfffffff7
call fcn.004046c0
cmp byte [ebp - 0x42d], 0
je 0x4456ed
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x444]
call fcn.00446076
jmp 0x4456ed
push edi
call fcn.004022d0
pop ecx
test al, al
je 0x4456d4
push edi
push 0xc8
push str.d:webapps_b_build_slave_repo_build_srcwow_basewinwow_machine_info_utils_win.cc
lea ecx, [ebp - 0x500]
or ebx, 0x10
call fcn.00402360
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.GetVolumePathNamesForVolumeName_failed_with_error_code:
push eax
call fcn.00406ff0
pop ecx
pop ecx
mov ecx, eax
call fcn.00403770
test bl, 0x10
je 0x4456e7
lea ecx, [ebp - 0x500]
and ebx, 0xffffffef
call fcn.00402420
mov esi, dword [ebp - 0x434]
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0044a860
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x445531
jmp 0x445777
push edi
call fcn.004022d0
pop ecx
test al, al
je 0x445764
push edi
push 0xb6
push str.d:webapps_b_build_slave_repo_build_srcwow_basewinwow_machine_info_utils_win.cc
lea ecx, [ebp - 0x500]
or ebx, 4
call fcn.00402360
lea ecx, [ebp - 0x20c]
add eax, 8
push ecx
push str.FindFirstVolume_FindNextVolume_returned_a_bad_path:
push eax
call fcn.00406ff0
pop ecx
pop ecx
push eax
call fcn.00402be0
pop ecx
pop ecx
test bl, 4
je 0x445777
lea ecx, [ebp - 0x500]
and ebx, 0xfffffffb
call fcn.00402420
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
push dword [ebp - 0x450]
push dword [ebp - 0x440]
push dword [ebp - 0x444]
call fcn.004444fd
add esp, 0xc
test bl, 0x20
je 0x4457a8
lea ecx, [ebp - 0x500]
call fcn.00402420
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x444]
push eax
call fcn.0044451d
lea ecx, [ebp - 0x444]
call fcn.0044604d
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447880
mov esp, ebp
pop ebp
ret