Function at 0x44ad9c
Capabilities:
Clear file content

Disassembly:
push 0x50
mov eax, 0x458b2a
call fcn.0045398e
mov ebx, ecx
lea edi, [ebx + 0x1c]
mov dword [ebp - 0x58], edi
call fcn.0043f3e9
push edi
call dword [eax + 0x28]
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x18], 0xffffffff
jne 0x44ae03
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
cmp byte [eax + 0xc0], 0
jne 0x44adea
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
cmp dword [eax + 0xa8], esi
je 0x44adea
mov ebx, 0x8000ffff
jmp 0x44adec
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
call fcn.0043f3e9
push edi
call dword [eax + 0x2c]
mov eax, ebx
call fcn.00453a11
ret 4
push dword [ebp + 8]
push dword [0x47e798]
push esi
call fcn.0043edb6
add esp, 0xc
push dword [0x47e784]
lea eax, [ebp - 0x2c]
call fcn.00405268
xor eax, eax
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 1
push dword [edi + 0x18]
call fcn.004410eb
test eax, eax
setne al
test al, al
je 0x44aeec
mov eax, dword [0x47e79c]
push eax
mov esi, eax
call fcn.00413950
pop ecx
mov ecx, esi
lea esi, [ebp - 0x2c]
call fcn.004051ff
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0x4c], 0x41
mov dword [ebp - 0x50], 0x55
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x50]
test eax, eax
setne al
push 0x17
pop edx
sub edx, ecx
add edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
imul ecx, ecx, 0x55
imul edx, edx, 0x4e
sub edx, ecx
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
imul ecx, esi
shl ecx, 6
add edx, ecx
mov ecx, dword [ebp - 0x4c]
sub edx, ecx
mov ecx, dword [ebp - 0x4c]
sub edx, ecx
mov ecx, dword [ebp - 0x54]
sub edx, ecx
add edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
lea ecx, [edx + ecx + 0x2c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
mov edx, 0xffffff7a
sub edx, ecx
mov ecx, dword [ebp - 0x4c]
sub edx, ecx
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
test al, al
jne 0x44af9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44af00
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x15c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
lea ecx, [eax + 0x98]
lea eax, [ebp - 0x48]
push eax
mov edx, 0xfde9
call fcn.0044dc21
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x44af31
mov eax, dword [eax]
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x44af3d
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp + 8]
mov eax, dword [ebx + 8]
push dword [eax + 0x15c]
mov eax, dword [ebx]
push ecx
push dword [0x47e7a0]
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [eax + 0xb8]
or eax, 1
push eax
call fcn.0043edb6
add esp, 0x18
push 1
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.00405846
mov edi, ebx
call fcn.00449253
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 0x15c]
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00405846
mov edi, dword [ebp - 0x58]
jmp 0x44adec
mov dword [ebp - 0x4c], 0x5a
mov eax, dword [ebp - 0x4c]
push 0x43
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x4c]
push 0xffffffffffffff9f
mov dword [ebp - 0x4c], ecx
add dword [ebp - 0x4c], 0x47
mov eax, dword [ebp - 0x4c]
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x4c]
push 0x31
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
imul eax, eax, 0x48
sub eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cdq
pop ecx
idiv ecx
push 0x16
pop esi
push 0x42
xor edi, edi
mov ecx, eax
mov eax, dword [ebp - 0x4c]
imul ecx, eax
mov eax, dword [ebp - 0x4c]
cdq
idiv esi
lea esi, [ebp - 0x2c]
add ecx, eax
mov eax, dword [ebp - 0x4c]
lea eax, [ecx + eax - 0x5a]
add eax, dword [ebp - 0x4c]
pop ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cdq
idiv ecx
mov ecx, dword [ebp - 0x4c]
push 1
sub eax, ecx
sub eax, 0x29
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
imul eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x1f
mov dword [ebp - 0x4c], eax
call fcn.00405846
xor ebx, ebx
jmp 0x44af92