Function at 0x425b90
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7428
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x540c80]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x540c80]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x28], edx
mov ebx, ecx
mov ecx, dword [0x545d90]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 7
idiv ecx
mov esi, 1
cmp edx, 2
jne 0x425c03
call fcn.004aff67
mov ecx, dword [0x545d90]
cmp ecx, eax
jne 0x425c03
dec ecx
mov dword [0x545d90], ecx
call fcn.00424d30
xor ecx, ecx
test al, al
push 0x522580
cmovne esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x425f53
push 0x5225a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x425f53
push 0
push 0
push 0
push esi
push 0x5225a0
call eax
mov edi, eax
test edi, edi
je 0x425f53
mov ecx, dword [esp + 0x34]
and ecx, 0xffffff00
mov dword [esp + 0x34], ecx
and ecx, 0xfffffeff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x78], 5
push 0x5225b4
lea ecx, [esp + 0x18]
call fcn.0042f530
mov byte [esp + 0x78], 6
lea eax, [esp + 0x14]
push eax
push ecx
push 0x5225b8
lea ecx, [esp + 0x38]
call fcn.004302d0
mov ecx, eax
call fcn.0042f8d0
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x14]
call fcn.0042f800
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.0041cf00
mov byte [esp + 0x78], 7
push eax
lea ecx, [esp + 0x18]
call fcn.0042f5e0
mov byte [esp + 0x78], 8
lea eax, [esp + 0x14]
push eax
push ecx
push 0x5225d4
lea ecx, [esp + 0x38]
call fcn.004302d0
mov ecx, eax
call fcn.0042f8d0
mov byte [esp + 0x78], 7
lea ecx, [esp + 0x14]
call fcn.0042f800
mov byte [esp + 0x78], 5
cmp dword [esp + 0x64], 0x10
jb 0x425d12
push dword [esp + 0x50]
call fcn.004af5b5
add esp, 4
push 0x5225e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.0042f530
mov byte [esp + 0x78], 9
push ecx
push 0x5225c0
lea ecx, [esp + 0x34]
call fcn.004302d0
mov esi, eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0042ff80
push eax
mov ecx, esi
call fcn.0042fff0
add esp, 4
mov ecx, eax
call fcn.0042f8d0
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x14]
call fcn.0042f800
push 0x522604
lea ecx, [esp + 0x18]
call fcn.0042f530
mov byte [esp + 0x78], 0xa
lea eax, [esp + 0x14]
push eax
push ecx
push 0x5225d8
lea ecx, [esp + 0x38]
call fcn.004302d0
mov ecx, eax
call fcn.0042f8d0
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x14]
call fcn.0042f800
push 0x522614
lea ecx, [esp + 0x18]
call fcn.0042f530
mov byte [esp + 0x78], 0xb
lea eax, [esp + 0x14]
push eax
push ecx
push 0x5225e8
lea ecx, [esp + 0x38]
call fcn.004302d0
mov ecx, eax
call fcn.0042f8d0
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x14]
call fcn.0042f800
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x50]
call fcn.0041cf00
mov byte [esp + 0x78], 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.0042f5e0
mov byte [esp + 0x78], 0xd
lea eax, [esp + 0x14]
push eax
push ecx
push 0x522608
lea ecx, [esp + 0x38]
call fcn.004302d0
mov ecx, eax
call fcn.0042f8d0
mov byte [esp + 0x78], 0xc
lea ecx, [esp + 0x14]
call fcn.0042f800
mov byte [esp + 0x78], 5
cmp dword [esp + 0x64], 0x10
jb 0x425e52
push dword [esp + 0x50]
call fcn.004af5b5
add esp, 4
mov ecx, dword [0x545d90]
mov dword [esp + 0x64], 0xf
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0x16
idiv ecx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
cmp edx, 0x15
jne 0x425e90
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push 0x522638
lea ecx, [esp + 0x18]
call fcn.0042f530
mov byte [esp + 0x78], 0xe
lea eax, [esp + 0x14]
push eax
push ecx
push 0x522640
lea ecx, [esp + 0x38]
call fcn.004302d0
mov ecx, eax
call fcn.0042f8d0
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x14]
call fcn.0042f800
sub esp, 8
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
push eax
mov edx, edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x38], 0
call fcn.00427740
add esp, 0x10
mov byte [esp + 0x78], 0xf
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
push 0x522658
lea ecx, [esp + 0x44]
call fcn.004302d0
cmp byte [eax + 8], 5
jne 0x425f2e
push ecx
push 0x522650
lea ecx, [esp + 0x44]
call fcn.004302d0
mov ecx, eax
call fcn.0042ff10
test al, al
je 0x425f2e
mov bl, 1
jmp 0x425f30
xor bl, bl
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x3c]
call fcn.0042f800
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.0042f800
mov al, bl
jmp 0x425f55
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004af5ba
mov esp, ebp
pop ebp
ret