Function at 0x1006cac0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b199f
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100db00c]
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 edx, dword [ebp + 8]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], edx
mov eax, dword [edx]
test eax, eax
js 0x1006d232
cmp eax, dword [esi + 0x78]
jg 0x1006d232
imul edi, eax, 0x88
add edi, esi
cmp byte [edi + 0xd4], 0
je 0x1006d23e
cmp byte [edi + 0xcd], 0
je 0x1006d23e
mov eax, dword [edx + 0xc]
cmp eax, dword [edi + 0xc8]
jl 0x1006d23e
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x10]
cmp ecx, dword [edi + 0xec]
jl 0x1006cb7b
jg 0x1006cb5e
cmp eax, dword [edi + 0xe8]
jb 0x1006cb7b
sub eax, dword [edi + 0xe8]
sbb ecx, dword [edi + 0xec]
test ecx, ecx
jg 0x1006cb7b
jl 0x1006cb77
cmp eax, 0x15180
jae 0x1006cb7b
mov cl, 1
jmp 0x1006cb7d
xor cl, cl
mov eax, dword [edi + 0xd0]
shl eax, 0x14
test cl, cl
je 0x1006cb9a
cmp dword [edi + 0xf4], eax
jbe 0x1006cbbe
inc dword [edi + 0xf0]
jmp 0x1006cba4
mov dword [edi + 0xf0], 0
cmp dword [edi + 0xf8], 0
lea ecx, [edi + 0xf8]
je 0x1006cbbe
call fcn.10067d10
mov edx, dword [ebp - 0x284]
cmp dword [edi + 0xf8], 0
jne 0x1006d22e
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
push eax
mov dword [edi + 0xe4], eax
lea eax, [ebp - 0x2ac]
push ecx
push eax
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xf4], 0
call fcn.10068100
movups xmm0, xmmword [eax]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x220], ecx
movups xmmword [ebp - 0x240], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x230], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x274], 0
movups xmm0, xmmword [eax + 0x10]
mov eax, ecx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x27c]
push eax
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x27c], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov dword [ebp - 0x248], 0
add esp, 0x10
mov dword [ebp - 0x244], 0
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], edx
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xf
mov byte [ebp - 0x21c], 0
mov byte [ebp - 4], 1
lea eax, [edi + 0x98]
push eax
lea ecx, [ebp - 0x258]
call fcn.10018240
lea eax, [edi + 0xb0]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10018240
push 0x1f4
lea eax, [ebp - 0x204]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [edi + 0xce], 0
je 0x1006cd63
mov eax, dword [ebp - 0x230]
inc eax
push eax
mov eax, dword [ebp - 0x22c]
add eax, 0x76c
push eax
lea eax, [ebp - 0x204]
push str._04d__02d_
push eax
call fcn.1001a530
lea ecx, [ebp - 0x204]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006cd47
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1001ec10
sub esp, 0x18
lea eax, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.100038b0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
call fcn.10069710
add esp, 0x18
test al, al
jne 0x1006cdb5
sub esp, 0x18
lea eax, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.100038b0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
call fcn.100697c0
add esp, 0x18
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x1006cdc0
mov eax, dword [eax]
cmp dword [ebp - 0x244], 0x10
lea edx, [ebp - 0x258]
lea ecx, [esi + 0x40]
cmovae edx, dword [ebp - 0x258]
cmp dword [ecx + 0x14], 0x10
jb 0x1006cddf
mov ecx, dword [ecx]
push dword [edi + 0xf0]
push eax
push dword [ebp - 0x23c]
mov eax, dword [ebp - 0x230]
push dword [ebp - 0x238]
inc eax
push dword [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x22c]
add eax, 0x76c
push eax
push edx
push ecx
lea eax, [ebp - 0x204]
push str._s__s__04d_02d_02d_02d_02d__s__03u.log
push eax
call fcn.1001a530
lea ecx, [ebp - 0x204]
add esp, 0x2c
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ce30
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1001ec10
cmp dword [ebp - 0x208], 0x10
lea eax, [ebp - 0x21c]
push 0x100c03d4
cmovae eax, dword [ebp - 0x21c]
lea ecx, [edi + 0xf8]
push eax
call fcn.10067c90
cmp dword [edi + 0xf8], 0
je 0x1006d10a
test eax, eax
js 0x1006d10a
cmp dword [edi + 0xdc], 0
mov dword [edi + 0xf4], eax
jl 0x1006d101
jg 0x1006cea8
cmp dword [edi + 0xd8], 0
jbe 0x1006d101
mov eax, dword [edi + 0x100]
cmp eax, 7
jbe 0x1006cfbd
test eax, eax
je 0x1006cfbd
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 0x1006cfbd
jl 0x1006cef3
cmp dword [esi + 8], eax
jae 0x1006cfbd
mov eax, dword [edi + 0xfc]
mov eax, dword [eax]
add eax, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x1006cf06
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.100069b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 0x10
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x1006cf72
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006cf68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d0d6
push edx
push ecx
call fcn.100a272d
add esp, 8
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov edx, dword [eax]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [edi + 0x100]
call fcn.1006e630
cmp dword [edi + 0x100], 0
jne 0x1006cec0
cmp dword [edi + 0x100], 0
je 0x1006d009
mov eax, dword [edi + 0xfc]
cmp dword [ebp - 0x208], 0x10
mov edx, dword [eax + 4]
lea eax, [ebp - 0x21c]
cmovae eax, dword [ebp - 0x21c]
cmp dword [edx + 0x24], 0x10
lea ecx, [edx + 0x10]
jb 0x1006cfef
mov ecx, dword [edx + 0x10]
push dword [ebp - 0x20c]
mov edx, dword [edx + 0x20]
push eax
call fcn.1006eb90
add esp, 8
test al, al
jne 0x1006d101
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x238], edx
call fcn.100038b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
mov esi, dword [edi + 0xfc]
push ecx
mov dword [ebp - 0x288], 1
mov eax, dword [esi + 4]
push eax
push esi
mov dword [ebp - 0x284], eax
call fcn.1006ead0
mov edx, eax
mov ecx, 0x6666665
mov eax, dword [edi + 0x100]
sub ecx, eax
cmp ecx, 1
jae 0x1006d080
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 - 0x284]
mov dword [esi + 4], edx
mov dword [eax], edx
mov eax, 1
mov dword [ebp - 0x288], eax
and eax, 0xfffffffe
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x1006d0e6
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d0dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d0dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov byte [ebp - 0x27d], 1
jmp 0x1006d16d
cmp dword [ebp - 0x208], 0x10
lea eax, [ebp - 0x21c]
cmovae eax, dword [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push str.log4z:_can_not_open_log_file__s.__r_n
push eax
call fcn.1001a530
add esp, 0xc
mov ecx, esi
push 6
push str.____________________________r_n
call fcn.1006ae90
push 6
lea eax, [ebp - 0x204]
mov ecx, esi
push eax
call fcn.1006ae90
push 6
push str.____________________________r_n
mov ecx, esi
call fcn.1006ae90
mov byte [edi + 0xcd], 0
mov byte [ebp - 0x27d], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x208]
cmp edx, 0x10
jb 0x1006d1ad
mov ecx, dword [ebp - 0x21c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d1a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d1a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xf
mov byte [ebp - 0x21c], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x1006d20b
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006d201
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d201
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov al, byte [ebp - 0x27d]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
jmp 0x1006d240
mov al, 1
jmp 0x1006d240
push 6
push str.log4z:_openLogger_can_not_open__invalide_logger_id___r_n
call fcn.1006ae90
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.100a26ec
mov esp, ebp
pop ebp
ret 4