Function at 0x44806b
Capabilities:
Clear file content

Disassembly:
push 0x48
mov eax, 0x455b4e
call fcn.00450a31
mov ebx, ecx
lea edi, [ebx + 0x1c]
mov dword [ebp - 0x54], edi
call fcn.0043d195
push edi
call dword [eax + 0x28]
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x18], 0xffffffff
jne 0x4480d2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
cmp byte [eax + 0xc0], 0
jne 0x4480b9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
cmp dword [eax + 0xa8], esi
je 0x4480b9
mov ebx, 0x8000ffff
jmp 0x4480bb
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
call fcn.0043d195
push edi
call dword [eax + 0x2c]
mov eax, ebx
call fcn.00450ab4
ret 4
push dword [ebp + 8]
push dword [0x47b79c]
push esi
call fcn.0043cb93
add esp, 0xc
push dword [0x47b788]
lea eax, [ebp - 0x2c]
call fcn.004044c6
xor eax, eax
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 1
push dword [edi + 0x18]
call fcn.0043e84a
test eax, eax
setne al
test al, al
je 0x448133
mov eax, dword [str.zmarm_b]
push eax
mov esi, eax
call fcn.00412a80
pop ecx
mov ecx, esi
lea esi, [ebp - 0x2c]
call fcn.0040445d
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
mov dword [ebp - 0x4c], 0x1c
add dword [ebp - 0x4c], 0xfffffff1
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
imul ecx, edx
mov edx, dword [ebp - 0x4c]
imul ecx, ecx, 0x51
sub ecx, edx
add ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
add dword [ebp - 0x4c], 0x4e
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
sub ecx, edx
mov edx, dword [ebp - 0x4c]
sub ecx, edx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
imul ecx, ecx, 0x43
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
test al, al
jne 0x4482df
call fcn.0043d195
call dword [eax + 0x44]
test eax, eax
jle 0x44819f
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebx + 8]
fld qword [0x4749c8]
mov dword [ecx + 0x15c], eax
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
mov ecx, ebx
fmul qword [0x474a20]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [0x4749c0]
fadd qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [0x4749b8]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
mov eax, dword [ebx]
fadd qword [0x4749b0]
fstp qword [ebp - 0x50]
call dword [eax + 8]
lea ecx, [eax + 0x98]
lea eax, [ebp - 0x48]
push eax
mov edx, 0xfde9
call fcn.0044ab98
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x448224
mov eax, dword [eax]
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x448230
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 [0x47b7a4]
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [eax + 0xb8]
or eax, 1
push eax
call fcn.0043cb93
add esp, 0x18
push 1
xor edi, edi
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004049dc
mov dword [ebp - 0x4c], 0x1c
add dword [ebp - 0x4c], 0xfffffff1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
imul eax, ecx
mov ecx, dword [ebp - 0x4c]
imul eax, eax, 0x51
sub eax, ecx
add eax, dword [ebp - 0x4c]
mov edi, ebx
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
add dword [ebp - 0x4c], 0x4e
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0x43
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
call fcn.00446367
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 0x15c]
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004049dc
mov edi, dword [ebp - 0x54]
jmp 0x4480bb
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004049dc
xor ebx, ebx
jmp 0x4482d7