Function at 0x9ded8
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00014080
xor eax, eax
push ebp
push 0x9e264
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x1a8], 0xffffffff
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xba], 0
jne 0x9df4c
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x13c]
or al, byte [0x9e274]
mov edx, dword [ebp - 4]
mov byte [edx + 0x13c], al
mov eax, dword [ebp - 4]
add eax, 0x214
mov edx, dword [ebp - 8]
call fcn.00013c90
jmp 0x9e246
xor eax, eax
push ebp
push 0x9e1d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x224]
call fcn.00013ecc
test eax, eax
je 0x9df82
push 1
lea ecx, [ebp - 0x3a]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebp - 4]
call fcn.0009b3ac
mov eax, dword [ebp - 4]
add eax, 0x214
mov edx, dword [ebp - 8]
call fcn.00013c90
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a8], 0xffffffff
je 0x9e1ca
mov eax, dword [ebp - 4]
add eax, 0x1a8
call fcn.000932f0
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00099248
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x168]
call fcn.00013fdc
jne 0x9dfe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x9e246
mov eax, dword [ebp - 0x10]
call fcn.00013ecc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
xor edx, edx
add eax, 0x16
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, 0
jne 0x9e018
cmp eax, 0xfffffffe
jbe 0x9e032
jmp 0x9e01a
jle 0x9e032
push 1
mov ecx, 0x27dd
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1ac]
mov edx, 0x22
call fcn.000335ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x1a8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a8], 0xffffffff
jne 0x9e072
push 1
mov ecx, 0x2afa
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
xor edx, edx
call fcn.00092a0c
cmp edx, 0xffffffff
jne 0x9e0bb
cmp eax, 0xffffffff
jne 0x9e0bb
push 1
mov ecx, 0x2b00
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
lea edx, [ebp - 0x3a]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
mov ecx, 0x16
call fcn.00033650
cmp eax, 0x16
jne 0x9e0df
cmp dword [ebp - 0x3a], 0x6054b50
je 0x9e0f7
push 1
mov ecx, 0x2b03
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
mov ax, word [ebp - 0xc]
mov word [ebp - 0x26], ax
mov dword [ebp - 0x20], 0xffffffea
mov dword [ebp - 0x1c], 0xffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
mov edx, 1
call fcn.00092a0c
cmp edx, 0xffffffff
jne 0x9e148
cmp eax, 0xffffffff
jne 0x9e148
push 1
mov ecx, 0x2b00
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
mov byte [ebp - 0x11], 1
lea edx, [ebp - 0x3a]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
mov ecx, 0x16
call fcn.0003367c
cmp eax, 0x16
je 0x9e17f
push 1
mov ecx, 0x2b16
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
mov eax, dword [ebp - 0x10]
call fcn.00014090
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
mov ecx, dword [ebp - 0xc]
call fcn.0003367c
cmp eax, dword [ebp - 0xc]
je 0x9e1b7
push 1
mov ecx, 0x2b02
mov dl, 1
mov eax, dword [0x94610]
call fcn.000947b8
call fcn.0001366c
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
push eax
call sub.kernel32.dll_SetEndOfFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x9e22b
mov eax, dword [ebp - 4]
add eax, 0x1a8
call fcn.000932f0
cmp byte [ebp - 0x11], 0
je 0x9e246
mov eax, dword [ebp - 4]
call fcn.0009bdc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9e26b
lea eax, [ebp - 0x10]
call fcn.00013c3c
lea eax, [ebp - 8]
call fcn.00013c3c
ret