Function at 0x1002dd1c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002df9b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x1002df78
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
neg eax
cmp eax, 0xfffffffb
jl 0x1002de23
mov dword [ebp - 0x20], 1
jmp 0x1002de27
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 1
jae 0x1002de36
mov dword [ebp - 0x28], 1
jmp 0x1002de3a
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x9cd4
je 0x1002de4c
mov dword [ebp - 0x14], 1
jmp 0x1002de50
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xffffffff
jge 0x1002de5f
mov dword [ebp - 0x30], 1
jmp 0x1002de63
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jne 0x1002de7b
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1002de7b
and dword [ebp - 0x18], 0
jmp 0x1002de82
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push 2
pop eax
cmp eax, 0x4ddb
jge 0x1002de9d
mov dword [ebp - 0x1c], 1
jmp 0x1002dea1
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jle 0x1002deb2
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x1002dec1
mov eax, 0x75ff
test eax, eax
jne 0x1002dec1
and dword [ebp - 0x10], 0
jmp 0x1002dec8
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
je 0x1002dee6
mov dword [ebp - 0xc], 1
jmp 0x1002deea
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0xfffffff8
jne 0x1002df09
mov dword [ebp - 0x4c], 1
jmp 0x1002df0d
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
push 3
mov ecx, dword [ebp - 0x54]
call fcn.1001e97a
mov dword [eax], 0x6702e63
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0x6702e63
mov eax, 0x6702e63
cmp eax, 3
jb 0x1002df44
mov dword [ebp - 0x24], 1
jmp 0x1002df48
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 1
jne 0x1002df57
mov dword [ebp - 0x2c], 1
jmp 0x1002df5b
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jge 0x1002df6a
mov dword [ebp - 0x34], 1
jmp 0x1002df6e
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x1002df96
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1002df96
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1002e063
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1002e003
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x1002e001
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1002e063
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002e046
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x1002e063
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc4]
call fcn.1001e97a
or dword [eax], 0xffffffff
jmp 0x1002e03b
mov esp, ebp
pop ebp
ret