Function at 0x470880
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7836
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4d3a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
push 0
push 0x4b5c4d
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004015b6
push 0
push 0x4b5c4d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004015b6
push 0
push 0x4b5c4d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.004015b6
push 0
push 0x4b5c4d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.004015b6
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x228]
call fcn.0046eb20
cmp dword [ebp - 0x30], 8
mov ecx, esi
je 0x4709a4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
push 1
call fcn.00473530
jmp 0x470a56
cmp dword [ebp - 0x18], 8
je 0x4709c6
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call fcn.00473530
jmp 0x470a56
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00471c90
test al, al
jne 0x4709f4
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
push 4
call fcn.00473530
cmp dword [ebp - 0x2c], 0x10
jb 0x470a11
cmp dword [ebp - 0x40], 0
jne 0x470a11
cmp byte [esi + 0x9b], 0
je 0x470a11
push 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x14], 0x10
jb 0x470a2e
cmp dword [ebp - 0x28], 0
jne 0x470a2e
cmp byte [esi + 0x9b], 0
je 0x470a2e
push 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esi + 0x3c]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x470a42
push 0xffffffffffffffff
push 0
push eax
call fcn.00401524
lea ecx, [esi + 0x54]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x470a56
push 0xffffffffffffffff
push 0
push eax
call fcn.00401524
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp dword [esi + 0x38], 0
mov byte [ebp - 4], 5
jne 0x470aa7
cmp dword [esi + 0x110], 0x10
lea eax, [esi + 0xfc]
jb 0x470a97
mov eax, dword [eax]
push 0
push eax
push dword [0x4d3008]
mov ecx, esi
call fcn.004713c0
add esi, 0xfc
cmp dword [esi + 0x14], 0x10
jb 0x470ab5
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x44], 0x10
jb 0x470acd
push dword [ebp - 0x58]
call fcn.0047b56e
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x470af0
push dword [ebp - 0x70]
call fcn.0047b56e
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x470b13
push dword [ebp - 0x28]
call fcn.0047b56e
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x470b36
push dword [ebp - 0x40]
call fcn.0047b56e
add esp, 4
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x470b5c
push dword [ebp - 0x88]
call fcn.0047b56e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret