Function at 0x4460a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4aeb68
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xfc], edi
mov ebp, dword [esp + 0x104]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [esp + 0xfc], edi
lea eax, [esp + 0x28]
push eax
push 0x64
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
lea esi, [esp + edi*2 + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x446315
mov edx, dword [0x4e799c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e799c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xfc], 1
test esi, esi
je 0x44626d
test esi, 0xffff0000
jne 0x446280
movzx esi, si
push esi
call fcn.00412938
mov edi, eax
add esp, 4
test edi, edi
je 0x44622d
mov ecx, esi
shr ecx, 4
inc ecx
movzx edx, cx
push 6
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44622d
push eax
push edi
mov eax, esi
call fcn.0041299b
mov edi, eax
add esp, 8
test edi, edi
je 0x44622d
movzx esi, word [edi]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x4461d2
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.00403ca6
mov ebx, dword [esp + 0x14]
movzx eax, word [edi]
lea ebp, [edi + 2]
cmp eax, 0xffffffff
jne 0x4461e7
push ebp
call fcn.0048a11b
add esp, 4
inc eax
add eax, eax
push eax
push ebp
lea edi, [esi + esi]
push edi
push ebx
call fcn.00489d63
add esp, 0x10
cmp eax, 0x50
ja case.0x446208.1
movzx ecx, byte [eax + 0x446394]
jmp dword [ecx*4 + 0x446384]
test esi, esi
jl case.0x446208.22
cmp esi, dword [ebx - 8]
jg case.0x446208.22
mov ebp, dword [esp + 0x20]
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [edi + ebx], dx
mov edi, dword [esp + 0x18]
mov dword [esp + 0xfc], 2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
cmp ecx, eax
jne 0x4462bf
mov edx, dword [ebp]
lea esi, [esp + 0x14]
cmp esi, edx
jb 0x446264
lea esi, [edx + eax*4]
lea edi, [esp + 0x14]
cmp edi, esi
jb case.0x446208.1
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x44629a
lea esi, [eax + 1]
jmp 0x4462a9
xor eax, eax
push eax
push esi
lea eax, [esp + 0x1c]
call fcn.0040a6dc
mov ebx, dword [esp + 0x14]
jmp 0x446231
push esi
call fcn.0048a11b
add esp, 4
push eax
push esi
lea eax, [esp + 0x1c]
call fcn.0040a6dc
mov ebx, dword [esp + 0x14]
jmp 0x446231
lea esi, [ecx + ecx]
test esi, esi
jl 0x4462ea
cmp esi, 0x1fffffff
ja 0x4462ea
push 4
push esi
push edx
call fcn.0048a2ca
add esp, 0xc
test eax, eax
je 0x4462ea
mov dword [ebp + 8], esi
mov dword [ebp], eax
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
lea eax, [ecx + eax*4]
mov byte [esp + 0xfc], 3
test eax, eax
je 0x4462df
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00444a60
mov byte [esp + 0xfc], 2
inc dword [ebp + 4]
mov dword [esp + 0xfc], 0
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x446311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
cmp edi, ebx
jae 0x44632d
lea esp, [esp]
cmp word [esp + edi*2 + 0x28], 0
je 0x44632d
inc edi
cmp edi, ebx
jb 0x446320
inc edi
mov dword [esp + 0x18], edi
cmp edi, ebx
jb 0x446122
mov eax, ebp
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.00489b1b
add esp, 0xec
ret
push 0x8007000e
call fcn.00403da7
push 0x80070057
call fcn.00403da7
push 0x80004005
call fcn.00403da7
mov edi, edi
punpckldq mm0, dword [eax + eax + 0x64]
arpl word [eax + eax + 110], ax
arpl word [eax + eax + 0x78], ax
arpl word [eax + eax], ax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3