Function at 0x413110
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b997
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x620514]
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.0044eb90
push 3
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x60]
push 0x5d0134
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.00404900
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.00404900
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0044eec0
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4131de
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00410a60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00404840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00404840
push 4
push 0x5d0160
lea ecx, [ebp - 0x60]
call fcn.00410a60
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 0x413240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.00404900
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.0041ad30
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
push eax
call fcn.0040d8d0
mov byte [ebp - 4], 5
push 4
call fcn.0055e844
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.00404840
lea ecx, [ebp - 0xdc]
call fcn.0044e7e0
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.00419650
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 0x413326
call fcn.00459500
jmp 0x413335
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00459890
test al, al
je 0x41339e
mov eax, dword [ebp - 0xbc]
and eax, 0x10
or eax, 0
je 0x41334b
mov al, 1
jmp 0x41334d
xor al, al
test al, al
je 0x41339a
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x41339a
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 0x41339a
cmp ecx, 1
je 0x413310
cmp edx, 8
lea eax, [ebp - 0xb4]
cmovae eax, esi
cmp word [eax + 2], 0x2e
jne 0x41339a
cmp ecx, 2
je 0x413310
mov al, 1
jmp 0x4133a0
xor al, al
test al, al
je 0x413495
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d8d0
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.00410d20
add esp, 0x20
cmp eax, 6
jne 0x413451
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.0041cda0
add esp, 8
test eax, eax
jns 0x413484
push dword [ebp - 0xe4]
lea eax, [ebp - 0x48]
push eax
push ecx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041c550
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.00404840
jmp 0x413310
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x100]
call fcn.0043efc0
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x413472
mov eax, dword [eax]
push eax
call edi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x100]
call fcn.00404840
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.00404840
jmp 0x413310
mov eax, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x2c]
mov eax, dword [eax + 0x48]
cmp edi, eax
jbe 0x41354e
sub edi, eax
je 0x41354e
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.0043efc0
add esp, 4
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x4134d8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x100]
call fcn.00404840
mov ecx, dword [esi + 8]
mov eax, esi
cmp byte [ecx + 0xd], 0
je 0x413514
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x413528
cmp eax, dword [ecx + 8]
jne 0x413528
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x413502
jmp 0x413528
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x413528
nop dword [eax]
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x413520
push esi
lea ecx, [ebp - 0x30]
call fcn.004163a0
mov esi, eax
lea ecx, [esi + 0x10]
call fcn.00404840
push 0x28
push esi
call fcn.0055e874
add esp, 8
test edi, edi
jne 0x4134b1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
mov esi, dword [ebp - 0x30]
push dword [esi + 4]
call fcn.004196d0
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.0055e874
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb4]
call fcn.00404840
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x4135c6
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4135bb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4135bb
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.0055e874
add esp, 8
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.00404840
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00404840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00404840
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.0055e833
mov esp, ebp
pop ebp
ret