Function at 0x498f2c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x498f34
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c8c
xor eax, eax
push ebp
push 0x4994dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408fec
inc eax
je 0x4994b5
mov eax, dword [ebp - 4]
call fcn.00404a9c
mov edx, dword [ebp - 4]
movzx edx, byte [edx + eax - 1]
lea eax, [ebp - 0x1c]
call fcn.004049a8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408674
mov eax, dword [ebp - 0x18]
mov edx, 0x4994f4
call fcn.00404be8
jne 0x49921f
xor edx, edx
push ebp
push 0x499215
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4639d8]
call fcn.00463c88
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
call fcn.004218ac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x3b8]
mov edx, dword [edx + 0x170]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.0042187c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x20]
mov ecx, 0x499500
call fcn.00404ae8
mov edx, dword [ebp - 0x20]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 4]
mov ecx, 0x499500
call fcn.00404ae8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x4990f7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, 0x1e4
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x49950c]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb18
jmp 0x49910d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x499175
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 0xf2
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x49950c]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb3c
jmp 0x49918b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 8]
mov ecx, 0x499518
call fcn.00404ae8
mov eax, dword [ebp - 8]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0xc]
mov ecx, 0x49952c
call fcn.00404ae8
mov eax, dword [ebp - 0xc]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49921f
mov eax, dword [ebp - 4]
call fcn.00404a9c
mov edx, dword [ebp - 4]
movzx edx, byte [edx + eax - 1]
lea eax, [ebp - 0x2c]
call fcn.004049a8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408674
mov eax, dword [ebp - 0x28]
mov edx, 0x499540
call fcn.00404be8
jne 0x4994b5
xor edx, edx
push ebp
push 0x4994ab
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x3b8]
mov edx, dword [edx + 0x170]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.0042187c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x30]
mov ecx, 0x499500
call fcn.00404ae8
mov edx, dword [ebp - 0x30]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 4]
mov ecx, 0x499500
call fcn.00404ae8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x49938d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, 0x1e4
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x49950c]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb18
jmp 0x4993a3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x49940b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 0xf2
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x49950c]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb3c
jmp 0x499421
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x10]
mov ecx, 0x499518
call fcn.00404ae8
mov eax, dword [ebp - 0x10]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x14]
mov ecx, 0x49952c
call fcn.00404ae8
mov eax, dword [ebp - 0x14]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4994b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4994e4
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004047e4
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004047e4
ret