Function at 0x4058a0
Capabilities:
Delete file

Disassembly:
mov eax, 0x2b170
call fcn.00409710
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push 0xa6
call sub.SVDVIDEO.dll_Ordinal_75
mov ecx, dword [0x417750]
mov edx, dword [0x417754]
cmp ecx, 0x160
mov dword [0x41777c], ebx
jne 0x4058f3
cmp edx, 0xf0
je 0x4058e5
cmp edx, 0x120
jne 0x4058f3
cmp eax, ebx
je 0x4058f3
mov dword [0x41777c], 1
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x28
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov word [esp + 0x38], 1
mov word [esp + 0x3a], 0x18
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.004067e0
mov ecx, eax
mov eax, dword [0x417754]
imul ecx, eax
mov edx, dword [0x417758]
add esp, 4
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x417750]
mov dword [esp + 0x6c], edx
mov edx, dword [0x417768]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x28]
push ebx
push 0x1e
mov dword [esp + 0x58], 0x118c30
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], 0x14
mov dword [esp + 0x70], eax
call sub.SVDVIDEO.dll_Ordinal_75
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fimul dword [esp + 0x2b18c]
fmul qword [0x40f300]
call fcn.004096e4
mov edi, eax
push ebx
push 0x1e
mov dword [esp + 0x24], edi
call sub.SVDVIDEO.dll_Ordinal_75
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fimul dword [esp + 0x2b190]
fmul qword [0x40f300]
call fcn.004096e4
push ebx
push 0x1e
mov dword [esp + 0x28], eax
call sub.SVDVIDEO.dll_Ordinal_75
mov esi, eax
push ebx
push 0x22
mov dword [esp + 0x2c], esi
call sub.SVDVIDEO.dll_Ordinal_75
push eax
call fcn.004072e0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x2b194]
mov ebp, dword [esp + 0x2b190]
fidiv dword [esp + 0x18]
sub ecx, ebp
add esp, 4
mov dword [esp + 0x10], ecx
fimul dword [esp + 0x10]
fmul dword [0x415110]
fmul dword [0x40f2f8]
fadd qword [0x40f2f0]
call fcn.004096e4
test eax, eax
jne 0x405a45
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b170
ret
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
sub ecx, edi
mov dword [esp + 0x14], ecx
fild qword [esp + 0x14]
fmul dword [0x40f2e8]
fadd qword [0x40f2f0]
call fcn.004096e4
mov esi, dword [esp + 0x2b184]
mov dword [0x415118], eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x50]
push 0xf4240
push edx
push esi
call sub.EnCodeM1V.dll_Ordinal_1
test eax, eax
jne 0x405a9a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b170
ret
lea eax, [esp + 0x28]
push eax
call fcn.004067e0
imul eax, dword [esp + 0x34]
mov edi, dword [0x41752c]
mov ecx, 0xa
lea esi, [esp + 0x2c]
add eax, 0x28
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
mov ecx, 0xac43
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], bl
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x415118], ebx
jne 0x405aed
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2b170
ret
call fcn.00406fe0
test eax, eax
je 0x405aed
push 0xffffffffffffffff
call sub.MMXAUDIO.dll_Ordinal_79
call fcn.00406ff0
mov dword [0x41511c], eax
call fcn.00407010
xor ecx, ecx
cmp eax, 0xac44
setl cl
push ebx
push 0x17
mov dword [0x41774c], eax
mov dword [0x417528], ecx
call sub.MMXAUDIO.dll_Ordinal_82_1
mov edx, dword [0x41774c]
push edx
call sub.ENCMPA.dll_Ordinal_1_1
push 0x10
call sub.ENCMPA.dll_Ordinal_2_1
mov eax, dword [0x41511c]
push eax
call sub.ENCMPA.dll_Ordinal_3_1
mov ecx, dword [0x41775c]
inc ecx
push ecx
call sub.ENCMPA.dll_Ordinal_6
push 0xac44
call sub.ENCMPA.dll_Ordinal_4
mov edx, dword [0x417760]
push edx
call sub.ENCMPA.dll_Ordinal_5
call fcn.00407240
mov eax, dword [esp + 0x2b188]
push eax
call sub.ENCMPA.dll_Ordinal_7
test eax, eax
jne 0x405b8b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b170
ret
mov ecx, dword [0x414fbc]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push ebp
push 1
push 0x405
push ecx
call edi
mov edx, dword [esp + 0x1c]
push ebx
push edx
call sub.SVDVIDEO.dll_Ordinal_87
mov eax, dword [0x41510c]
mov dword [0x417774], ebx
cmp eax, ebx
mov dword [0x417778], ebx
jne 0x405d9f
push ebx
push 0x48
call sub.SVDVIDEO.dll_Ordinal_75
test eax, eax
jne 0x405d9f
mov eax, dword [0x41752c]
add eax, 0x28
push eax
call fcn.00406750
add esp, 4
call sub.SVDVIDEO.dll_Ordinal_100
call sub.MPEGSYS.dll_Ordinal_36
cmp eax, 0xf0000
jbe 0x405c1b
mov ecx, dword [0x41752c]
add ecx, 0x28
push ecx
call fcn.00406750
add esp, 4
call sub.SVDVIDEO.dll_Ordinal_100
call sub.MPEGSYS.dll_Ordinal_36
cmp eax, 0xf0000
ja 0x405bf8
push 1
push ebx
call sub.SVDVIDEO.dll_Ordinal_87
mov esi, eax
mov eax, dword [0x414fb0]
cmp eax, ebx
je 0x405c38
cmp esi, dword [esp + 0x20]
jae 0x405d9f
mov eax, dword [0x417750]
mov ecx, dword [0x414dd8]
cmp eax, ecx
mov ecx, dword [0x417754]
jne 0x405c6f
cmp ecx, dword [0x414ddc]
jne 0x405c6f
cmp dword [0x41777c], ebx
jne 0x405c6f
mov edx, dword [esp + 0x14]
mov eax, dword [0x41752c]
push edx
push eax
call sub.EnCodeM1V.dll_Ordinal_2
jmp 0x405cba
xor edx, edx
push 1
mov dx, word [0x4150ee]
push edx
push ecx
push eax
mov eax, dword [0x41752c]
add eax, 0x28
push eax
push 0x4150e0
call fcn.00406ac0
add esp, 0x18
test eax, eax
je 0x405cba
mov ecx, dword [esp + 0x14]
mov edx, dword [0x415114]
push ecx
push edx
call sub.EnCodeM1V.dll_Ordinal_2
mov eax, dword [0x415114]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x415114], ebx
mov ecx, dword [0x417778]
imul ecx, dword [0x41774c]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fimul dword [0x41511c]
fmul dword [0x417748]
fmul dword [0x40f2e4]
call fcn.004096e4
mov ecx, dword [0x417774]
mov edx, eax
mov eax, 3
sub eax, edx
and al, 0xfc
mov dword [0x415118], eax
sub eax, ecx
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00406e60
add esp, 8
test eax, eax
je 0x405d32
mov ecx, dword [0x415118]
mov eax, dword [0x417774]
sub ecx, eax
lea edx, [esp + 0x70]
push ecx
push edx
call sub.ENCMPA.dll_Ordinal_8
mov eax, dword [0x415118]
mov dword [0x417774], eax
mov eax, esi
mov ecx, 0x64
mul ecx
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push edx
push eax
call fcn.00409740
mov ecx, dword [0x417778]
mov edx, dword [0x414fbc]
mov esi, eax
inc ecx
push esi
push 1
push 0x405
push edx
mov dword [0x417778], ecx
call edi
lea eax, [esi + esi*4]
lea ecx, [ebp + ebp*4]
xor edx, edx
push ebx
lea eax, [eax + eax*4]
lea ecx, [ecx + ecx*4]
shl eax, 2
shl ecx, 2
sub eax, ecx
div dword [esp + 0x14]
mov edx, dword [0x414c98]
push eax
push 0x402
push edx
call edi
cmp dword [0x41510c], ebx
je 0x405bc6
call sub.EnCodeM1V.dll_Ordinal_3
call sub.ENCMPA.dll_Ordinal_9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2b170
ret