Function at 0x412ea0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564ef7
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x608514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xe0], esi
lea ecx, [ebp - 0x9c]
call fcn.004494c0
push 3
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x60]
push 0x5b76e0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.004047a0
mov dword [ebp - 4], 0
xor eax, eax
push 0x11
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
push str._Y__m__d__H__M__S
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.004047a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004497f0
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x412f6e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004107e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004046e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004046e0
push 4
push 0x5b770c
lea ecx, [ebp - 0x60]
call fcn.004107e0
lea edx, [esi + 0x74]
mov dword [ebp - 0x68], 0
mov ecx, edx
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412fd0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.004047a0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push str..log
lea edx, [ebp - 0x78]
movq qword [ebp - 0x84], xmm0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x94], xmm0
call fcn.0041aaa0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
push eax
call fcn.0040d690
mov byte [ebp - 4], 5
push 4
call fcn.0054bee4
add esp, 4
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 6
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 5
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004046e0
lea ecx, [ebp - 0xdc]
call fcn.00449110
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004193c0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xd
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop word [eax + eax]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0xdc]
push eax
cmp dword [ecx], 0xffffffff
je 0x4130b6
call fcn.00454f40
jmp 0x4130c5
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004552d0
test al, al
je 0x41312e
mov eax, dword [ebp - 0xbc]
and eax, 0x10
or eax, 0
je 0x4130db
mov al, 1
jmp 0x4130dd
xor al, al
test al, al
je 0x41312a
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x41312a
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0xb4]
mov esi, dword [ebp - 0xb4]
cmp edx, 8
cmovae eax, esi
cmp word [eax], 0x2e
jne 0x41312a
cmp ecx, 1
je 0x4130a0
cmp edx, 8
lea eax, [ebp - 0xb4]
cmovae eax, esi
cmp word [eax + 2], 0x2e
jne 0x41312a
cmp ecx, 2
je 0x4130a0
mov al, 1
jmp 0x413130
xor al, al
test al, al
je 0x413225
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d690
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x18], xmm0
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push str.ma__d__d__d__d__d__d.log
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00410aa0
add esp, 0x20
cmp eax, 6
jne 0x4131e1
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
mov edx, dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
push eax
call fcn.0041cb30
add esp, 8
test eax, eax
jns 0x413214
push dword [ebp - 0xe4]
lea eax, [ebp - 0x48]
push eax
push ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041c2c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.004046e0
jmp 0x4130a0
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x100]
call fcn.00433480
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x413202
mov eax, dword [eax]
push eax
call edi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x100]
call fcn.004046e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.004046e0
jmp 0x4130a0
mov eax, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x2c]
mov eax, dword [eax + 0x48]
cmp edi, eax
jbe 0x4132de
sub edi, eax
je 0x4132de
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x100]
dec edi
mov esi, dword [esi]
lea eax, [esi + 0x10]
push eax
call fcn.00433480
add esp, 4
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x413268
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x100]
call fcn.004046e0
mov ecx, dword [esi + 8]
mov eax, esi
cmp byte [ecx + 0xd], 0
je 0x4132a4
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4132b8
cmp eax, dword [ecx + 8]
jne 0x4132b8
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x413292
jmp 0x4132b8
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x4132b8
nop dword [eax]
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4132b0
push esi
lea ecx, [ebp - 0x30]
call fcn.00416110
mov esi, eax
lea ecx, [esi + 0x10]
call fcn.004046e0
push 0x28
push esi
call fcn.0054bf14
add esp, 8
test edi, edi
jne 0x413241
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x30]
push dword [esi + 4]
call fcn.00419440
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
mov eax, dword [ebp - 0x30]
mov dword [eax + 8], esi
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xa
push 0x28
push dword [ebp - 0x30]
call fcn.0054bf14
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb4]
call fcn.004046e0
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x413356
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41334b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41334b
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.004046e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004046e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004046e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054bed3
mov esp, ebp
pop ebp
ret