Function at 0x1000e15b
Capabilities:
Get disk size
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a86c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x1000e2af
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x1000e275
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jge 0x1000e242
mov dword [ebp - 0x50], 1
jmp 0x1000e246
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jg 0x1000e264
mov dword [ebp - 0x78], 1
jmp 0x1000e268
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
jmp 0x1000e2aa
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x1000e2aa
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1000e79c
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x1000e461
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], 0xfffffff2
jmp 0x1000e318
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0xffffffed
je 0x1000e45c
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x60], 0x503e
mov dword [ebp - 0x88], str.fqabav_uyhuyvvty_pagcx_dbqo_ytd_rzxcp_rhbb_cplalroa_yvbja_vghpuiq_aupafwoeo
cmp dword [ebp - 0x60], 0x505e
jle 0x1000e3e3
and dword [ebp - 0x34], 0
jmp 0x1000e356
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1f75
jge 0x1000e3e3
and dword [ebp - 0x44], 0
jmp 0x1000e370
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3e14
jge 0x1000e3de
and dword [ebp - 0x2c], 0
jmp 0x1000e386
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x51b0
jge 0x1000e3dc
and dword [ebp - 0x3c], 0
jmp 0x1000e39c
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x42a3
jge 0x1000e3da
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x2c]
cdq
idiv dword [ebp - 0x3c]
and edx, dword [ebp - 0x34]
mov eax, edx
cdq
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
mov ecx, 0x10073998
call fcn.100034ac
jmp 0x1000e395
jmp 0x1000e37f
jmp 0x1000e369
jmp 0x1000e34f
mov dword [ebp - 0x24], 0
jmp 0x1000e3f3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd
jl 0x1000e414
mov byte [ebp - 0x12], 0
push 0x57b2
push 1
push 0
lea eax, [ebp - 0x12]
push eax
call fcn.1000dd2e
add esp, 0x10
jmp 0x1000e3ec
and dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0x4fc2
jge 0x1000e431
mov edx, dword [ebp - 0x88]
mov ecx, 0x10073998
call fcn.10005649
jmp 0x1000e44d
or dword [ebp - 4], 0xffffffff
jmp 0x1000e457
jmp 0x1000e30d
jmp 0x1000e79c
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xa0], 0x1bd0
cmp dword [ebp - 0xa0], 0x960
jge 0x1000e58b
lea eax, [ebp - 0x4c]
push eax
push 0x10064238
call fcn.100422fb
pop ecx
pop ecx
mov eax, dword [ebp - 0x4c]
inc eax
push eax
lea ecx, [ebp - 0x110]
call fcn.10017639
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 1
jmp 0x1000e4ca
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x4c]
jg 0x1000e4ef
push dword [ebp - 0x28]
lea ecx, [ebp - 0x110]
call fcn.10017691
push eax
push 0x10064238
call fcn.100422fb
pop ecx
pop ecx
jmp 0x1000e4c3
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x1c], 1
jmp 0x1000e503
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x4c]
jg 0x1000e55b
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x1000e55b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10017691
push dword [eax]
lea ecx, [ebp - 0x110]
call fcn.10017691
push dword [eax]
lea ecx, [ebp - 0x110]
call fcn.10017691
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
jne 0x1000e54b
mov dword [ebp - 0x70], 1
jmp 0x1000e54f
and dword [ebp - 0x70], 0
movzx eax, byte [ebp - 0x11]
or eax, dword [ebp - 0x70]
mov byte [ebp - 0x11], al
jmp 0x1000e4fc
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000e56c
mov dword [ebp - 0x54], 0x100647a8
jmp 0x1000e573
mov dword [ebp - 0x54], 0x100647ac
push dword [ebp - 0x54]
call fcn.100426e6
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10017675
mov dword [ebp - 0x58], 0x3225
mov dword [ebp - 0xb8], str.bnyqogh_kmhauyn_vsllmqahc_suycnske_utqao_qfv_vcs_cjaened_qcltl_tpkprv_xaxlqc_iudwap_dor
cmp dword [ebp - 0x58], 0x3474
jle 0x1000e686
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
and dword [ebp - 0x30], 0
jmp 0x1000e5be
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x73b4
jge 0x1000e67c
and dword [ebp - 0x38], 0
jmp 0x1000e5d8
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1539
jge 0x1000e677
and dword [ebp - 0x20], 0
jmp 0x1000e5f2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5de7
jge 0x1000e672
and dword [ebp - 0x48], 0
jmp 0x1000e608
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x118
jge 0x1000e66d
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
sar edx, cl
xor edx, dword [ebp - 0x48]
mov eax, edx
cdq
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
lea ecx, [ebp - 0x12c]
call fcn.10001a94
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.1000348c
push eax
call fcn.1004252f
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.10003482
jmp 0x1000e601
jmp 0x1000e5eb
jmp 0x1000e5d1
jmp 0x1000e5b7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x58], 0x312d
jge 0x1000e6ae
push dword [ebp - 0xb8]
call fcn.1004252f
pop ecx
jmp 0x1000e6ca
or dword [ebp - 4], 0xffffffff
jmp 0x1000e6d4
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x1000e70e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x1000e70e
mov dword [ebp - 0x6c], 1
jmp 0x1000e712
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xd8]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x1000e72d
mov dword [ebp - 0xe0], 1
jmp 0x1000e734
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x1000e749
mov dword [ebp - 0x5c], 1
jmp 0x1000e74d
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
je 0x1000e75c
mov dword [ebp - 0x64], 1
jmp 0x1000e760
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jne 0x1000e773
mov dword [ebp - 0x74], 1
jmp 0x1000e777
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x74]
cmp eax, 0xfe04
jl 0x1000e78d
mov dword [ebp - 0x7c], 1
jmp 0x1000e791
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret