Function at 0x432dde
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], ebx
call fcn.00429ef2
lea ecx, [ebp - 0xc]
call fcn.0042460b
push ebx
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x80000000
call fcn.00421926
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x432ff2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042e332
test eax, eax
pop ecx
pop ecx
jle 0x432ff2
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x2a
push edi
push eax
sete byte [ebp - 1]
call fcn.0046176a
inc eax
pop ecx
inc eax
push eax
lea ecx, [ebp - 0xc]
call fcn.00424699
push 0x42b
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], ebx
call fcn.0042465d
cmp byte [ebp - 1], bl
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 0x20e]
mov word [ecx], bx
mov edi, eax
mov word [eax + 2], bx
mov word [eax], bx
je 0x432e95
push eax
push 0x324
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov eax, dword [ebp - 0xc]
jmp 0x432e9a
mov eax, dword [ebp - 0xc]
mov edi, eax
cmp word [eax], bx
je 0x432eb3
cmp word [eax + 2], 0x3a
jne 0x432eb3
mov word [eax + 4], 0x5c
mov eax, dword [ebp - 0xc]
mov word [eax + 6], bx
push 0xffffffffffffffff
push 0xffffffffffffffff
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerBitBucketVolume_
lea ecx, [ebp - 8]
call fcn.00409aca
push dword [ebp - 8]
call fcn.0046176a
pop ecx
mov dword [ebp - 0x18], eax
add eax, 0x20a
push eax
lea ecx, [ebp - 8]
call fcn.00424699
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp byte [ebp - 1], bl
je 0x432f0f
mov si, word [edi + 4]
push edi
mov word [edi + 4], bx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
mov word [edi + 4], si
jne 0x432fc3
mov esi, dword [ebp - 0x10]
push 0x208
push esi
push edi
call dword [0x48b130]
test eax, eax
jne 0x432f38
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x432f30
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x432fc3
push 0xa
push dword [ebp - 0x10]
push str._Volume
call fcn.004257a3
add esp, 0xc
test al, al
je 0x432f54
mov esi, dword [ebp - 0x10]
add esi, 0x14
push esi
call fcn.0046176a
lea eax, [esi + eax*2 - 2]
cmp word [eax], 0x5c
pop ecx
jne 0x432f68
mov word [eax], bx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
push 0x208
push esi
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push str.MaxCapacity
push dword [ebp - 8]
mov esi, 0x80000001
push esi
call fcn.00425503
add esp, 0x18
cmp eax, ebx
jne 0x432fa3
mov dword [ebp - 0x14], ebx
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.NukeOnDelete
push dword [ebp - 8]
push esi
call fcn.00425503
add esp, 0x18
cmp eax, ebx
jne 0x432fc3
mov dword [ebp - 0x14], ebx
cmp byte [ebp - 1], bl
je 0x432fdc
push edi
call fcn.0046176a
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
pop ecx
jne 0x432eee
lea ecx, [ebp - 0x10]
call fcn.00424686
lea ecx, [ebp - 8]
call fcn.00424686
mov esi, dword [ebp - 0x14]
pop edi
jmp 0x432ff7
mov esi, 0x80070057
lea ecx, [ebp - 0xc]
call fcn.00424686
mov eax, esi
pop esi
pop ebx
leave
ret 4