Function at 0x46b6f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4924ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x888
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 0x74]
mov edx, 0xfffffed6
mov dword [esp + 0x34], ecx
lea eax, [ecx + 0x12a]
mov esi, edi
sub edx, ecx
mov ebp, 0x800000
lea ebx, [ebx]
movzx ebx, byte [edx + eax + 0x4aa740]
mov byte [eax - 0x1a], bl
movzx ebx, byte [edx + eax + 0x4aa780]
mov byte [eax], bl
mov byte [eax - 0x4e], 0
mov byte [eax - 0x34], 0
mov byte [eax + 0x1a], 0
add eax, 1
mov dword [esi - 0x68], ebp
mov dword [esi], 0x100000
lea ebx, [edx + eax]
add esi, 4
cmp ebx, 0x1a
jl 0x46b730
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x30], edi
lea eax, [ecx + 0xdc]
mov edi, ecx
sub edi, eax
add edi, 0xf6
mov dword [esp + 0x44], edi
lea esi, [ecx + 0x144]
mov edx, 0x4aa660
sub edx, eax
sub eax, esi
mov edi, 0x41
xor ebx, ebx
sub edi, esi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x8a8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x46b7bf
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
lea esi, [ecx + 0x144]
add esi, ebx
add eax, esi
cmp byte [eax + edx], 0
mov dword [esp + 0x28], eax
je 0x46b9f9
push ebx
mov byte [eax], 1
call fcn.00412100
add esp, 4
test eax, eax
mov al, bl
je 0x46b923
add al, 0x41
push 1
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x3a
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
push 0
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x60]
push eax
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [esp + 0x40]
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [esp + 0x2c], 0
je 0x46bad1
push ebx
push 0
lea eax, [esp + 0x4a0]
push 0x400
push eax
call fcn.00443680
mov ecx, dword [esp + 0x34]
add ecx, esi
push ecx
lea edx, [esp + 0x4ac]
push edx
push str._s___c:_
lea eax, [esp + 0xb4]
push 0x400
push eax
mov byte [esi], 1
call fcn.0044e7a0
add esp, 0x24
lea ecx, [esp + 0x98]
push ecx
push 0xffffffffffffffff
push 0x455
push edi
call ebp
push eax
call fcn.004675b0
add esp, 0xc
push ebx
push eax
push 0x19a
push 0x455
push edi
call ebp
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
call fcn.004052f0
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x46bad1
push 0
lea edx, [esp + 0x5c]
push edx
push 0x38
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0x900f4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x46b917
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov byte [ecx + edx], 1
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov dword [eax - 0x68], ecx
mov dword [eax], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46bad1
add al, 0x41
mov byte [esp + 0x13], al
mov byte [esp + 0x14], al
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x19], 0x3a
mov byte [esp + 0x1a], 0x5c
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x46bad1
mov cl, byte [esp + 0x13]
push 1
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], 0x3a
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [esp + 0x2c], 0
jne 0x46bad1
mov ecx, dword [esp + 0x24]
mov byte [esi], 1
mov edx, dword [0x4aa7bc]
mov eax, dword [edx + 0x1bc]
add ecx, esi
push ecx
push eax
push str._s___c:_
lea ecx, [esp + 0xa4]
push 0x400
push ecx
call fcn.0044e7a0
add esp, 0x14
lea edx, [esp + 0x98]
push edx
push 0xffffffffffffffff
push 0x455
push edi
call ebp
push eax
call fcn.004675b0
add esp, 0xc
push ebx
push eax
jmp 0x46babd
mov al, bl
lea ecx, [esp + 0x20]
add al, 0x41
push ecx
mov byte [esp + 0x24], al
mov byte [esp + 0x25], 0x3a
mov byte [esp + 0x26], 0x5c
mov byte [esp + 0x27], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x46ba29
cmp eax, 2
jne 0x46bad1
mov edx, dword [esp + 0x24]
xor ecx, ecx
add edx, esi
cmp eax, 2
sete cl
push edx
mov byte [esi], 1
mov edx, dword [0x4aa7bc]
mov eax, dword [edx + ecx*4 + 0x1b8]
push eax
push str._s___c:_
add ecx, 0x6e
lea ecx, [esp + 0xa4]
push 0x400
push ecx
call fcn.0044e7a0
add esp, 0x14
push 0x455
push edi
call ebp
mov esi, eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8a4], eax
call fcn.00476850
mov eax, dword [esp + 0x3c]
push eax
push 0xffffffffffffffff
push 0x181
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x38]
mov esi, eax
mov dword [esp + 0x8a0], 0xffffffff
call fcn.00476730
push ebx
push esi
push 0x19a
push 0x455
push edi
call ebp
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
add dword [esp + 0x30], 4
add ebx, 1
cmp ebx, 0x1a
jl 0x46b7b3
push 0
push 0
push 0x186
push 0x455
push edi
call ebp
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x34]
call fcn.00468040
mov ecx, dword [esp + 0x898]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x894
ret 4