Function at 0x41c8b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x210
mov al, byte [0x4caf40]
push ebx
push ebp
xor ebx, ebx
push esi
xor ebp, ebp
cmp al, bl
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
jne 0x41c9bb
lea eax, [esp + 0x1c]
push eax
push 0x26
call fcn.00423070
add esp, 8
test eax, eax
jne 0x41c910
cmp dword [esp + 0x1c], 2
jne 0x41c910
cmp byte [esp + 0x20], bl
je 0x41c910
push 0x103
lea ecx, [esp + 0x24]
push ecx
push 0x4caf40
call fcn.00458f80
add esp, 0xc
jmp 0x41c926
mov edx, dword [str.c:_temp]
mov eax, dword [0x47335c]
mov dword [0x4caf40], edx
mov dword [0x4caf44], eax
mov eax, 0x4caf40
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41c930
sub eax, edx
cmp byte [eax + 0x4caf3f], 0x5c
je 0x41c95a
mov edi, 0x4caf40
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x41c948
mov cx, word [0x469b10]
mov word [edi], cx
mov edi, 0x4caf40
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x41c960
mov edx, dword [str.KLogConfig_]
mov eax, dword [0x473350]
mov ecx, dword [0x473354]
mov dword [edi], edx
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov edi, 0x4caf40
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x41c987
mov edx, dword [str.LogParsers.xml]
mov eax, dword [0x4733c8]
mov ecx, dword [0x4733cc]
mov dword [edi], edx
mov dx, word [0x4733d0]
mov dword [edi + 4], eax
mov al, byte [0x4733d2]
mov dword [edi + 8], ecx
mov word [edi + 0xc], dx
mov byte [edi + 0xe], al
push ebx
push 0x80
push 3
push ebx
mov edi, 1
push edi
push 0x80000000
push 0x4caf40
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41cb39
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4cb464], ebx
je 0x41caa5
cmp byte [0x4ccfa0], bl
je 0x41caa5
mov dword [esp + 0x10], edi
cmp dword [0x4cd0ac], ebx
je 0x41ca28
mov ecx, 0x4ccf98
call fcn.0043e3f0
cmp dword [esp + 0x10], ebx
je 0x41ca5f
push ebx
push 0x4cb464
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, eax
cmp esi, ebx
je 0x41ca5f
push esi
mov ecx, 0x4ccf98
call fcn.00432a80
test eax, eax
jne 0x41ca5f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0045932f
add esp, 4
push 0x4caf40
mov ecx, 0x4ccf98
call fcn.0043e9a0
mov ebp, eax
cmp ebp, ebx
je 0x41cb26
cmp dword [0x4cb780], ebx
jne 0x41cb12
cmp ebp, 0xfffffc11
jne 0x41cadd
push str.LogParser.dll
lea edx, [esp + 0x24]
push str.ERROR:__s_is_not_loaded._n
push edx
call fcn.00458ee7
add esp, 0xc
jmp 0x41cb01
mov ecx, dword [0x4cb150]
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov ecx, dword [esp + 0x14]
jne 0x41cabf
cmp ecx, dword [0x4cb14c]
je 0x41cacf
mov dword [0x4cb150], eax
mov dword [0x4cb14c], ecx
jmp 0x41ca16
cmp dword [0x4cd0ac], ebx
jne 0x41cbaf
jmp 0x41ca5f
push ebp
mov ecx, 0x4ccf98
call fcn.0043e830
push eax
push ebp
push 0x4caf40
lea eax, [esp + 0x2c]
push str.ERROR:_Failed_to_load_log_parser_definition___.260s_._Error:___d___s._n
push eax
call fcn.00458ee7
add esp, 0x14
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], edi
call fcn.0043e010
add esp, 4
mov eax, dword [0x4cb780]
inc eax
cmp eax, 0x14
mov dword [0x4cb780], eax
jle 0x41cbaf
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword [0x4cb780], ebx
pop ebx
add esp, 0x210
ret
cmp dword [0x4cd0ac], ebx
je 0x41cb5c
push 0x4caf40
call fcn.0044c6d0
add esp, 4
test eax, eax
jne 0x41cb5c
mov ecx, 0x4ccf98
call fcn.0043e3f0
cmp dword [0x4cb464], ebx
je 0x41cbaf
cmp byte [0x4ccfa0], bl
je 0x41cbaf
cmp dword [0x4cd0ac], ebx
je 0x41cb7e
mov ecx, 0x4ccf98
call fcn.0043e3f0
push ebx
push 0x4cb464
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, eax
cmp esi, ebx
je 0x41cbaf
push esi
mov ecx, 0x4ccf98
call fcn.00432a80
test eax, eax
jne 0x41cbaf
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0045932f
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x210
ret