Function at 0x100277e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ec8e
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x1004f0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10021d40
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.1001c660
push eax
push 0x10043a04
mov ecx, dword [ebp + 8]
add ecx, 0x124
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.100033c0
push 1
push 0
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10021d40
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.1001c660
push eax
push 0x100432b4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.100033c0
mov ecx, dword [ebp + 0xc]
call fcn.1001c660
push eax
push 0x100432b4
mov ecx, dword [ebp + 8]
add ecx, 0x164
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c0], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x2d4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c8], 2
xorpd xmm0, xmm0
movlpd qword [ebp - 0x90], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0xb8], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x98], xmm0
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x98]
push ecx
push 2
push 0
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10021d40
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.1001c660
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x58]
call fcn.100033c0
cmp dword [ebp - 0xac], 0
je 0x10027a41
push 0
push 0x400
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.1003b3f0
mov ecx, eax
call fcn.1003b76e
mov edx, dword [ebp + 8]
movsd qword [edx + 0x2a8], xmm0
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x8c]
sbb ecx, dword [ebp - 0x94]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
cmp dword [ebp - 0xbc], 0
ja 0x100279c5
jb 0x100279b7
cmp dword [ebp - 0xc0], 0
jae 0x100279c5
xorpd xmm0, xmm0
movlpd qword [ebp - 0xa0], xmm0
jmp 0x100279e9
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x8c]
sbb eax, dword [ebp - 0x94]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
push 0
push 0x400
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.1003b3f0
mov ecx, eax
call fcn.1003b76e
mov eax, dword [ebp + 8]
movsd qword [eax + 0x2b0], xmm0
push 0
push 0x400
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.1003b3f0
mov ecx, eax
call fcn.1003b76e
mov eax, dword [ebp + 8]
movsd qword [eax + 0x2b8], xmm0
push str.CUsbDiskMethod::MakeNormalDeviceParam
lea ecx, [ebp - 0x40]
call fcn.10001d10
mov dword [ebp - 4], 0
push str.MusicUsbDeviceMgr.txt
lea ecx, [ebp - 0x28]
call fcn.10001d10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2d8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1001c660
push eax
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
push str.SerialNo:__s__Driver:__s__Type:_d_DEVICE_STORE:0_DEVICE_MP3:1_
lea ecx, [ebp - 0x40]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KwLog.dll_void___cdecl_YL_Log_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0x1c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100033c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100033c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003b334
mov esp, ebp
pop ebp
ret