Function at 0x406440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7a33
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x128], 0
cmp dword [ebp + 8], 0
je 0x406487
cmp dword [ebp + 0xc], 0
jg 0x406492
mov eax, dword [ebp - 0x128]
jmp 0x406734
push 0x4c20e8
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x150]
call fcn.004057d0
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x4064bf
xor eax, eax
jmp 0x406734
lea ecx, [ebp - 0x12c]
call fcn.00404690
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00406e20
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x406517
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x130]
jmp 0x406734
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.report.xml
lea ecx, [ebp - 0x12c]
call fcn.00406e60
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40656e
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x134]
jmp 0x406734
lea ecx, [ebp - 0x12c]
call fcn.00406ed0
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00405540
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x4065df
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x138], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x138]
jmp 0x406734
cmp dword [ebp - 0x124], 0xfffb4
jb 0x40661f
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x13c]
jmp 0x406734
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 4]
mov dword [ebp - 0x120], eax
push 0
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
push edx
push 0
mov ecx, dword [ebp - 0x150]
call fcn.004056b0
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x406681
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x140]
jmp 0x406734
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x150]
call fcn.004053a0
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x4066c6
mov dword [ebp - 0x144], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x144]
jmp 0x406734
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov ecx, dword [ebp - 0x150]
call fcn.00405710
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x406712
mov dword [ebp - 0x148], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x148]
jmp 0x406734
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00406e00
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 8