Function at 0x434c30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x604958
mov eax, dword fs:[0]
push eax
sub esp, 0xa8c
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0xa88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xaa0]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x24], esi
cmp dword [esi + 0xc], ebx
jbe 0x434c7e
call fcn.005c475a
mov edi, dword [esi + 0xc]
mov ebp, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x434c8d
call fcn.005c475a
mov eax, dword [esi]
push ebx
push ebp
push edi
push eax
lea edi, [esp + 0x38]
call fcn.004464a0
lea eax, [esp + 0x29c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x29c], 0
lea esi, [esp + 0x29c]
je 0x434ec4
mov ebx, 1
lea ebx, [ebx]
mov edx, dword [0x728f58]
mov eax, dword [edx + 0xc]
mov ecx, 0x728f58
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0xaa8], ebx
push esi
push 0x6d0bac
lea edi, [esp + 0x20]
call fcn.0042a2d0
mov ebp, dword [esp + 0x20]
add esp, 8
cmp dword [ebp - 4], ebx
jle 0x434d19
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, edi
push edx
call fcn.0040de10
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x434e74
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c8], 0x10
mov dword [esp + 0x1cc], ebx
xor eax, eax
jmp 0x434d50
movzx ecx, word [eax + 0x6ca128]
mov word [esp + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x434d50
push 0xc6
lea ecx, [esp + 0x1da]
xor eax, eax
push edi
push ecx
mov word [esp + 0x1e0], ax
call fcn.005c8fb0
add esp, 0xc
push edi
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
push 0x64
lea eax, [esp + 0x1ec]
push eax
push ebp
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x434e74
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1d0], edi
mov edi, esp
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], esp
mov dword [esp + 0x30], edi
call fcn.0040fb70
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0xab0], 3
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
lea ecx, [esp + 0x1e4]
call fcn.0040b990
mov byte [esp + 0xab4], 4
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xab8], bl
call fcn.00434ef0
add esp, 0x10
mov edi, eax
mov byte [esp + 0xaa8], 5
mov eax, dword [edi]
sub eax, 0x10
cmp dword [eax + 0xc], ebx
jle 0x434e28
mov eax, dword [eax + 4]
push eax
push edi
call fcn.0040de10
mov eax, dword [edi]
lea edx, [esp + 0x38]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x434e30
mov byte [esp + 0xaa8], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434e66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
call fcn.00443bf0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434e80
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov dword [esp + 0xaa8], 0xffffffff
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434eba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi], 0
jne 0x434cd0
mov ecx, dword [esp + 0xaa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa88]
xor ecx, esp
call fcn.005c397a
add esp, 0xa98
ret