Function at 0x490dc8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x490dd0
push ecx
push ebx
push esi
push edi
mov esi, dword [0x495bb0]
xor eax, eax
push ebp
push 0x49198c
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, 0x4919a4
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 0x491189
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, 0x4919a4
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 0x490ffd
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 0x490fb4
je 0x490f1f
dec al
je 0x490f6b
jmp 0x491024
push 0x4919b4
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 0x4919cc
mov eax, dword [0x495a70]
mov edx, 3
call fcn.00404bb0
jmp 0x491024
push 0x4919b4
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 0x4919cc
mov eax, dword [0x495a70]
mov edx, 3
call fcn.00404bb0
jmp 0x491024
push 0x4919b4
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 0x4919cc
mov eax, dword [0x495a70]
mov edx, 3
call fcn.00404bb0
jmp 0x491024
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, 0x4919b4
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.00490cd0
test al, al
jne 0x4910f3
push 0x4919dc
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 0x4919ec
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, 0x491a18
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 0x49113b
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, 0x491a28
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 0x490e45
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, 0x491a38
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 0x491731
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, 0x491a28
call fcn.00404c34
jne 0x49170a
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 0x49156e
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 0x4913f5
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, 0x4919a4
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 0x491707
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, 0x491a50
call fcn.004900a4
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, 0x491a64
xor eax, eax
call fcn.004901b0
jmp 0x491707
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 0x4914fe
mov edx, 0x491a78
xor eax, eax
call fcn.0048e638
test al, al
je 0x491707
call fcn.00492c2c
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, 0x491a50
call fcn.004900a4
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, 0x491a64
xor eax, eax
call fcn.004901b0
jmp 0x491707
push 0x491aac
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 0x491ac0
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 0x491707
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, 0x4919a4
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 0x49169c
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, 0x491a50
call fcn.004900a4
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, 0x491a64
xor eax, eax
call fcn.004901b0
jmp 0x491707
push 0x491aac
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 0x491ac0
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 0x491239
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, 0x491ad4
mov edx, 0x491ae4
call fcn.004900a4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, 0x491ad4
mov edx, 0x491ae4
xor eax, eax
call fcn.004901b0
push 0
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [0x495d44]
mov eax, dword [eax]
mov ecx, 0x491af4
mov edx, 0x491b08
call fcn.004900a4
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x4919a4
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 0x4918dc
mov eax, dword [esi]
mov eax, dword [eax + 0x364]
mov eax, dword [eax + 0x22c]
call fcn.0046a904
dec eax
test eax, eax
jl 0x4918dc
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, 0x491af4
mov edx, 0x491b08
call fcn.004900a4
mov edx, dword [ebp - 0xdc]
pop eax
call fcn.00404c34
jne 0x4918d2
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, 0x491af4
mov edx, 0x491b08
call fcn.004900a4
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.0040942c
mov eax, dword [ebp - 0xe0]
mov edx, 1
call fcn.00492aa8
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 0x4917ff
mov eax, dword [esi]
mov eax, dword [eax + 0x398]
cmp byte [eax + 0x40], 0
je 0x4918f1
xor edx, edx
call fcn.00437478
cmp dword [ebp - 4], 0
jle 0x49191d
mov eax, dword [esi]
mov eax, dword [eax + 0x36c]
mov edx, 0x491b18
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x360]
mov edx, 0x491b2c
call fcn.0043e868
jmp 0x491941
mov eax, dword [esi]
mov eax, dword [eax + 0x36c]
mov edx, 0x491b4c
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x360]
mov edx, 0x491b60
call fcn.0043e868
mov eax, dword [esi]
mov eax, dword [eax + 0x314]
mov edx, 0x491b7c
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 0x491993
lea eax, [ebp - 0xe4]
mov edx, 0x37
call fcn.0040485c
ret