Function at 0x100116b0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x754]
sub esp, 0x754
push 0xffffffffffffffff
push 0x100558c4
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10075098]
xor eax, ebp
mov dword [ebp + 0x750], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.Shell32.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1003d089
mov ecx, dword [ebp - 0x14]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x334], ecx
or edx, 0xffffffff
cmp ebx, ecx
ja 0x1001175a
cmp ecx, 8
mov dword [ebp - 0x18], ebx
lea esi, [ebx + ebx]
push esi
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
push str.Shell32.dll
push edi
call fcn.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1001184a
cmp ebx, 0x7ffffffe
ja 0x10011faf
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1001177a
mov esi, SysReAllocString
jmp 0x1001179b
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10011790
mov esi, SysReAllocString
jmp 0x10011798
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
or edx, 0xffffffff
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x100117ad
or ecx, 0xffffffff
jmp 0x100117b5
cmp ecx, 0x1000
jb 0x100117d9
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x10011fb4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x100117ec
test ecx, ecx
je 0x100117ea
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x100117ec
xor edi, edi
mov dword [ebp - 0x14], esi
lea esi, [ebx + ebx]
push esi
push str.Shell32.dll
push edi
mov dword [ebp - 0x18], ebx
call fcn.10033850
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp + 0x334]
cmp eax, 8
jb 0x10011847
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001183d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fb4
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100190a0
mov ecx, eax
call fcn.10019160
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100118a4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001189a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fb9
push edx
push ecx
call fcn.100321e9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x100119a7
push str.SHGetFileInfoW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100119a7
xor eax, eax
mov dword [ebp + 0x2d0], 0
mov dword [ebp + 0x2d4], 0
mov dword [ebp + 0x2d0], 0
mov dword [ebp + 0x2d4], 7
mov word [ebp + 0x2c0], ax
mov dword [ebp - 4], 1
mov dword [ebp + 0x2e8], eax
mov dword [ebp + 0x2ec], eax
mov dword [ebp + 0x2e8], eax
mov dword [ebp + 0x2ec], 7
mov word [ebp + 0x2d8], ax
mov byte [ebp - 4], 2
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], eax
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], 7
mov word [ebp + 0x2f0], ax
mov dword [ebp - 4], 4
push 0x2b4
push eax
lea eax, [ebp]
push eax
call fcn.10034380
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001197e
mov ecx, dword [eax]
push 0x610
push 0x2b4
lea eax, [ebp]
push eax
push 0
push ecx
call esi
test eax, eax
jne 0x100119ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c0]
call fcn.10011fe0
xor al, al
jmp 0x10011f8c
lea eax, [ebp + 0xc]
push eax
call fcn.1003d089
mov ecx, dword [ebp + 0x2d4]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x334], ecx
cmp ebx, ecx
ja 0x100119fe
cmp ecx, 8
mov dword [ebp + 0x2d0], ebx
lea esi, [ebx + ebx]
push esi
lea eax, [ebp + 0xc]
lea edi, [ebp + 0x2c0]
cmovae edi, dword [ebp + 0x2c0]
push eax
push edi
call fcn.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10011afb
cmp ebx, 0x7ffffffe
ja 0x10011fbe
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10011a1e
mov esi, SysReAllocString
jmp 0x10011a3c
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10011a34
mov esi, SysReAllocString
jmp 0x10011a3c
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10011a4e
or ecx, 0xffffffff
jmp 0x10011a56
cmp ecx, 0x1000
jb 0x10011a7f
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x10011fb4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10011a92
test ecx, ecx
je 0x10011a90
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x10011a92
xor edi, edi
mov dword [ebp + 0x2d4], esi
lea eax, [ebp + 0xc]
lea esi, [ebx + ebx]
mov dword [ebp + 0x2d0], ebx
push esi
push eax
push edi
call fcn.10033850
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp + 0x334]
cmp eax, 8
jb 0x10011af5
mov ecx, dword [ebp + 0x2c0]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011aeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fc3
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp + 0x2c0], edi
lea eax, [ebp + 0x214]
push eax
call fcn.1003d089
mov ecx, dword [ebp + 0x2ec]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x334], ecx
cmp ebx, ecx
ja 0x10011b51
cmp ecx, 8
mov dword [ebp + 0x2e8], ebx
lea esi, [ebx + ebx]
push esi
lea eax, [ebp + 0x214]
lea edi, [ebp + 0x2d8]
cmovae edi, dword [ebp + 0x2d8]
push eax
push edi
call fcn.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10011c51
cmp ebx, 0x7ffffffe
ja 0x10011fc8
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10011b71
mov esi, SysReAllocString
jmp 0x10011b8f
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10011b87
mov esi, SysReAllocString
jmp 0x10011b8f
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10011ba1
or ecx, 0xffffffff
jmp 0x10011ba9
cmp ecx, 0x1000
jb 0x10011bd2
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x10011fb4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10011be5
test ecx, ecx
je 0x10011be3
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x10011be5
xor edi, edi
mov dword [ebp + 0x2ec], esi
lea eax, [ebp + 0x214]
lea esi, [ebx + ebx]
mov dword [ebp + 0x2e8], ebx
push esi
push eax
push edi
call fcn.10033850
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp + 0x334]
cmp eax, 8
jb 0x10011c4b
mov ecx, dword [ebp + 0x2d8]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011c41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fcd
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp + 0x2d8], edi
push 0x20a
lea eax, [ebp + 0x338]
push 0
push eax
call fcn.10034380
push 0x20a
lea eax, [ebp + 0x544]
mov dword [ebp + 0x2b4], 0
push 0
push eax
mov dword [ebp + 0x2b8], 0
mov dword [ebp + 0x2bc], 0
call fcn.10034380
mov eax, dword [ebp - 0x10]
add esp, 0x18
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10011ca5
mov ecx, dword [eax]
push 0x104
lea eax, [ebp + 0x544]
push eax
lea eax, [ebp + 0x2bc]
push eax
lea eax, [ebp + 0x2b8]
push eax
lea eax, [ebp + 0x2b4]
push eax
push 0x104
lea eax, [ebp + 0x338]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10011eef
xor eax, eax
mov word [ebp + 0x74c], ax
lea eax, [ebp + 0x544]
push eax
call fcn.1003d089
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0x304]
mov dword [ebp - 0x2c], eax
cmp ebx, eax
ja 0x10011d3d
cmp eax, 8
mov dword [ebp + 0x300], ebx
lea esi, [ebx + ebx]
push esi
lea eax, [ebp + 0x544]
lea edi, [ebp + 0x2f0]
cmovae edi, dword [ebp + 0x2f0]
push eax
push edi
call fcn.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10011e39
cmp ebx, 0x7ffffffe
ja 0x10011fd2
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10011d5d
mov esi, SysReAllocString
jmp 0x10011d7a
mov ecx, eax
mov edx, SysReAllocString
shr ecx, 1
sub edx, ecx
cmp eax, edx
jbe 0x10011d73
mov esi, SysReAllocString
jmp 0x10011d7a
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10011d8c
or ecx, 0xffffffff
jmp 0x10011d94
cmp ecx, 0x1000
jb 0x10011dbd
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x10011fb4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10011dd0
test ecx, ecx
je 0x10011dce
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x10011dd0
xor edi, edi
mov dword [ebp + 0x304], esi
lea eax, [ebp + 0x544]
lea esi, [ebx + ebx]
mov dword [ebp + 0x300], ebx
push esi
push eax
push edi
call fcn.10033850
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x10011e33
mov ecx, dword [ebp + 0x2f0]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011e29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fd7
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp + 0x2f0], edi
mov eax, dword [ebp - 0x10]
mov byte [ebp + 0x320], 1
mov dword [ebp + 0x32c], 0
mov dword [ebp + 0x330], 0
cmp dword [eax + 0x14], 8
mov dword [ebp + 0x334], 0
mov dword [ebp + 0x328], 0
jb 0x10011e73
mov eax, dword [eax]
lea ecx, [ebp + 0x328]
push ecx
lea ecx, [ebp + 0x334]
push ecx
lea ecx, [ebp + 0x330]
push ecx
lea ecx, [ebp + 0x32c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x10011f13
mov esi, dword [ebp + 0x330]
mov eax, esi
mov edi, dword [ebp + 0x32c]
imul eax, edi
push 0
push edi
mov dword [ebp + 0x308], eax
mov eax, dword [ebp + 0x328]
mul esi
push edx
push eax
call fcn.10032f00
mov dword [ebp + 0x310], eax
mov eax, dword [ebp + 0x334]
mov dword [ebp + 0x314], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.10032f00
mov dword [ebp + 0x318], eax
mov dword [ebp + 0x31c], edx
jmp 0x10011f13
xorps xmm0, xmm0
mov dword [ebp + 0x308], 0
movlpd qword [ebp + 0x310], xmm0
movlpd qword [ebp + 0x318], xmm0
mov byte [ebp + 0x320], 0
mov ebx, dword [ebp - 0x30]
lea eax, [ebp + 0x2c0]
push eax
mov ecx, ebx
call fcn.10006560
lea eax, [ebp + 0x2d8]
push eax
lea ecx, [ebx + 0x18]
call fcn.10006560
lea eax, [ebp + 0x2f0]
push eax
lea ecx, [ebx + 0x30]
call fcn.10006560
mov eax, dword [ebp + 0x308]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x310]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x314]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x318]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x31c]
mov dword [ebx + 0x5c], eax
mov al, byte [ebp + 0x320]
mov byte [ebx + 0x60], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c0]
call fcn.10011fe0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x750]
xor ecx, ebp
call fcn.100321d8
lea esp, [ebp + 0x754]
pop ebp
ret
call fcn.10001aa0
call fcn.1003d039
call fcn.1003d039
call fcn.10001aa0
call fcn.1003d039
call fcn.10001aa0
call fcn.1003d039
call fcn.10001aa0
call fcn.1003d039
int3