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

Disassembly:
push 0xffffffffffffffff
push 0x4212e9
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x4300b8]
xor eax, esp
mov dword [esp + 0x510], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4300b8]
xor eax, esp
push eax
lea eax, [esp + 0x52c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x53c]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], ebp
call fcn.00405570
mov dword [esp + 0x534], 0
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x534], 1
lea ecx, [ebp + 0xf8]
push ecx
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x534], 2
lea edx, [esp + 0x8c]
push edx
lea edi, [esp + 0x4c]
call fcn.00416f60
add esp, 4
mov byte [esp + 0x534], 1
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, 8
cmp dword [esp + 0xa4], edi
jb 0x414478
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], eax
jmp 0x414483
lea ecx, [esp + 0x90]
mov dword [esp + 0x38], ecx
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x326]
push eax
mov word [esp + 0x328], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp + 0xe4], 0xffffffff
jne 0x4144ce
mov ecx, dword [esp + 0x38]
push ecx
push str._s.log
lea edx, [esp + 0x324]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll__snwprintf]
add esp, 0x10
jmp 0x41450b
xor eax, eax
cmp ax, word [0x431138]
je 0x4144e0
mov eax, 0x431138
jmp 0x4144e5
call fcn.00413ea0
mov ecx, dword [esp + 0x38]
push eax
push str.TSLOG
push ecx
push str._s_s._s__..log
lea edx, [esp + 0x32c]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll__snwprintf]
add esp, 0x18
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x320]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x3c], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x534], 4
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x534], 5
cmp esi, 0xffffffff
je 0x414786
jmp 0x414565
mov edi, 8
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x74]
call dword [0x422258]
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp + 0xe4], 0xffffffff
jne 0x4145ac
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x4145a0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41476b
mov esi, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x4145bd
lea esi, [esp + 0x74]
call fcn.00412590
mov dword [esp + 0x30], eax
test eax, eax
jl 0x41476b
mov esi, dword [esp + 0x24]
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x28]
jbe 0x4145e0
call edi
mov ebx, dword [esp + 0x18]
mov ebp, esi
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x24], esi
jbe 0x4145f2
call edi
test ebx, ebx
je 0x4145fc
cmp ebx, dword [esp + 0x18]
je 0x4145fe
call edi
cmp ebp, esi
je 0x4146b0
test ebx, ebx
jne 0x414632
call edi
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x414615
call edi
mov ecx, dword [esp + 0x30]
cmp ecx, dword [ebp]
je 0x41463a
test ebx, ebx
jne 0x414636
call edi
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x41462d
call edi
add ebp, 0x28
jmp 0x4145e6
mov eax, dword [ebx]
jmp 0x41460e
mov eax, dword [ebx]
jmp 0x414626
test ebx, ebx
jne 0x41467d
call edi
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x414649
call edi
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0xe4]
lea esi, [ebp + 4]
cmp eax, ecx
jbe 0x414681
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0xe4]
mov dword [esi + 0x20], ecx
jmp 0x4146b0
mov eax, dword [ebx]
jmp 0x414642
jne 0x4146b0
mov edx, dword [esi + 0x1c]
cmp edx, dword [esp + 0xe0]
jbe 0x4146b0
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esp + 0xe0]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0xe4]
mov dword [esi + 0x20], edx
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x24], esi
jbe 0x4146bc
call edi
test ebx, ebx
je 0x4146c6
cmp ebx, dword [esp + 0x18]
je 0x4146c8
call edi
cmp ebp, esi
jne 0x414767
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
sub esp, 0x24
mov eax, esp
mov dword [esp + 0x64], esp
push eax
lea edi, [esp + 0xd0]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], edx
call fcn.00413a80
mov byte [esp + 0x558], 6
mov ecx, dword [esp + 0x54]
push ecx
mov byte [esp + 0x55c], 5
lea esi, [esp + 0x70]
call fcn.004130c0
add esp, 0x28
mov byte [esp + 0x534], 7
push eax
lea edi, [esp + 0x1c]
call fcn.00413020
mov byte [esp + 0x534], 5
lea edx, [esp + 0x4c]
mov dword [esp + 0x40], edx
mov byte [esp + 0x534], 5
mov ecx, edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0xcc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414560
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0x66666667
imul ecx
mov eax, dword [ebp + 0xe8]
sar edx, 4
mov edi, edx
mov ebx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [ebp + 0xe4]
inc ebx
lea ecx, [esp + 0x31c]
push ecx
neg ebx
push eax
sbb ebx, ebx
lea esi, [ebx + edi]
push esi
push edx
push str.DeleteLogFile__MaxCountOfHistroyProcess_:__d__CurrentHistroyProcess_:__d__CurrentLogFileHandle_:_0x_08x__PathWildcard_:__s
push ebp
mov dword [esp + 0x48], edi
call fcn.00416ba0
add esp, 0x18
cmp esi, dword [ebp + 0xe4]
jle 0x414923
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebp, eax
cmp esi, eax
jbe 0x414801
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
cmp esi, eax
jbe 0x414817
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x414821
cmp ecx, dword [esp + 0x18]
je 0x414827
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, ebp
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
push 0x413e80
add eax, edx
push eax
push ebp
push esi
call fcn.00413d40
mov edx, dword [esp + 0x44]
mov ecx, ebx
sub ecx, dword [edx + 0xe4]
add esp, 0x10
add ecx, edi
xor esi, esi
test ecx, ecx
jle 0x414923
xor ebp, ebp
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, edi
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x414895
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + ebp]
sub edi, ecx
mov dword [esp + 0x3c], edx
mov eax, 0x66666667
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4148bd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov ecx, dword [ecx + ebp]
mov edi, dword [esp + 0x34]
push eax
push ecx
push str.DeleteLogFiles__AllFilesOfPid_:__lu_0x_08x_
push edi
call fcn.00416ba0
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0x10
cmp esi, eax
jb 0x4148fd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + ebp]
push edx
push edi
call fcn.00413f80
mov eax, ebx
sub eax, dword [edi + 0xe4]
inc esi
add eax, dword [esp + 0x30]
add ebp, 0x28
cmp esi, eax
jl 0x414866
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ebx, ecx
cmp eax, ecx
jbe 0x41493f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edi, eax
cmp eax, ecx
jbe 0x41494f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
push ebx
push esi
push edi
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004142d0
mov byte [esp + 0x534], 4
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x534], 1
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x534], 0
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x534], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
call fcn.00412510
mov eax, 1
mov ecx, dword [esp + 0x52c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x510]
xor ecx, esp
call fcn.0041e4d2
add esp, 0x524
ret 4