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

Disassembly:
push ebp
lea ebp, [esp - 0x754]
sub esp, 0x754
push 0xffffffffffffffff
push 0x10055d24
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10076098]
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.1003d469
mov ecx, dword [ebp - 0x14]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x334], ecx
or edx, 0xffffffff
cmp ebx, ecx
ja 0x1001178a
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.100341b0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1001187a
cmp ebx, 0x7ffffffe
ja 0x10011fdf
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x100117aa
mov esi, SysReAllocString
jmp 0x100117cb
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x100117c0
mov esi, SysReAllocString
jmp 0x100117c8
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 0x100117dd
or ecx, 0xffffffff
jmp 0x100117e5
cmp ecx, 0x1000
jb 0x10011809
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.100325e6
add esp, 4
test eax, eax
je 0x10011fe4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1001181c
test ecx, ecx
je 0x1001181a
push ecx
call fcn.100325e6
add esp, 4
mov edi, eax
jmp 0x1001181c
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.10033c30
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp + 0x334]
cmp eax, 8
jb 0x10011877
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001186d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fe4
push edx
push ecx
call fcn.100325d8
add esp, 8
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10016a80
mov ecx, eax
call fcn.10016b40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100118d4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100118ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011fe9
push edx
push ecx
call fcn.100325d8
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 0x100119d7
push str.SHGetFileInfoW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100119d7
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.10034760
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100119ae
mov ecx, dword [eax]
push 0x610
push 0x2b4
lea eax, [ebp]
push eax
push 0
push ecx
call esi
test eax, eax
jne 0x100119de
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c0]
call fcn.10012010
xor al, al
jmp 0x10011fbc
lea eax, [ebp + 0xc]
push eax
call fcn.1003d469
mov ecx, dword [ebp + 0x2d4]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x334], ecx
cmp ebx, ecx
ja 0x10011a2e
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.100341b0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10011b2b
cmp ebx, 0x7ffffffe
ja 0x10011fee
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10011a4e
mov esi, SysReAllocString
jmp 0x10011a6c
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10011a64
mov esi, SysReAllocString
jmp 0x10011a6c
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10011a7e
or ecx, 0xffffffff
jmp 0x10011a86
cmp ecx, 0x1000
jb 0x10011aaf
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100325e6
add esp, 4
test eax, eax
je 0x10011fe4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10011ac2
test ecx, ecx
je 0x10011ac0
push ecx
call fcn.100325e6
add esp, 4
mov edi, eax
jmp 0x10011ac2
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.10033c30
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp + 0x334]
cmp eax, 8
jb 0x10011b25
mov ecx, dword [ebp + 0x2c0]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011b1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011ff3
push edx
push ecx
call fcn.100325d8
add esp, 8
mov dword [ebp + 0x2c0], edi
lea eax, [ebp + 0x214]
push eax
call fcn.1003d469
mov ecx, dword [ebp + 0x2ec]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x334], ecx
cmp ebx, ecx
ja 0x10011b81
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.100341b0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10011c81
cmp ebx, 0x7ffffffe
ja 0x10011ff8
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10011ba1
mov esi, SysReAllocString
jmp 0x10011bbf
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x10011bb7
mov esi, SysReAllocString
jmp 0x10011bbf
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10011bd1
or ecx, 0xffffffff
jmp 0x10011bd9
cmp ecx, 0x1000
jb 0x10011c02
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100325e6
add esp, 4
test eax, eax
je 0x10011fe4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10011c15
test ecx, ecx
je 0x10011c13
push ecx
call fcn.100325e6
add esp, 4
mov edi, eax
jmp 0x10011c15
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.10033c30
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp + 0x334]
cmp eax, 8
jb 0x10011c7b
mov ecx, dword [ebp + 0x2d8]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011c71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011ffd
push edx
push ecx
call fcn.100325d8
add esp, 8
mov dword [ebp + 0x2d8], edi
push 0x20a
lea eax, [ebp + 0x338]
push 0
push eax
call fcn.10034760
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.10034760
mov eax, dword [ebp - 0x10]
add esp, 0x18
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10011cd5
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 0x10011f1f
xor eax, eax
mov word [ebp + 0x74c], ax
lea eax, [ebp + 0x544]
push eax
call fcn.1003d469
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0x304]
mov dword [ebp - 0x2c], eax
cmp ebx, eax
ja 0x10011d6d
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.100341b0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x10011e69
cmp ebx, 0x7ffffffe
ja 0x10012002
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10011d8d
mov esi, SysReAllocString
jmp 0x10011daa
mov ecx, eax
mov edx, SysReAllocString
shr ecx, 1
sub edx, ecx
cmp eax, edx
jbe 0x10011da3
mov esi, SysReAllocString
jmp 0x10011daa
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10011dbc
or ecx, 0xffffffff
jmp 0x10011dc4
cmp ecx, 0x1000
jb 0x10011ded
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100325e6
add esp, 4
test eax, eax
je 0x10011fe4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10011e00
test ecx, ecx
je 0x10011dfe
push ecx
call fcn.100325e6
add esp, 4
mov edi, eax
jmp 0x10011e00
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.10033c30
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x10011e63
mov ecx, dword [ebp + 0x2f0]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011e59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012007
push edx
push ecx
call fcn.100325d8
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 0x10011ea3
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 0x10011f43
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.10033180
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.10033180
mov dword [ebp + 0x318], eax
mov dword [ebp + 0x31c], edx
jmp 0x10011f43
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.10006570
lea eax, [ebp + 0x2d8]
push eax
lea ecx, [ebx + 0x18]
call fcn.10006570
lea eax, [ebp + 0x2f0]
push eax
lea ecx, [ebx + 0x30]
call fcn.10006570
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.10012010
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.100325c7
lea esp, [ebp + 0x754]
pop ebp
ret
call fcn.10001ab0
call fcn.1003d419
call fcn.1003d419
call fcn.10001ab0
call fcn.1003d419
call fcn.10001ab0
call fcn.1003d419
call fcn.10001ab0
call fcn.1003d419
int3