Function at 0x10024fec
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e7c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10025a17
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0x71177e8e
mov dword [ebp - 0x3c], 0x96840eb4
mov dword [ebp - 0x114], 0x82b
mov dword [ebp - 0x40], 0x6d23205e
mov dword [ebp - 0xb4], 4
mov dword [ebp - 0x168], 0xffffffff
mov dword [ebp - 0x17c], 5
mov dword [ebp - 0x184], 0xfffffff8
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x194], 0xffffffff
mov dword [ebp - 0x19c], 0xd7e6de11
mov dword [ebp - 0x188], 0x43ca3807
push 1
lea ecx, [ebp - 0x1bc]
call fcn.10014de1
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x100250ad
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100250c9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1bc]
call fcn.10014e7f
mov dword [eax], 0xfffffff8
jmp 0x100250a6
mov dword [ebp - 0x14], 0
jmp 0x100250d9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100250ef
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x148], 1
jmp 0x100250d2
mov dword [ebp - 0x20], 0xffffffe5
jmp 0x100250ff
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe3
je 0x1002546b
mov dword [ebp - 0x4c], 0xffff
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0x44], 0xf9e6
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0x158], 0xab81d4b4
mov dword [ebp - 0x118], 0xc9ee5212
mov dword [ebp - 0x1c0], 3
push 2
lea ecx, [ebp - 0x130]
call fcn.10014de1
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
jmp 0x1002516a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10025183
push dword [ebp - 0x34]
lea ecx, [ebp - 0x130]
call fcn.10014e7f
and dword [eax], 0
jmp 0x10025163
cmp dword [ebp - 0x3c], 0
jne 0x1002518d
cmp dword [ebp - 0x20], 0
cmp dword [ebp - 0x4c], 0x68906353
jne 0x100251a2
mov dword [ebp - 0x104], 1
jmp 0x100251a9
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x3c]
add eax, 7
cmp dword [ebp - 0x3c], eax
jne 0x100251c9
mov dword [ebp - 0xc0], 1
jmp 0x100251d0
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
sub eax, 0x7f3c88fe
jne 0x100251e4
cmp dword [ebp - 0x114], 0
cmp dword [ebp - 0xf0], 0xffff
ja 0x100251f6
cmp dword [ebp - 0x20], 0
jne 0x10025202
cmp dword [ebp - 0x44], 0
jne 0x10025202
and dword [ebp - 0x5c], 0
jmp 0x10025209
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x5c], eax
jne 0x1002521d
mov dword [ebp - 0xdc], 1
jmp 0x10025224
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0xdc]
cmp eax, 1
jae 0x1002523c
mov dword [ebp - 0x64], 1
jmp 0x10025240
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x1002525d
xor eax, eax
inc eax
jne 0x1002525d
and dword [ebp - 0x6c], 0
jmp 0x10025264
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x6c], eax
jle 0x10025278
mov dword [ebp - 0xc4], 1
jmp 0x1002527f
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xe9843c6b
jae 0x10025294
mov dword [ebp - 0x74], 1
jmp 0x10025298
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x74], eax
jl 0x100252ac
mov dword [ebp - 0xac], 1
jmp 0x100252b3
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xac]
cmp eax, 0xfffffffc
jl 0x100252ca
mov dword [ebp - 0x7c], 1
jmp 0x100252ce
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
ja 0x100252e6
mov dword [ebp - 0xd4], 1
jmp 0x100252ed
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xfff7
jb 0x10025305
mov dword [ebp - 0x84], 1
jmp 0x1002530c
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xd518
jne 0x10025415
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0xfc], 0x745c5bb0
mov dword [ebp - 0x190], 0xfffffffa
push 1
lea ecx, [ebp - 0x1ac]
call fcn.10014de1
mov byte [ebp - 4], 2
mov dword [ebp - 0x14c], 0xf514fc6b
mov dword [ebp - 0x28], 0
jmp 0x10025371
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1002538d
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1ac]
call fcn.10014e7f
mov dword [eax], 0x4911ccfe
jmp 0x1002536a
push 0
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100269c9
add esp, 0xc
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x148]
mov dword [ebp - 0xe4], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x148]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x148], eax
cmp dword [ebp - 0xe4], 1
jge 0x100253e2
mov dword [ebp - 0x8c], 1
jmp 0x100253e9
and dword [ebp - 0x8c], 0
mov esi, dword [ebp - 0x8c]
sub esi, dword [ebp - 0xfc]
push 1
lea ecx, [ebp - 0x130]
call fcn.10014e7f
mov dword [eax], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ac]
call fcn.10014e63
jmp 0x10025457
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1002543a
push 0x8fb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 1
lea ecx, [ebp - 0x130]
call fcn.10014e7f
mov dword [eax], 0x730a04a
mov dword [ebp - 0x118], 0x730a04a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.10014e63
jmp 0x100250f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1bc]
call fcn.10014e63
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x48], 0
jmp 0x100254a5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x48], eax
jge 0x10025a15
push 2
lea ecx, [ebp - 0x124]
call fcn.10014de1
mov dword [ebp - 4], 3
mov dword [ebp - 0x60], 0x971867b8
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x198], 1
mov dword [ebp - 0xcc], 0xd3672969
mov dword [ebp - 0x50], 0xf49c23ed
mov dword [ebp - 0x18], 0
jmp 0x10025511
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002552d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x124]
call fcn.10014e7f
mov dword [eax], 0x65683c8f
jmp 0x1002550a
mov dword [ebp - 0x18], 0
jmp 0x1002553d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10025553
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1cc], 0xba47c9d5
jmp 0x10025536
push 1
lea ecx, [ebp - 0x124]
call fcn.10014e7f
mov esi, eax
push 0
lea ecx, [ebp - 0x124]
call fcn.10014e7f
mov eax, dword [eax]
add eax, 0xddbc
cmp dword [esi], eax
je 0x10025583
mov dword [ebp - 0x70], 1
jmp 0x10025587
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0x50], 0
jne 0x100255a9
cmp dword [ebp - 0x60], 0
jne 0x100255a9
and dword [ebp - 0x94], 0
jmp 0x100255b3
mov dword [ebp - 0x94], 1
push 1
lea ecx, [ebp - 0x124]
call fcn.10014e7f
mov eax, dword [eax]
cmp eax, dword [ebp - 0x94]
jl 0x100255d6
mov dword [ebp - 0xbc], 1
jmp 0x100255dd
and dword [ebp - 0xbc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1cc]
cmp dword [ebp - 0xbc], eax
je 0x100255fd
mov dword [ebp - 0x9c], 1
jmp 0x10025604
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xfffa
jbe 0x10025619
mov dword [ebp - 0x58], 1
jmp 0x1002561d
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x50], eax
jne 0x10025634
mov dword [ebp - 0x68], 1
jmp 0x10025638
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
sub eax, 0x3380ee91
mov ecx, dword [ebp - 0x70]
sub ecx, eax
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1cc], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.10014e63
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x10025676
mov dword [ebp - 0x78], 1
jmp 0x1002567a
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x10025699
mov dword [ebp - 0x80], 1
jmp 0x1002569d
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x100256bf
mov dword [ebp - 0x88], 1
jmp 0x100256c6
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x178], 0xffffffff
mov dword [ebp - 0x1d0], 0xa76aabec
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x1a0], 0x8adae8c9
push 3
lea ecx, [ebp - 0x1dc]
call fcn.10014de1
mov dword [ebp - 4], 4
mov dword [ebp - 0x90], 0xb76d
push 1
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.10024ec7
add esp, 0xc
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.10014e63
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x10025782
push 0x4000
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push 0x64b7
push 0x57bb
call fcn.100214b6
pop ecx
pop ecx
call eax
jmp 0x10025495
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x98], 0xfffffff6
mov dword [ebp - 0xc8], 7
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0x2c], 0
jmp 0x100257b7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x100257cd
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x13c], 0xffffffff
jmp 0x100257b0
mov dword [ebp - 0x1c], 2
jmp 0x100257dd
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002596b
mov dword [ebp - 0xa0], 0
push 3
lea ecx, [ebp - 0x110]
call fcn.10014de1
mov dword [ebp - 4], 5
mov dword [ebp - 0x30], 0
jmp 0x10025815
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x10025831
push dword [ebp - 0x30]
lea ecx, [ebp - 0x110]
call fcn.10014e7f
mov dword [eax], 0xaf87
jmp 0x1002580e
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x13c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x13c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0xa0], 0
mov esi, dword [ebp - 0xa0]
push 1
lea ecx, [ebp - 0x110]
call fcn.10014e7f
cmp esi, dword [eax]
jne 0x1002589d
mov dword [ebp - 0xa8], 1
jmp 0x100258a4
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 1
jbe 0x100258b9
mov dword [ebp - 0xb0], 1
jmp 0x100258c0
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0xb0]
cmp dword [ebp + eax*4 - 0x13c], ecx
jne 0x100258e1
mov dword [ebp - 0xb8], 1
jmp 0x100258e8
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 1
jge 0x100258fa
mov dword [ebp - 0x54], 1
jmp 0x100258fe
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc8], eax
mov esi, dword [ebp - 0xc8]
push 0
lea ecx, [ebp - 0x110]
call fcn.10014e7f
cmp esi, dword [eax]
jg 0x1002592a
mov dword [ebp - 0xd0], 1
jmp 0x10025931
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x10025957
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10014e63
jmp 0x1002596b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10014e63
jmp 0x100257d6
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002598b
push 0x4307
push 0x7663
push 0
call fcn.10025a36
add esp, 0xc
lea eax, [ebp - 0xec]
push eax
push 0x4d09
push 1
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x316b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.10024f30
add esp, 0x20
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x10]
push 0
push 0x6c4c
push dword [ebp - 0x38]
call fcn.10029759
add esp, 0x14
cmp dword [ebp - 0xe0], 0
jbe 0x10025a10
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x100]
push dword [ebp - 0xe0]
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push 0x64b7
push 0x5afa
call fcn.100214b6
pop ecx
pop ecx
call eax
jmp 0x10025495
jmp 0x10025a27
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret