Function at 0x1000c688
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058944
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000c6d6
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
push 1
push dword [ebp - 0x54]
push dword [ebp - 0x44]
call fcn.1000c976
add esp, 0xc
jmp 0x1000c965
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x34], 0x73a9
mov dword [ebp - 0x4c], str.yxvropcte_hcuiawm_hgolhy_hikol_xmbqnqevc_ocfvgwf_eskl_xszygfrz_zbwhagaio_udbal_qvx_izvxoiiw_nvkanblwa_myj
cmp dword [ebp - 0x34], 0x772d
jle 0x1000c771
and dword [ebp - 0x20], 0
jmp 0x1000c700
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x166a
jge 0x1000c766
and dword [ebp - 0x24], 0
jmp 0x1000c716
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2997
jge 0x1000c764
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xac]
call fcn.10001a95
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.10004684
push eax
call fcn.1003fffd
pop ecx
lea ecx, [ebp - 0xac]
call fcn.1000467a
jmp 0x1000c70f
jmp 0x1000c6f9
push 0x2445
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x72af
jge 0x1000c790
push dword [ebp - 0x4c]
call fcn.1003fffd
pop ecx
jmp 0x1000c7ac
or dword [ebp - 4], 0xffffffff
jmp 0x1000c7b6
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1000c8b8
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x30], 0x34f5
mov dword [ebp - 0x3c], str.cwvfqo_xhoiip_jlozepmo_pmubv_ofhvvbqav_aioigrbn_trxf_tzffx_rdhzcjqo_etti
cmp dword [ebp - 0x30], 0x383b
jle 0x1000c858
and dword [ebp - 0x1c], 0
jmp 0x1000c80a
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x21e
jge 0x1000c858
and dword [ebp - 0x28], 0
jmp 0x1000c820
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7405
jge 0x1000c856
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
shl eax, cl
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0x10071a98
call fcn.100046a4
jmp 0x1000c819
jmp 0x1000c803
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000c870
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x34c6
jge 0x1000c88d
mov edx, dword [ebp - 0x3c]
mov ecx, 0x10071a98
call fcn.10006c80
jmp 0x1000c8a9
or dword [ebp - 4], 0xffffffff
jmp 0x1000c8b3
jmp 0x1000c965
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1000c90d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jle 0x1000c965
mov dword [ebp - 0x2c], 0x6b9dd952
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x68]
push 0
push 0x5ac4
push 0x7a51
push dword [ebp - 0x38]
push 0x1061
push dword [ebp - 0x70]
push dword [ebp - 0x18]
push 0x662
call fcn.10008432
add esp, 0x2c
push 0
mov ecx, dword [ebp - 0x38]
call fcn.1000496d
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x1000c902
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret