Function at 0x435c00
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e71e7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x998
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
movzx eax, byte [0x5748b8]
test eax, eax
jne 0x4360e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x95c], 0
lea ecx, [ebp - 0x95c]
push ecx
push str.DisableLog
push 0x509b74
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040ab10
test eax, eax
je 0x435c81
cmp dword [ebp - 0x95c], 1
jne 0x435c81
mov byte [0x56e408], 0
movzx edx, byte [0x56e408]
test edx, edx
je 0x435fb5
mov dword [ebp - 0x97c], 0x104
xor eax, eax
mov word [ebp - 0x934], ax
push 0x206
push 0
lea ecx, [ebp - 0x932]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x934]
push edx
mov eax, dword [ebp - 0x97c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x435fae
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x950]
call fcn.004152e0
mov byte [ebp - 4], 1
push 0x104
push 0x104
lea ecx, [ebp - 0x950]
call fcn.00415890
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x950]
call fcn.00415930
push 0x5c
lea ecx, [ebp - 0x950]
call fcn.00415ca0
mov dword [ebp - 0x93c], eax
mov eax, dword [ebp - 0x93c]
add eax, 1
push eax
lea ecx, [ebp - 0x9a8]
push ecx
lea ecx, [ebp - 0x950]
call fcn.00416290
mov dword [ebp - 0x968], eax
mov edx, dword [ebp - 0x968]
mov dword [ebp - 0x978], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x978]
push eax
lea ecx, [ebp - 0x950]
call fcn.00415600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9a8]
call fcn.00415310
push 0x2e
lea ecx, [ebp - 0x950]
call fcn.00415ca0
mov dword [ebp - 0x93c], eax
cmp dword [ebp - 0x93c], 0xffffffff
je 0x435e00
mov ecx, dword [ebp - 0x93c]
push ecx
lea edx, [ebp - 0x99c]
push edx
lea ecx, [ebp - 0x950]
call fcn.00415e40
mov dword [ebp - 0x980], eax
mov eax, dword [ebp - 0x980]
mov dword [ebp - 0x984], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x984]
push ecx
lea ecx, [ebp - 0x950]
call fcn.00415600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x99c]
call fcn.00415310
lea ecx, [ebp - 0x950]
call fcn.004157f0
push eax
lea edx, [ebp - 0x934]
push edx
push str._s_s_PCULog
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR120.dll_swprintf_s]
add esp, 0x14
mov dword [ebp - 0x940], 0
mov dword [ebp - 0x958], 0
xor ecx, ecx
mov dword [ebp - 0x954], ecx
mov dword [ebp - 0x938], 0
jmp 0x435e64
mov edx, dword [ebp - 0x938]
add edx, 1
mov dword [ebp - 0x938], edx
cmp dword [ebp - 0x938], 4
jge 0x435f6c
xor eax, eax
mov word [ebp - 0x72c], ax
push 0x206
push 0
lea ecx, [ebp - 0x72a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x938]
push edx
lea eax, [ebp - 0x21c]
push eax
push 0x509bb4
push 0x104
lea ecx, [ebp - 0x72c]
push ecx
call dword [sym.imp.MSVCR120.dll_swprintf_s]
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea edx, [ebp - 0x72c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x944], eax
cmp dword [ebp - 0x944], 0xffffffff
jne 0x435ef4
mov eax, dword [ebp - 0x938]
mov dword [ebp - 0x940], eax
jmp 0x435f6c
lea ecx, [ebp - 0x964]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x944]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp dword [ebp - 0x958], 0
jne 0x435f1e
cmp dword [ebp - 0x954], 0
je 0x435f36
lea eax, [ebp - 0x964]
push eax
lea ecx, [ebp - 0x958]
push ecx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x435f5a
mov edx, dword [ebp - 0x964]
mov dword [ebp - 0x958], edx
mov eax, dword [ebp - 0x960]
mov dword [ebp - 0x954], eax
mov ecx, dword [ebp - 0x938]
mov dword [ebp - 0x940], ecx
mov edx, dword [ebp - 0x944]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x435e55
mov eax, dword [ebp - 0x940]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push str._s_d.txt
push 0x104
push 0x5746b0
call dword [sym.imp.MSVCR120.dll_swprintf_s]
add esp, 0x14
push 0x5746b0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x950]
call fcn.00415310
jmp 0x435fb5
mov byte [0x56e408], 0
movzx edx, byte [0x56e408]
test edx, edx
je 0x4360c1
call fcn.00436230
push str._r_n_r_n_New_Log__r_n_r_n
lea ecx, [ebp - 0x990]
call fcn.004153a0
mov byte [ebp - 4], 4
push 0x80
lea eax, [ebp - 0x31c]
push eax
call fcn.00436580
add esp, 8
lea ecx, [ebp - 0x974]
call fcn.004152e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x31c]
push ecx
push str.Start_time:__s_r_n_r_n
lea edx, [ebp - 0x974]
push edx
call fcn.00415bb0
add esp, 0xc
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x990]
call fcn.00415710
xor ecx, ecx
mov word [ebp - 0x524], cx
push 0x206
push 0
lea edx, [ebp - 0x522]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x524]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x524]
push ecx
push str.Module:__s_r_n
lea edx, [ebp - 0x974]
push edx
call fcn.00415bb0
add esp, 0xc
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x990]
call fcn.00415710
push 0
lea ecx, [ebp - 0x990]
call fcn.004157f0
push eax
call fcn.00436380
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x974]
call fcn.00415310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x990]
call fcn.00415310
jmp 0x4360c9
mov dword [ebp - 4], 0xffffffff
jmp 0x4360d9
mov byte [0x5748b8], 1
mov al, byte [0x5748b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret