Function at 0x48e4a4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x48e4ac
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x48ed46
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0x50]
call fcn.0047fad4
mov edx, dword [ebp - 0x50]
lea eax, [esi + 0x30]
call fcn.00407124
lea eax, [ebp - 0x54]
call fcn.0047fb14
mov edx, dword [ebp - 0x54]
lea eax, [esi + 0x2c]
call fcn.00407124
cmp dword [esi + 0x1c], 0
jle 0x48e5b5
lea eax, [ebp - 0x58]
call fcn.0047fb78
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x14]
mov eax, dword [0x4b37fc]
call fcn.0048e0d4
lea eax, [ebp - 0x5c]
call fcn.0047fbcc
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x4b37fc]
call fcn.0048e0d4
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004071b0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [esi + 0x1c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
shrd eax, edx, 0x14
shr edx, 0x14
cmp edx, dword [esp + 4]
jne 0x48e568
cmp eax, dword [esp]
pop edx
pop eax
jae 0x48e570
jmp 0x48ecf6
pop edx
pop eax
jl 0x48ecf6
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004071b0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
mov eax, dword [esi + 0x1c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
shrd eax, edx, 0x14
shr edx, 0x14
cmp edx, dword [esp + 4]
jne 0x48e5ad
cmp eax, dword [esp]
pop edx
pop eax
jae 0x48e5b5
jmp 0x48ecf6
pop edx
pop eax
jl 0x48ecf6
lea eax, [ebp - 0x60]
call fcn.0047fc3c
mov edx, dword [ebp - 0x60]
lea eax, [esi + 0x2c]
call fcn.00407124
cmp byte [esi + 0x20], 0
je 0x48e5db
call fcn.004481cc
test al, al
je 0x48ecf6
lea eax, [ebp - 0x64]
call fcn.0047fc9c
mov edx, dword [ebp - 0x64]
lea eax, [esi + 0x2c]
call fcn.00407124
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x48e602
call fcn.00448740
cmp ebx, eax
jg 0x48ecf6
lea eax, [ebp - 0x68]
call fcn.0047fce8
mov edx, dword [ebp - 0x68]
lea eax, [esi + 0x2c]
call fcn.00407124
mov eax, dword [esi + 0x28]
call fcn.00408924
test eax, eax
jle 0x48e6a5
xor ebx, ebx
mov eax, dword [esi + 0x28]
call fcn.00408924
dec eax
test eax, eax
jl 0x48e688
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
mov eax, dword [esi + 0x28]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
lea edx, [ebp - 0x6c]
call fcn.0040f7ec
mov eax, dword [ebp - 0x6c]
call fcn.0048e404
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov edx, dword [0x4b37fc]
mov edx, dword [edx + 0x8c]
call fcn.00407884
sete al
call fcn.0048e498
pop ecx
test al, al
je 0x48e680
mov bl, 1
jmp 0x48e688
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x48e63f
test bl, bl
jne 0x48e6a5
lea eax, [esi + 0x30]
mov edx, dword [0x4b37fc]
mov edx, dword [edx + 0x8c]
call fcn.00407124
jmp 0x48ecf6
cmp word [ebp + 0xa], 0
jne 0x48e6b6
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], 0x48d9bc
lea eax, [ebp - 0x70]
call fcn.0047fd24
mov edx, dword [ebp - 0x70]
lea eax, [esi + 0x2c]
call fcn.00407124
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi]
call fcn.0040892c
test eax, eax
jl 0x48e743
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x74]
call fcn.0048e404
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.0044b048
call fcn.0048e498
pop ecx
test al, al
je 0x48e737
lea eax, [esi + 0x30]
mov edx, dword [esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407124
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x14], 0
je 0x48e743
jmp 0x48e73b
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x48e6e7
cmp byte [ebp - 0x39], 0
je 0x48e762
cmp byte [esi + 0x14], 0
je 0x48e762
lea eax, [ebp - 0x78]
call fcn.0047fd7c
mov edx, dword [ebp - 0x78]
lea eax, [esi + 0x30]
call fcn.00407124
cmp byte [ebp - 0x3a], 0
je 0x48e772
cmp byte [esi + 0x14], 0
je 0x48ecf6
cmp byte [ebp - 0x39], 0
je 0x48e782
cmp byte [esi + 0x14], 0
jne 0x48ecf6
lea eax, [ebp - 0x7c]
call fcn.0047fdb8
mov edx, dword [ebp - 0x7c]
lea eax, [esi + 0x2c]
call fcn.00407124
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 4]
call fcn.0040892c
test eax, eax
jl 0x48e92d
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x80]
call fcn.0048e404
pop ecx
mov dword [ebp - 0x24], 7
mov edi, 0x4ad670
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00407178
mov edx, dword [ebp - 0xc]
mov eax, dword [edi]
call fcn.00407ad8
mov ebx, eax
cmp ebx, 1
jle 0x48e8de
mov eax, dword [edi]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x48e828
mov eax, dword [ebp - 0x44]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x48e845
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x48e845
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00406474
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x48e859
mov eax, dword [ebp - 0x48]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x48e87b
mov eax, dword [ebp - 0x4c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
inc ecx
mov edx, dword [ebp - 0x44]
add edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004078ec
lea eax, [ebp - 0xc]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004078ec
push ebp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call dword [edi + 4]
call fcn.0048e498
pop ecx
test al, al
je 0x48e8d8
lea eax, [esi + 0x30]
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407124
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x15], 0
je 0x48e8ea
jmp 0x48e8ea
mov byte [ebp - 0x39], 0
jmp 0x48e8ea
add edi, 8
dec dword [ebp - 0x24]
jne 0x48e7e6
dec ebx
jg 0x48e921
push ebp
mov eax, dword [ebp - 4]
call fcn.00449c9c
call fcn.0048e498
pop ecx
test al, al
je 0x48e91d
lea eax, [esi + 0x30]
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407124
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x15], 0
je 0x48e92d
jmp 0x48e921
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x48e7b8
cmp byte [ebp - 0x39], 0
je 0x48e952
cmp byte [esi + 0x15], 0
je 0x48e952
lea eax, [ebp - 0x88]
call fcn.0047fe0c
mov edx, dword [ebp - 0x88]
lea eax, [esi + 0x30]
call fcn.00407124
cmp byte [ebp - 0x3a], 0
je 0x48e962
cmp byte [esi + 0x15], 0
je 0x48ecf6
cmp byte [ebp - 0x39], 0
je 0x48e972
cmp byte [esi + 0x15], 0
jne 0x48ecf6
lea eax, [ebp - 0x8c]
call fcn.0047fe48
mov edx, dword [ebp - 0x8c]
lea eax, [esi + 0x2c]
call fcn.00407124
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 8]
call fcn.0040892c
test eax, eax
jl 0x48ea25
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0x94]
push eax
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.00448b7c
mov eax, dword [ebp - 0x90]
call fcn.0048e404
pop ecx
push ebp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0044a74c
call fcn.0048e498
pop ecx
test al, al
je 0x48ea19
lea eax, [esi + 0x30]
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407124
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x16], 0
je 0x48ea25
jmp 0x48ea1d
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x48e9ae
cmp byte [ebp - 0x39], 0
je 0x48ea4a
cmp byte [esi + 0x16], 0
je 0x48ea4a
lea eax, [ebp - 0x98]
call fcn.0047fe84
mov edx, dword [ebp - 0x98]
lea eax, [esi + 0x30]
call fcn.00407124
cmp byte [ebp - 0x3a], 0
je 0x48ea5a
cmp byte [esi + 0x16], 0
je 0x48ecf6
cmp byte [ebp - 0x39], 0
je 0x48ea6a
cmp byte [esi + 0x16], 0
jne 0x48ecf6
lea eax, [ebp - 0x9c]
call fcn.0047fec0
mov edx, dword [ebp - 0x9c]
lea eax, [esi + 0x2c]
call fcn.00407124
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 0xc]
call fcn.0040892c
test eax, eax
jl 0x48ebbb
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00448b7c
mov eax, dword [ebp - 0xa0]
call fcn.0048e404
pop ecx
cmp byte [ebp - 5], 0
je 0x48eb30
mov eax, dword [ebp - 4]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0x11
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0x11
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb8]
call fcn.0047ff00
mov eax, dword [ebp - 0xb8]
mov ecx, 1
pop edx
call fcn.0045d298
jmp 0x48eb79
mov eax, dword [ebp - 4]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0x11
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0x11
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
call fcn.0047fff0
mov eax, dword [ebp - 0xbc]
mov ecx, 1
pop edx
call fcn.0045d298
push ebp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0044a550
call fcn.0048e498
pop ecx
test al, al
je 0x48ebab
lea eax, [esi + 0x30]
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407124
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x17], 0
je 0x48ebbb
jmp 0x48ebaf
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x48eaa6
cmp byte [ebp - 0x39], 0
je 0x48ebe0
cmp byte [esi + 0x17], 0
je 0x48ebe0
lea eax, [ebp - 0xc0]
call fcn.004800e4
mov edx, dword [ebp - 0xc0]
lea eax, [esi + 0x30]
call fcn.00407124
cmp byte [ebp - 0x3a], 0
je 0x48ebf0
cmp byte [esi + 0x17], 0
je 0x48ecf6
cmp byte [ebp - 0x39], 0
je 0x48ec00
cmp byte [esi + 0x17], 0
jne 0x48ecf6
lea eax, [ebp - 0xc4]
call fcn.00480120
mov edx, dword [ebp - 0xc4]
lea eax, [esi + 0x2c]
call fcn.00407124
mov byte [ebp - 0x39], 1
mov byte [ebp - 0x3a], 0
mov eax, dword [esi + 0x10]
call fcn.0040892c
test eax, eax
jl 0x48eca1
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
push ebp
push 0xffffffffffffffff
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x20]
mov edx, dword [eax + edx*4]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0xc8]
call fcn.0048e404
pop ecx
push ebp
mov eax, dword [ebp - 4]
call fcn.004494c0
test eax, eax
setne al
call fcn.0048e498
pop ecx
test al, al
je 0x48ec95
lea eax, [esi + 0x30]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
call fcn.00407124
mov byte [ebp - 0x3a], 1
cmp byte [esi + 0x18], 0
je 0x48eca1
jmp 0x48ec99
mov byte [ebp - 0x39], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x40]
jne 0x48ec38
cmp byte [ebp - 0x39], 0
je 0x48ecc6
cmp byte [esi + 0x18], 0
je 0x48ecc6
lea eax, [ebp - 0xcc]
call fcn.00480160
mov edx, dword [ebp - 0xcc]
lea eax, [esi + 0x30]
call fcn.00407124
cmp byte [ebp - 0x3a], 0
je 0x48ecd2
cmp byte [esi + 0x18], 0
je 0x48ecf6
cmp byte [ebp - 0x39], 0
je 0x48ecde
cmp byte [esi + 0x18], 0
jne 0x48ecf6
lea eax, [esi + 0x2c]
xor edx, edx
call fcn.00407124
lea eax, [esi + 0x30]
xor edx, edx
call fcn.00407124
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ed4d
lea eax, [ebp - 0xcc]
mov edx, 6
call fcn.0040711c
lea eax, [ebp - 0xa4]
mov edx, 8
call fcn.0040711c
lea eax, [ebp - 0x80]
mov edx, 0xd
call fcn.0040711c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040711c
lea eax, [ebp - 4]
call fcn.00407114
ret