Function at 0x446cc0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478f84
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x49e280]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
cmp byte [0x4a1fa0], bl
je 0x446d65
call fcn.00449ca0
cmp eax, 3
jg 0x446d65
cmp byte [edi + 4], 1
jne 0x446d65
push 3
push 0x7c
push str..DisplaySwitchPerfLog.cpp
lea ecx, [esp + 0x60]
call fcn.0044ac20
push str.Attempt_to_start_logging_that_already_started
push ecx
add eax, 4
push str.Check_failed:_is_logging____true.
mov dword [esp + 0x1bc], ebx
push eax
mov dword [esp + 0x24], 1
call fcn.00409a00
add esp, 0xc
push eax
call fcn.00409a00
add esp, 8
mov dword [esp + 0x1b0], 0xffffffff
test byte [esp + 0x14], 1
je 0x446d80
lea ecx, [esp + 0x54]
call fcn.0044a980
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call fcn.0044ea00
add esp, 4
mov dword [edi + 0xc8], eax
cmp dword [edi + 0x1c], ebx
jne 0x446ea4
lea ecx, [esp + 0x150]
call fcn.0044dc60
lea eax, [esp + 0x150]
push eax
push 4
mov dword [esp + 0x1b8], 1
call fcn.004532f0
add esp, 8
xor ecx, ecx
push 0x18
mov word [esp + 0x24], cx
mov esi, 7
push str.DisplaySwitchPerfLog.log
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
call fcn.00401cd0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x1b8], 2
call fcn.0044e590
mov byte [esp + 0x1b0], 4
cmp dword [esp + 0x34], 8
jb 0x446e27
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00457c05
add esp, 4
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x3c]
xor edx, edx
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
call fcn.00451a90
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 8]
mov byte [esp + 0x1bc], 5
call fcn.00401260
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x446e77
mov edx, dword [esp + 0x3c]
push edx
call fcn.00457c05
add esp, 4
lea ecx, [esp + 0x134]
mov byte [esp + 0x1b0], 1
call fcn.0044dc80
lea ecx, [esp + 0x150]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.0044dc80
jmp 0x446ea9
mov esi, 0x10
cmp dword [edi + 0x20], esi
jb 0x446eb3
mov eax, dword [edi + 0xc]
jmp 0x446eb6
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x446ed5
cmp dword [edi + 0x20], esi
jb 0x446ecb
mov eax, dword [edi + 0xc]
jmp 0x446ece
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [edi + 0x20], esi
jb 0x446edf
mov eax, dword [edi + 0xc]
jmp 0x446ee2
lea eax, [edi + 0xc]
add edi, 0x40
push eax
lea esi, [edi + 4]
call fcn.00448550
test eax, eax
jne 0x446f0f
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x446f08
or eax, 4
push ebx
push eax
call fcn.004098d0
mov eax, 0xf
mov dword [esp + 0x130], eax
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
mov dword [esp + 0x1b0], 6
mov dword [esp + 0x114], eax
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0x120]
mov byte [esp + 0x1b8], 8
call fcn.00446690
add esp, 8
lea ecx, [esp + 0x16c]
call fcn.00453bd0
lea eax, [esp + 0x184]
push eax
push ecx
push str.CPU__________:
push edi
mov byte [esp + 0x1c0], 9
call fcn.00409a00
add esp, 0xc
push eax
call fcn.00416b70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
call fcn.00453950
push eax
push ecx
push str.Processors___:
push edi
call fcn.00409a00
add esp, 0xc
mov ecx, eax
call fcn.00409360
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
lea ecx, [esp + 0x118]
push ecx
push ecx
push str.GPU_Vendor___:
push edi
call fcn.00409a00
add esp, 0xc
push eax
call fcn.00416b70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
lea edx, [esp + 0xfc]
push edx
push ecx
push str.VGA_Platform_:
push edi
call fcn.00409a00
add esp, 0xc
push eax
call fcn.00416b70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
lea eax, [esp + 0xe0]
push eax
push ecx
push str.Active_GPU___:
push edi
call fcn.00409a00
add esp, 0xc
push eax
call fcn.00416b70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
call fcn.00453a20
push ebx
push 0x400
push edx
push eax
call fcn.0045bee0
push ebx
push 0x400
push edx
push eax
call fcn.0045bee0
push 0x490240
push ecx
push eax
push ecx
push str.Memory__MB___:
push edi
call fcn.00409a00
add esp, 0xc
mov ecx, eax
call fcn.00409360
add esp, 4
push eax
call fcn.00409a00
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
lea ecx, [esp + 0x134]
push ecx
call fcn.004539f0
add esp, 4
push eax
push ecx
push str.OS___________:
push edi
mov byte [esp + 0x1c0], 0xa
call fcn.00409a00
add esp, 0xc
push eax
call fcn.00416b70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
mov byte [esp + 0x1b0], 9
cmp dword [esp + 0x14c], 0x10
jb 0x44714e
mov edx, dword [esp + 0x138]
push edx
call fcn.00457c05
add esp, 4
lea eax, [esp + 0x38]
push eax
call fcn.00453970
add esp, 4
push eax
push ecx
push str.OS_Version___:
push edi
mov byte [esp + 0x1c0], 0xb
call fcn.00409a00
add esp, 0xc
push eax
call fcn.00416b70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00431be0
mov ecx, esi
call fcn.00409590
mov esi, 0x10
mov byte [esp + 0x1b0], 9
cmp dword [esp + 0x50], esi
jb 0x4471ae
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00457c05
add esp, 4
push 0x490274
push edi
call fcn.00409a00
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.00431be0
mov ecx, edi
call fcn.00409590
push 0xa
mov ecx, edi
call fcn.00431be0
mov ecx, edi
call fcn.00409590
mov eax, dword [esp + 0x18]
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov byte [eax + 4], 1
cmp dword [esp + 0x19c], esi
jb 0x447205
mov edx, dword [esp + 0x188]
push edx
call fcn.00457c05
add esp, 4
mov edi, 0xf
mov dword [esp + 0x19c], edi
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
cmp dword [esp + 0xf8], esi
jb 0x447238
mov eax, dword [esp + 0xe4]
push eax
call fcn.00457c05
add esp, 4
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
cmp dword [esp + 0x114], esi
jb 0x447266
mov ecx, dword [esp + 0x100]
push ecx
call fcn.00457c05
add esp, 4
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
cmp dword [esp + 0x130], esi
jb 0x447294
mov edx, dword [esp + 0x11c]
push edx
call fcn.00457c05
add esp, 4
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00457c10
mov esp, ebp
pop ebp
ret