Function at 0x490e08
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x490e10
push ecx
push ebx
push esi
push edi
mov esi, dword [0x495bb0]
xor eax, eax
push ebp
push 0x4919cc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
mov eax, dword [0x495cf8]
mov eax, dword [eax]
call fcn.0045e98c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409378
lea eax, [ebp - 0xc]
mov edx, 0x4919e4
call fcn.00404af8
mov eax, dword [ebp - 0xc]
call fcn.00409168
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
call fcn.0046a904
dec eax
test eax, eax
jl 0x4911c9
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x14]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [0x495df8]
call fcn.0040488c
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x20]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4919e4
call fcn.00404b3c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040942c
mov edx, dword [ebp - 0x18]
mov eax, dword [0x495a7c]
call fcn.0040488c
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 0x24]
call fcn.00404af0
cmp eax, 0x12
jle 0x49103d
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 0x24]
mov edx, 0x10
call fcn.0040d208
sub al, 1
jb 0x490ff4
je 0x490f5f
dec al
je 0x490fab
jmp 0x491064
push 0x4919f4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 0x24]
mov ecx, 0xf
mov edx, 1
call fcn.00404d48
push dword [ebp - 0x24]
push 0x491a0c
mov eax, dword [0x495a70]
mov edx, 3
call fcn.00404bb0
jmp 0x491064
push 0x4919f4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 0x24]
mov ecx, 0x11
mov edx, 1
call fcn.00404d48
push dword [ebp - 0x28]
push 0x491a0c
mov eax, dword [0x495a70]
mov edx, 3
call fcn.00404bb0
jmp 0x491064
push 0x4919f4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 0x24]
mov ecx, 0x10
mov edx, 1
call fcn.00404d48
push dword [ebp - 0x2c]
push 0x491a0c
mov eax, dword [0x495a70]
mov edx, 3
call fcn.00404bb0
jmp 0x491064
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov ecx, dword [eax + 0x24]
mov eax, dword [0x495a70]
mov edx, 0x4919f4
call fcn.00404b3c
mov eax, dword [0x495a1c]
mov dword [eax], ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov ecx, 2
mov edx, 2
call fcn.0046a500
mov edx, dword [0x495a7c]
mov edx, dword [edx]
mov eax, dword [0x495df8]
mov eax, dword [eax]
call fcn.00490d10
test al, al
jne 0x491133
push 0x491a1c
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
push dword [eax + 0x24]
push 0x491a2c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404bb0
mov edx, dword [ebp - 0x30]
mov ecx, 1
xor eax, eax
call fcn.0048e548
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
mov ecx, 0x491a58
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov ecx, 3
mov edx, 2
call fcn.0046a500
jmp 0x49117b
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
mov ecx, 0x491a68
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov ecx, 1
mov edx, 2
call fcn.0046a500
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x34]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
call fcn.00408efc
cdq
mov ecx, dword [0x495df4]
add eax, dword [ecx]
adc edx, dword [ecx + 4]
mov ecx, dword [0x495df4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
inc ebx
dec dword [ebp - 8]
jne 0x490e85
mov eax, dword [esi]
mov eax, dword [eax + 0x318]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [esi]
mov eax, dword [eax + 0x370]
xor edx, edx
call fcn.0043e758
mov eax, dword [esi]
mov eax, dword [eax + 0x374]
xor edx, edx
call fcn.0043e758
mov eax, dword [esi]
mov eax, dword [eax + 0x390]
xor edx, edx
call fcn.0043e758
mov eax, dword [esi]
mov eax, dword [eax + 0x394]
xor edx, edx
call fcn.0043e758
mov eax, dword [esi]
mov eax, dword [eax + 0x36c]
mov edx, 0x491a78
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
call fcn.0046a904
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x368]
call fcn.00469538
mov eax, dword [esi]
mov eax, dword [eax + 0x368]
xor edx, edx
call fcn.00469548
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
call fcn.0046a904
dec eax
test eax, eax
jl 0x491771
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x38]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
mov edx, 0x491a68
call fcn.00404c34
jne 0x49174a
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x40]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040942c
mov eax, dword [ebp - 0x3c]
call fcn.00409134
test al, al
je 0x4915ae
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x48]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040942c
mov eax, dword [ebp - 0x44]
call fcn.00404ce8
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
je 0x491435
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x50]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040942c
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x5c]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x4919e4
call fcn.00404b3c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0040942c
mov eax, dword [ebp - 0x54]
pop edx
call fcn.00471b9c
test al, al
je 0x491747
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x64]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x64]
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov edx, 0x491a90
call fcn.004900e4
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x68]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x68]
mov edx, 0x491aa4
xor eax, eax
call fcn.004901f0
jmp 0x491747
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x74]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0040942c
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.004089f0
mov eax, dword [ebp - 0x6c]
push eax
lea edx, [ebp - 0x7c]
mov eax, dword [0x495cf8]
mov eax, dword [eax]
call fcn.0045e98c
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.004089f0
mov edx, dword [ebp - 0x78]
pop eax
call fcn.00404c34
jne 0x49153e
mov edx, 0x491ab8
xor eax, eax
call fcn.0048e638
test al, al
je 0x491747
call fcn.00492c6c
push 0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x84]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x84]
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov edx, 0x491a90
call fcn.004900e4
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x88]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x88]
mov edx, 0x491aa4
xor eax, eax
call fcn.004901f0
jmp 0x491747
push 0x491aec
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x94]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.0040942c
push dword [ebp - 0x90]
push 0x491b00
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00404bb0
mov edx, dword [ebp - 0x8c]
mov ecx, 1
xor eax, eax
call fcn.0048e548
jmp 0x491747
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x9c]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.0040942c
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xa8]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov edx, 0x4919e4
call fcn.00404b3c
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040942c
mov eax, dword [ebp - 0xa0]
pop edx
call fcn.00471b9c
test al, al
je 0x4916dc
push 0
lea eax, [ebp - 0xac]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xb0]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xb0]
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov edx, 0x491a90
call fcn.004900e4
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xb4]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xb4]
mov edx, 0x491aa4
xor eax, eax
call fcn.004901f0
jmp 0x491747
push 0x491aec
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xc0]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.0040942c
push dword [ebp - 0xbc]
push 0x491b00
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.00404bb0
mov edx, dword [ebp - 0xb8]
mov ecx, 1
xor eax, eax
call fcn.0048e548
inc dword [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x340]
call fcn.00469398
mov edx, eax
inc edx
mov eax, dword [esi]
mov eax, dword [eax + 0x368]
call fcn.00469548
inc ebx
dec dword [ebp - 8]
jne 0x491279
call fcn.0040ab6c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc8]
call fcn.0040b7b0
mov eax, dword [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov ecx, 0x491b14
mov edx, 0x491b24
call fcn.004900e4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, 0x491b14
mov edx, 0x491b24
xor eax, eax
call fcn.004901f0
push 0
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov ecx, 0x491b34
mov edx, 0x491b48
call fcn.004900e4
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x4919e4
call fcn.00404b3c
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.0040942c
mov eax, dword [ebp - 0xcc]
call fcn.00409134
test al, al
je 0x49191c
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
call fcn.0046a904
dec eax
test eax, eax
jl 0x49191c
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.0046a934
mov eax, dword [eax + 8]
lea ecx, [ebp - 0xd8]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xd8]
push eax
push 0
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov ecx, 0x491b34
mov edx, 0x491b48
call fcn.004900e4
mov edx, dword [ebp - 0xdc]
pop eax
call fcn.00404c34
jne 0x491912
mov eax, dword [esi]
call fcn.0045af20
push 0
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov ecx, 0x491b34
mov edx, 0x491b48
call fcn.004900e4
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.0040942c
mov eax, dword [ebp - 0xe0]
mov edx, 1
call fcn.00492ae8
mov eax, dword [esi]
call fcn.0045af28
mov eax, dword [0x495cf8]
mov eax, dword [eax]
call fcn.0045dea0
mov eax, dword [0x495cf8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [esi]
call fcn.00444ef0
push eax
call sub.user32.dll_BringWindowToTop
inc ebx
dec dword [ebp - 8]
jne 0x49183f
mov eax, dword [esi]
mov eax, dword [eax + 0x398]
cmp byte [eax + 0x40], 0
je 0x491931
xor edx, edx
call fcn.00437478
cmp dword [ebp - 4], 0
jle 0x49195d
mov eax, dword [esi]
mov eax, dword [eax + 0x36c]
mov edx, 0x491b58
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x360]
mov edx, 0x491b6c
call fcn.0043e868
jmp 0x491981
mov eax, dword [esi]
mov eax, dword [eax + 0x36c]
mov edx, 0x491b8c
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x360]
mov edx, 0x491ba0
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x314]
mov edx, 0x491bbc
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x314]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x495ad4]
mov eax, dword [eax]
call fcn.0041f230
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4919d3
lea eax, [ebp - 0xe4]
mov edx, 0x37
call fcn.0040485c
ret