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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7710
mov eax, dword fs:[0]
push eax
sub esp, 0xb30
mov eax, dword [0x503040]
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.0040f4f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x970]
mov eax, dword [str..log]
mov dword [ebp - 0x18], eax
mov al, byte [0x4df728]
push 1
push 0x4d9534
mov byte [ebp - 0x14], al
call fcn.0040f0e0
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 0x459db9
lea edx, [edi + 3]
mov ecx, str.Clear3005Log_date_error
call fcn.0045aa30
jmp 0x45a2b2
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.0040ddf0
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.004150a0
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 0x45a0da
mov esi, eax
test byte [ebp - 0xb20], 0x10
jne 0x45a0b1
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 0x459e89
xor ecx, ecx
jmp 0x459e9b
lea ecx, [ebp - 0xaf4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x459e92
sub ecx, edx
push ecx
lea eax, [ebp - 0xaf4]
push eax
lea ecx, [ebp - 0x9b8]
call fcn.0040f4f0
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 0x459f2e
push dword [sym.imp.MSVCR120.dll_tolower]
lea edx, [ebp - 0x9a0]
push edx
mov edx, ecx
lea ecx, [ebp - 0xb24]
push eax
call fcn.00435c40
add esp, 0xc
cmp dword [ebp - 0x98c], 0x10
jb 0x459f3a
mov eax, dword [ebp - 0x9a0]
jmp 0x459f40
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 0x459f65
test dl, dl
je 0x459f61
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x459f65
add eax, 2
add ecx, 2
test dl, dl
jne 0x459f45
xor eax, eax
jmp 0x459f6a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45a05e
lea ecx, [ebp - 0xaf4]
lea eax, [ebp - 0x940]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x459fa0
test dl, dl
je 0x459f9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x459fa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x459f80
xor eax, eax
jmp 0x459fa5
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a05e
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 0x4ddaf8
push eax
call fcn.004150a0
add esp, 0x10
mov dword [ebp - 0xb28], 0xf
cmp byte [ebp - 0x140], 0
mov dword [ebp - 0xb2c], 0
mov byte [ebp - 0xb3c], 0
jne 0x45a005
xor ecx, ecx
jmp 0x45a019
lea ecx, [ebp - 0x140]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a010
sub ecx, edx
push ecx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.0040f4f0
lea eax, [ebp - 0xb3c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x94c]
call fcn.00435670
cmp dword [ebp - 0xb28], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x45a064
push dword [ebp - 0xb3c]
call esi
add esp, 4
jmp 0x45a064
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x98c], 0x10
jb 0x45a078
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 0x45a0ab
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 0x459e31
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 0x45a2b2
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.0040f3d0
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x45a138
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 0x45a18d
cmp dword [ebp - 0x974], 0x10
cmovae eax, dword [ebp - 0x988]
push eax
push str._s_delete
jmp 0x45a1a1
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.0040ddf0
mov eax, dword [0x50d6e0]
add esp, 0xc
test al, 1
jne 0x45a1ef
or eax, 1
mov dword [0x50d6e0], eax
push 0x57c
push 0
push 0x50d6f0
mov byte [ebp - 4], 6
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.004574c0
push 0x4d0fa0
call fcn.004b7531
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [0x50d738]
test eax, eax
je 0x45a26f
mov eax, dword [0x50d738]
mov edi, dword [eax + 0x11c]
test edi, edi
je 0x45a26f
cmp dword [edi + 0x100], 0
je 0x45a26f
push 0x54
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x45a26f
mov ecx, eax
call fcn.004641a0
mov esi, eax
test esi, esi
je 0x45a26f
sub esp, 0x18
mov dword [esi], 1
lea eax, [ebp - 0x540]
mov dword [esi + 0x34], 0xff6600
mov ecx, esp
push eax
call fcn.0040f5f0
mov ecx, esi
call fcn.00464300
mov edi, dword [edi + 0x100]
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a26f
push esi
mov ecx, edi
call fcn.00465ec0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x974], 0x10
jb 0x45a28b
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 0x45a0f5
cmp dword [ebp - 0x95c], 0x10
jb 0x45a2ca
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 0x45a2fa
push esi
push edi
call fcn.0040dcf0
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.004b73db
mov esp, ebp
pop ebp
ret