Function at 0x4416d0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af071
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x624394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x23c], esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x21c], 0
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x44174d
push 0x80004005
call fcn.004212c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x24c], xmm0
lea edi, [ebp - 0x218]
mov eax, dword [ebp - 0x248]
or ebx, 0xffffffff
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x240], eax
nop
cmp word [edi - 2], 0
jne 0x4417a1
cmp word [edi], 0
je 0x441999
push 0
push 0x61378c
lea ecx, [ebp - 0x21c]
call fcn.004211a0
mov ax, word [edi]
mov word [ebp - 0x220], ax
xor eax, eax
mov word [ebp - 0x21e], ax
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4417d0
sub eax, edx
lea ecx, [ebp - 0x21c]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004211a0
push ecx
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x250]
call fcn.00443f50
add esp, 4
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.004349f0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441838
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x21c]
add edi, 8
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 6
ja case.0x441853.3
movzx eax, byte [eax + 0x4419e0]
jmp dword [eax*4 + 0x4419d8]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je case.0x441853.0
push dword [ebp - 0x234]
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
push eax
call fcn.004419f0
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
lea ebx, [esi + 0x554]
push eax
mov ecx, ebx
call fcn.00436dd0
mov esi, eax
cmp esi, dword [ebx]
je 0x4418d3
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00434630
test al, al
je 0x441909
lea eax, [ebp - 0x21c]
push ecx
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x254]
push eax
push ecx
mov ecx, ebx
call fcn.00438140
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x258]
push eax
call fcn.00438200
mov esi, dword [ebp - 0x258]
push dword [ebp - 0x25c]
lea ecx, [esi + 0x14]
call fcn.004349f0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x248]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44193b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x234]
ja 0x441959
jb 0x441964
mov ecx, dword [ebp - 0x240]
cmp ecx, dword [ebp - 0x238]
jb 0x441964
mov esi, dword [ebp - 0x23c]
jmp case.0x441853.0
mov esi, dword [ebp - 0x23c]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 0x954]
call fcn.004349f0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x244], eax
jmp case.0x441853.0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4419bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dda5e
mov esp, ebp
pop ebp
ret