Function at 0x45ce40
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cadc0
mov eax, dword fs:[0]
push eax
sub esp, 0xb30
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x944], 0
xor esi, esi
movq qword [ebp - 0x94c], xmm0
xor edi, edi
mov dword [ebp - 0x948], esi
mov dword [ebp - 0x94c], edi
mov dword [ebp - 0x944], esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x970]
push 0xd
push str..log3005log
mov dword [ebp - 0x95c], 0xf
mov dword [ebp - 0x960], esi
mov byte [ebp - 0x970], 0
call fcn.0040f700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x970]
mov eax, dword [str..log]
mov dword [ebp - 0x18], eax
mov al, byte [0x4e2aa0]
push 1
push 0x4dc678
mov byte [ebp - 0x14], al
call fcn.0040f2f0
xorps xmm0, xmm0
lea eax, [ebp - 0x958]
push eax
movdqu xmmword [ebp - 0x38], xmm0
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
lea eax, [ebp - 0x958]
push eax
lea eax, [ebp - 0x9dc]
push eax
call dword [sym.imp.MSVCR120.dll__localtime64_s]
lea eax, [ebp - 0x9dc]
push eax
push str._Y_m_d
lea eax, [ebp - 0x38]
push 0x1f
push eax
call dword [sym.imp.MSVCR120.dll_strftime]
lea eax, [ebp - 0x38]
push 0x20
push eax
call dword [sym.imp.MSVCR120.dll_strnlen]
add esp, 0x20
cmp eax, 8
je 0x45cf59
lea edx, [edi + 3]
mov ecx, str.Clear3005Log_date_error
call fcn.0045dcd0
jmp 0x45d452
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push str.Newthirdparty_3005log
lea eax, [ebp - 0x940]
push str._s__s_s
push eax
call fcn.0040e000
add esp, 0x14
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x95c], 0x10
lea eax, [ebp - 0x970]
cmovae eax, dword [ebp - 0x970]
push ecx
push str.Newthirdparty_3005log
push eax
lea eax, [ebp - 0x140]
push str._s_s__s
push eax
call fcn.00416a10
add esp, 0x14
lea eax, [ebp - 0xb20]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x954], eax
cmp eax, 0xffffffff
je 0x45d27a
mov esi, eax
test byte [ebp - 0xb20], 0x10
jne 0x45d251
mov esi, dword [sym.imp.MSVCR120.dll_strnlen]
lea eax, [ebp - 0xaf4]
push 0x104
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x18]
push 5
push eax
call esi
add esp, 0x10
mov dword [ebp - 0x9a4], 0xf
sub edi, eax
mov dword [ebp - 0x9a8], 0
cmp byte [ebp - 0xaf4], 0
mov byte [ebp - 0x9b8], 0
jne 0x45d029
xor ecx, ecx
jmp 0x45d03b
lea ecx, [ebp - 0xaf4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d032
sub ecx, edx
push ecx
lea eax, [ebp - 0xaf4]
push eax
lea ecx, [ebp - 0x9b8]
call fcn.0040f700
mov dword [ebp - 0x98c], 0xf
mov dword [ebp - 0x990], 0
mov byte [ebp - 0x9a0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9b8]
cmp dword [ebp - 0x9a4], 0x10
mov edx, dword [ebp - 0x9b8]
mov eax, dword [ebp - 0x9a8]
cmovae ecx, edx
add eax, ecx
cmp dword [ebp - 0x9a4], 0x10
lea ecx, [ebp - 0x9b8]
cmovae ecx, edx
cmp ecx, eax
je 0x45d0ce
push dword [sym.imp.MSVCR120.dll_tolower]
lea edx, [ebp - 0x9a0]
push edx
mov edx, ecx
lea ecx, [ebp - 0xb24]
push eax
call fcn.00437940
add esp, 0xc
cmp dword [ebp - 0x98c], 0x10
jb 0x45d0da
mov eax, dword [ebp - 0x9a0]
jmp 0x45d0e0
lea eax, [ebp - 0x9a0]
mov dword [ebp - 0xb24], eax
lea eax, [ebp - 0x9a0]
lea ecx, [ebp - 0x18]
add eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45d105
test dl, dl
je 0x45d101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45d105
add eax, 2
add ecx, 2
test dl, dl
jne 0x45d0e5
xor eax, eax
jmp 0x45d10a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45d1fe
lea ecx, [ebp - 0xaf4]
lea eax, [ebp - 0x940]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45d140
test dl, dl
je 0x45d13c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45d140
add eax, 2
add ecx, 2
test dl, dl
jne 0x45d120
xor eax, eax
jmp 0x45d145
sbb eax, eax
or eax, 1
test eax, eax
je 0x45d1fe
cmp dword [ebp - 0x95c], 0x10
lea ecx, [ebp - 0xaf4]
push ecx
lea eax, [ebp - 0x970]
cmovae eax, dword [ebp - 0x970]
push eax
lea eax, [ebp - 0x140]
push 0x4e0d20
push eax
call fcn.00416a10
add esp, 0x10
mov dword [ebp - 0xb28], 0xf
cmp byte [ebp - 0x140], 0
mov dword [ebp - 0xb2c], 0
mov byte [ebp - 0xb3c], 0
jne 0x45d1a5
xor ecx, ecx
jmp 0x45d1b9
lea ecx, [ebp - 0x140]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d1b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.0040f700
lea eax, [ebp - 0xb3c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x94c]
call fcn.004373a0
cmp dword [ebp - 0xb28], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x45d204
push dword [ebp - 0xb3c]
call esi
add esp, 4
jmp 0x45d204
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x98c], 0x10
jb 0x45d218
push dword [ebp - 0x9a0]
call esi
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x9a4], 0x10
mov dword [ebp - 0x98c], 0xf
mov dword [ebp - 0x990], 0
mov byte [ebp - 0x9a0], 0
jb 0x45d24b
push dword [ebp - 0x9b8]
call esi
add esp, 4
mov esi, dword [ebp - 0x954]
lea eax, [ebp - 0xb20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45cfd1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x948]
mov edi, dword [ebp - 0x94c]
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45d452
push 0xffffffffffffffff
push 0
add esi, 0xffffffe8
mov dword [ebp - 0x974], 0xf
push esi
lea ecx, [ebp - 0x988]
mov dword [ebp - 0x978], 0
mov byte [ebp - 0x988], 0
call fcn.0040f5e0
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x45d2d8
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x988]
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x974], 0x10
mov dword [ebp - 0x948], esi
cmovae eax, dword [ebp - 0x988]
push eax
call dword [sym.imp.MSVCR120.dll_remove]
add esp, 4
test eax, eax
lea eax, [ebp - 0x988]
jne 0x45d32d
cmp dword [ebp - 0x974], 0x10
cmovae eax, dword [ebp - 0x988]
push eax
push str._s_delete
jmp 0x45d341
cmp dword [ebp - 0x974], 0x10
cmovae eax, dword [ebp - 0x988]
push eax
push str._s_delete_failed__d_
lea eax, [ebp - 0x540]
push eax
call fcn.0040e000
mov eax, dword [0x510930]
add esp, 0xc
test al, 1
jne 0x45d38f
or eax, 1
mov dword [0x510930], eax
push 0x57c
push 0
push 0x510940
mov byte [ebp - 4], 6
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.0045a500
push 0x4d4740
call fcn.004ba7c1
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [0x510988]
test eax, eax
je 0x45d40f
mov eax, dword [0x510988]
mov edi, dword [eax + 0x11c]
test edi, edi
je 0x45d40f
cmp dword [edi + 0x100], 0
je 0x45d40f
push 0x54
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x45d40f
mov ecx, eax
call fcn.004674b0
mov esi, eax
test esi, esi
je 0x45d40f
sub esp, 0x18
mov dword [esi], 1
lea eax, [ebp - 0x540]
mov dword [esi + 0x34], 0xff6600
mov ecx, esp
push eax
call fcn.0040f800
mov ecx, esi
call fcn.00467610
mov edi, dword [edi + 0x100]
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45d40f
push esi
mov ecx, edi
call fcn.004691c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x974], 0x10
jb 0x45d42b
push dword [ebp - 0x988]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x948]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x94c]
mov ecx, esi
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x45d295
cmp dword [ebp - 0x95c], 0x10
jb 0x45d46a
push dword [ebp - 0x970]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x95c], 0xf
mov dword [ebp - 0x960], 0
mov byte [ebp - 0x970], 0
test edi, edi
je 0x45d49a
push esi
push edi
call fcn.0040df00
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.004ba66b
mov esp, ebp
pop ebp
ret