Function at 0x473a10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d843
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5cb464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x1a
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.0048b210
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004cc090
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x58fb74
lea ecx, [ebp - 0x238]
mov esi, eax
movups xmmword [ebp - 0x238], xmm0
call fcn.00482a80
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
sub esp, 0x68
mov eax, esp
mov dword [ebp - 0x254], esp
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov byte [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov byte [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov byte [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov byte [eax + 0x54], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
sub esp, 0x68
mov byte [ebp - 4], 2
mov ecx, esp
lea eax, [ebp - 0x238]
push 0
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x218]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00482cc0
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
call fcn.00481450
mov ecx, dword [ebp - 0x238]
add esp, 0xdc
test ecx, ecx
je 0x473bd8
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x473bd8
push 0
push dword [ebp - 0x238]
call fcn.00487a40
add esp, 8
mov dword [ebp - 0x238], 0
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x473c05
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x473c05
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov byte [ebp - 0x254], 0
lea eax, [ebp - 0x250]
push dword [ebp - 0x254]
mov byte [ebp - 4], 0
push dword [ebp - 0x220]
mov dword [ebp - 0x250], 0
push dword [ebp - 0x224]
push eax
call fcn.00482280
add esp, 0x10
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x224]
push dword [ebp - 0x220]
push dword [ebp - 0x250]
push eax
call fcn.0048cf30
mov edi, dword [ebp - 0x220]
mov esi, dword [ebp - 0x224]
mov ecx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x250], edi
cmp esi, edi
je 0x473d6e
nop dword [eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x473c8a
mov eax, dword [esi]
push eax
call ecx
cmp eax, 3
jne 0x473c9f
mov ecx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add esi, 0x28
cmp esi, edi
jne 0x473c80
mov ecx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp esi, edi
je 0x473d6e
lea edi, [esi + 0x28]
cmp edi, dword [ebp - 0x250]
je 0x473d6e
nop dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x473cca
mov eax, dword [edi]
push eax
call ecx
cmp eax, 3
jne 0x473d58
cmp esi, edi
je 0x473d43
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x473d13
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x473d09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473fce
mov eax, edx
push ecx
push eax
call fcn.0046956a
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
add esi, 0x28
add edi, 0x28
cmp edi, dword [ebp - 0x250]
je 0x473d6e
mov ecx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x473cc0
push dword [ebp - 0x220]
lea eax, [ebp - 0x254]
push esi
push eax
lea ecx, [ebp - 0x224]
call fcn.0048cf30
mov edi, dword [ebp - 0x220]
mov esi, dword [ebp - 0x224]
mov dword [ebp - 0x250], edi
cmp esi, edi
je 0x473eda
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x473dab
mov eax, dword [esi]
movzx eax, word [eax]
lea ecx, [ebp - 0x24c]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x24c], xmm0
movups xmmword [ebp - 0x23c], xmm0
movq qword [ebp - 0x22c], xmm0
call fcn.004920d0
add esp, 8
test eax, eax
je 0x473de4
cmp dword [ebp - 0x230], 7
je 0x473deb
add esi, 0x28
cmp esi, edi
jne 0x473da1
cmp esi, edi
je 0x473eda
lea edi, [esi + 0x28]
cmp edi, dword [ebp - 0x250]
je 0x473eda
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x473e0c
mov eax, dword [edi]
movzx eax, word [eax]
lea ecx, [ebp - 0x24c]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x24c], xmm0
movups xmmword [ebp - 0x23c], xmm0
movq qword [ebp - 0x22c], xmm0
call fcn.004920d0
add esp, 8
test eax, eax
je 0x473e49
cmp dword [ebp - 0x230], 7
je 0x473ecb
cmp esi, edi
je 0x473eb6
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x473e86
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x473e7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473fce
mov eax, edx
push ecx
push eax
call fcn.0046956a
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
add esi, 0x28
add edi, 0x28
cmp edi, dword [ebp - 0x250]
jne 0x473e02
push dword [ebp - 0x220]
lea eax, [ebp - 0x254]
push esi
push eax
lea ecx, [ebp - 0x224]
call fcn.0048cf30
mov byte [ebp - 0x254], 0
lea eax, [ebp - 0x250]
push dword [ebp - 0x254]
mov dword [ebp - 0x250], 0
push dword [ebp - 0x220]
push dword [ebp - 0x224]
push eax
call fcn.004820e0
add esp, 0x10
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x224]
push dword [ebp - 0x220]
push dword [ebp - 0x250]
push eax
call fcn.0048cf30
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x224]
mov dword [ebp - 0x254], eax
cmp esi, eax
je 0x473fa1
mov eax, dword [ebp + 0xc]
nop dword [eax]
mov edi, dword [eax + 4]
push esi
cmp dword [eax + 8], edi
je 0x473f8b
mov ecx, edi
call fcn.0041a330
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
add dword [eax + 4], 0x28
jmp 0x473f96
push edi
mov ecx, eax
call fcn.0047d130
mov eax, dword [ebp + 0xc]
add esi, 0x28
cmp esi, dword [ebp - 0x254]
jne 0x473f60
lea ecx, [ebp - 0x224]
call fcn.00483e80
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046997a
mov esp, ebp
pop ebp
ret 8
call fcn.004d5908
int3