Function at 0x44de70
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x627294]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
mov esi, ecx
mov dword [esp + 8], edx
push edi
mov dword [esp + 0x20], esi
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x44dea0
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call edi
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
jne 0x44df0c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x20
jne 0x44e288
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x44dedc
mov ecx, dword [esi]
call fcn.0044d940
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44deeb
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call edi
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
je 0x44e288
lea ecx, [esp + 0x28]
xorps xmm0, xmm0
push ecx
push eax
movq qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x44e288
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push 0
push 0x10
push esi
push edi
mov dword [eax + 0x40138], edi
mov dword [eax + 0x4013c], esi
call fcn.005a09f0
sub edi, eax
mov eax, dword [esp + 0x20]
push 0
sbb esi, edx
add edi, 0x10
push 0
adc esi, 0
mov dword [eax + 0x40140], edi
add edi, 0x29
mov dword [eax + 0x40144], esi
mov dword [eax + 0x40180], edi
mov edi, eax
adc esi, 0
push esi
push dword [edi + 0x40180]
mov dword [edi + 0x40184], esi
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x44e288
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
je 0x44e288
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x44e288
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, dword [edi + 0x40140]
mov dword [edi + 0x4014c], ecx
mov ecx, dword [edi + 0x40144]
mov dword [edi + 0x40148], eax
mov dword [esp + 8], ecx
test ecx, ecx
jg 0x44dff3
jl 0x44dfef
cmp esi, 0x40000
ja 0x44dff3
mov al, 0x64
jmp 0x44dff8
mov al, byte [0x62f628]
mov byte [edi + 0x4018c], al
mov edx, ecx
movzx eax, al
mov ecx, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
call fcn.00578e60
movaps xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
divsd xmm1, qword [0x621560]
divsd xmm0, qword [0x621558]
movsd qword [esp + 0x18], xmm1
mulsd xmm0, xmm1
call fcn.00578d50
movsd xmm0, qword [0x621560]
subsd xmm0, qword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
divsd xmm0, qword [0x621558]
mulsd xmm0, qword [esp + 0x18]
call fcn.00578d50
push 0
push 0x10
push dword [esp + 0x28]
mov dword [edi + 0x40170], eax
push dword [esp + 0x30]
mov dword [edi + 0x40174], edx
call fcn.005a09f0
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x40168], ecx
sbb eax, edx
mov dword [esp + 0x20], eax
mov dword [edi + 0x4016c], eax
mov eax, dword [esp + 8]
test eax, eax
jg 0x44e0b4
jl 0x44e0d1
cmp esi, 0x40000
jbe 0x44e0d1
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x44e0ca
jl 0x44e0c6
cmp ecx, 0x40000
jae 0x44e0ca
mov esi, ecx
jmp 0x44e0d1
mov esi, 0x40000
xor eax, eax
mov dword [edi + 0x40158], esi
xorps xmm0, xmm0
mov dword [edi + 0x4015c], eax
mov dword [edi + 0x40150], esi
mov dword [edi + 0x40154], eax
push 0
push 0x40a
movaps xmmword [esp + 0xa8], xmm0
movaps xmmword [esp + 0xb8], xmm0
mov dword [esp + 0x2c], 0x20
movaps xmmword [esp + 0xe8], xmm0
movaps xmmword [esp + 0xf8], xmm0
mov dword [esp + 0x28], 0
call fcn.004575d0
mov esi, eax
push esi
call fcn.0045a890
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0045a850
push esi
call fcn.004570e0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x28]
call fcn.00454ef0
movups xmm0, xmmword [esp + 0xac]
add esp, 0xc
movups xmmword [edi + 0x4001c], xmm0
movups xmm0, xmmword [esp + 0xb0]
push 0
push dword [esp + 0x24]
movups xmmword [edi + 0x4002c], xmm0
call fcn.00457590
mov esi, eax
add esp, 8
test esi, esi
je 0x44e288
push esi
call fcn.00458b30
add esp, 4
test eax, eax
jle 0x44e288
push dword [esp + 0xc]
push esi
call fcn.00458f20
add esp, 8
test eax, eax
jle 0x44e288
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xe4]
push eax
push esi
call fcn.00458980
add esp, 0xc
test eax, eax
jle 0x44e288
xorps xmm0, xmm0
lea eax, [esp + 0x30]
push eax
movaps xmmword [esp + 0xc4], xmm0
movaps xmmword [esp + 0xd4], xmm0
call fcn.00456b90
add esp, 4
lea eax, [esp + 0xe0]
push 0x20
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00456c10
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.004568b0
movaps xmm0, xmmword [esp + 0xc8]
lea eax, [edi + 0x4003c]
push eax
movaps xmmword [esp + 0x10c], xmm0
lea eax, [esp + 0x10c]
movaps xmm0, xmmword [esp + 0xdc]
push 0x100
push eax
movaps xmmword [esp + 0x124], xmm0
call fcn.00404450
add esp, 0x14
test eax, eax
jne 0x44e288
push dword [esp + 0x20]
call fcn.00454c80
add esp, 4
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00578494
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00578494
mov esp, ebp
pop ebp
ret