Function at 0x4134a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42473d
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x430038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x264], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x260], 0
mov ecx, dword [esi]
test ecx, ecx
js 0x413ac3
cmp ecx, dword [eax + 0x78]
jg 0x413ac3
imul edi, ecx, 0x88
add edi, eax
cmp byte [edi + 0xd4], 0
je 0x413ad1
cmp byte [edi + 0xcd], 0
je 0x413ad1
mov eax, dword [esi + 0xc]
cmp eax, dword [edi + 0xc8]
jl 0x413ad1
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov edx, dword [edi + 0xe8]
cmp ecx, dword [edi + 0xec]
jl 0x413559
jg 0x413540
cmp eax, edx
jb 0x413559
sub eax, edx
sbb ecx, dword [edi + 0xec]
test ecx, ecx
jg 0x413559
jl 0x413555
cmp eax, 0x15180
jae 0x413559
mov cl, 1
jmp 0x41355b
xor cl, cl
mov eax, dword [edi + 0xd0]
shl eax, 0x14
test cl, cl
je 0x413578
cmp dword [edi + 0xf4], eax
jbe 0x413596
inc dword [edi + 0xf0]
jmp 0x413582
mov dword [edi + 0xf0], 0
cmp dword [edi + 0xf8], 0
lea ecx, [edi + 0xf8]
je 0x413596
call fcn.0040eb30
cmp dword [edi + 0xf8], 0
jne 0x413abf
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
mov dword [edi + 0xe4], eax
lea eax, [ebp - 0x2b0]
push ecx
push eax
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xf4], 0
call fcn.0040ee90
movups xmm0, xmmword [eax]
mov ecx, dword [eax + 0x20]
movups xmmword [ebp - 0x28c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x27c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x220], 0
movups xmm0, xmmword [eax + 0x10]
mov eax, ecx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x228]
push eax
movups xmmword [ebp - 0x218], xmm0
mov dword [ebp - 0x228], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
add esp, 0x10
mov dword [edi + 0xe8], eax
lea ecx, [ebp - 0x258]
mov dword [edi + 0xec], edx
call fcn.00406fc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00406fc0
mov byte [ebp - 4], 1
lea eax, [edi + 0x98]
push eax
lea ecx, [ebp - 0x258]
call fcn.00414940
lea eax, [edi + 0xb0]
push eax
lea ecx, [ebp - 0x240]
call fcn.00414940
push 0x1f4
lea eax, [ebp - 0x204]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [edi + 0xce], 0
je 0x4136da
mov eax, dword [ebp - 0x27c]
inc eax
push eax
mov eax, dword [ebp - 0x278]
add eax, 0x76c
push eax
lea eax, [ebp - 0x204]
push str._04d__02d_
push eax
call fcn.0040e850
add esp, 0x10
lea eax, [ebp - 0x204]
lea ecx, [ebp - 0x240]
push eax
call fcn.00406e80
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406fe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.00406e50
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.00406ef0
test esi, esi
jne 0x41373e
sub esp, 0x18
lea eax, [ebp - 0x240]
mov ecx, esp
mov dword [ebp - 0x268], esp
push eax
call fcn.00406fe0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
call fcn.00410ad0
add esp, 0x18
mov esi, dword [ebp - 0x264]
push dword [edi + 0xf0]
lea ecx, [esi + 0x28]
call fcn.00406e50
push eax
push dword [ebp - 0x288]
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x258]
push dword [ebp - 0x284]
inc eax
push dword [ebp - 0x280]
push eax
mov eax, dword [ebp - 0x278]
add eax, 0x76c
push eax
call fcn.00406e50
push eax
lea ecx, [esi + 0x40]
call fcn.00406e50
push eax
lea eax, [ebp - 0x204]
push str._s__s__04d_02d_02d_02d_02d__s__03u.log
push eax
call fcn.0040e850
add esp, 0x2c
lea eax, [ebp - 0x204]
lea ecx, [ebp - 0x240]
push eax
call fcn.00406e80
push 0x428398
lea ecx, [ebp - 0x240]
call fcn.00406e50
push eax
lea ecx, [edi + 0xf8]
call fcn.0040eab0
cmp dword [edi + 0xf8], 0
je 0x413a3c
test eax, eax
js 0x413a3c
cmp dword [edi + 0xdc], 0
mov dword [edi + 0xf4], eax
jl 0x413a33
jg 0x413807
cmp dword [edi + 0xd8], 0
jbe 0x413a33
mov eax, dword [edi + 0x100]
cmp eax, 7
jbe 0x4138e1
test eax, eax
je 0x4138e1
nop
mov esi, dword [edi + 0xfc]
push 0
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
sub eax, dword [edi + 0xd8]
sbb edx, dword [edi + 0xdc]
cmp dword [esi + 0xc], edx
jg 0x4138e1
jl 0x413853
cmp dword [esi + 8], eax
jae 0x4138e1
mov eax, dword [edi + 0xfc]
mov ecx, dword [eax]
lea ecx, [ecx + 0x10]
call fcn.00406e50
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406f80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00406e50
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.00406ef0
mov eax, dword [edi + 0xfc]
mov esi, dword [eax]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 8]
dec dword [edi + 0x100]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0x10]
call fcn.00406ef0
push 0x28
push esi
call fcn.004212e0
add esp, 8
cmp dword [edi + 0x100], 0
jne 0x413820
cmp dword [edi + 0x100], 0
je 0x413987
mov eax, dword [edi + 0xfc]
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0x10]
call fcn.004079f0
lea ecx, [ebp - 0x240]
mov esi, eax
call fcn.004079f0
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x413916
mov edx, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x413920
mov ecx, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, dword [eax + 0x10]
jne 0x413987
sub esi, 4
jb 0x413941
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41394a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x413930
cmp esi, 0xfffffffc
je 0x413a33
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x413987
cmp esi, 0xfffffffd
je 0x413a33
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x413987
cmp esi, 0xfffffffe
je 0x413a33
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x413987
cmp esi, 0xffffffff
je 0x413a33
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x413a33
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x220], edx
call fcn.00406fe0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x224]
mov esi, dword [edi + 0xfc]
push ecx
mov dword [ebp - 0x260], 1
mov eax, dword [esi + 4]
push eax
push esi
mov dword [ebp - 0x264], eax
call fcn.00415260
mov edx, eax
mov ecx, 0x6666665
mov eax, dword [edi + 0x100]
sub ecx, eax
cmp ecx, 1
jae 0x4139fe
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [edi + 0x100], eax
mov eax, dword [ebp - 0x264]
mov dword [esi + 4], edx
mov dword [eax], edx
mov eax, 1
mov dword [ebp - 0x260], eax
and eax, 0xfffffffe
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.00406ef0
mov byte [ebp - 0x259], 1
jmp 0x413a96
lea ecx, [ebp - 0x240]
call fcn.00406e50
push eax
lea eax, [ebp - 0x204]
push str.log4z:_can_not_open_log_file__s.__r_n
push eax
call fcn.0040e850
add esp, 0xc
mov ecx, esi
push 6
push str.____________________________r_n
call fcn.00411db0
push 6
lea eax, [ebp - 0x204]
mov ecx, esi
push eax
call fcn.00411db0
push 6
push str.____________________________r_n
mov ecx, esi
call fcn.00411db0
mov byte [edi + 0xcd], 0
mov byte [ebp - 0x259], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00406ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00406ef0
mov al, byte [ebp - 0x259]
jmp 0x413ad3
mov al, 1
jmp 0x413ad3
push 6
push str.log4z:_openLogger_can_not_open__invalide_logger_id___r_n
mov ecx, eax
call fcn.00411db0
xor al, al
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.004210a4
mov esp, ebp
pop ebp
ret 4