Function at 0x14000f8f0
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
cmp dword [0x140021868], 4
jne 0x14000fb25
mov eax, dword [0x1400203bc]
mov dword [rsp + 0x20], eax
lea r9, str.C:TMPS7LOG
lea r8, [0x1400207c8]
mov edx, 0x100
lea rcx, [0x140022910]
call qword [sym.imp.MSVCR90.dll_sprintf_s]
lea r8, [0x1400207d4]
lea rdx, [0x140022910]
lea rcx, [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_fopen_s]
test eax, eax
je 0x14000f96f
mov dword [0x1400234a4], 0xffffffff
jmp 0x14000fb25
mov r8d, 2
xor edx, edx
mov rcx, qword [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_fseek]
mov rcx, qword [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_ftell]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jl 0x14000fb1b
mov eax, dword [0x1400203b8]
cmp dword [rsp + 0x48], eax
jle 0x14000fb0f
mov rcx, qword [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_fclose]
mov eax, 3
sub eax, dword [0x1400203bc]
mov dword [0x1400203bc], eax
mov eax, dword [0x1400203bc]
mov dword [rsp + 0x20], eax
lea r9, str.C:TMPS7LOG
lea r8, [0x1400207d8]
mov edx, 0x100
lea rcx, [0x140022910]
call qword [sym.imp.MSVCR90.dll_sprintf_s]
lea r8, [0x1400207e4]
lea rdx, [0x140022910]
lea rcx, [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_fopen_s]
test eax, eax
je 0x14000fa26
mov dword [0x1400234a4], 0xffffffff
jmp 0x14000fb0d
mov r8d, 2
xor edx, edx
mov rcx, qword [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_fseek]
mov rcx, qword [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_ftell]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jl 0x14000fb03
mov eax, dword [0x1400203b8]
cmp dword [rsp + 0x48], eax
jle 0x14000faf7
mov rcx, qword [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_fclose]
mov eax, 3
sub eax, dword [0x1400203bc]
mov dword [0x1400203bc], eax
mov eax, dword [0x1400203bc]
mov dword [rsp + 0x20], eax
lea r9, str.C:TMPS7LOG
lea r8, [0x1400207e8]
mov edx, 0x100
lea rcx, [0x140022910]
call qword [sym.imp.MSVCR90.dll_sprintf_s]
lea rcx, [0x140022910]
call qword [sym.imp.MSVCR90.dll_remove]
mov dword [rsp + 0x48], eax
lea r8, [0x1400207f4]
lea rdx, [0x140022910]
lea rcx, [0x1400224f0]
call qword [sym.imp.MSVCR90.dll_fopen_s]
test eax, eax
je 0x14000faeb
mov dword [0x1400234a4], 0xffffffff
jmp 0x14000faf5
mov dword [0x1400234a4], 1
jmp 0x14000fb01
mov dword [0x1400234a4], 1
jmp 0x14000fb0d
mov dword [0x1400234a4], 0xffffffff
jmp 0x14000fb19
mov dword [0x1400234a4], 1
jmp 0x14000fb25
mov dword [0x1400234a4], 0xffffffff
movzx eax, word [rsp + 0xe0]
mov word [rsp + 0x30], ax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x40
ja 0x14000fb88
cmp dword [rsp + 0x88], 0x40
je 0x14000fc7d
cmp dword [rsp + 0x88], 0x20
ja case.0x14000fb86.3
mov eax, dword [rsp + 0x88]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x10174]
mov eax, dword [rcx + rax*4 + 0x10154]
add rax, rcx
jmp rax
cmp dword [rsp + 0x88], 0x20000000
ja 0x14000fbde
cmp dword [rsp + 0x88], 0x20000000
je 0x14000fca7
cmp dword [rsp + 0x88], 0x80
je 0x14000fc8b
cmp dword [rsp + 0x88], 0x1000000
je 0x14000fcc3
cmp dword [rsp + 0x88], 0x10000000
je 0x14000fc99
jmp case.0x14000fb86.3
cmp dword [rsp + 0x88], 0x40000000
je 0x14000fcb5
cmp dword [rsp + 0x88], 0xffffffff
je 0x14000fc0f
jmp case.0x14000fb86.3
lea rax, [0x1400207f8]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x1400207fc]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020800]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020804]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020808]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x14002080c]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020810]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020814]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020818]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x14002081c]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020820]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020824]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020828]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x14002082c]
mov qword [rsp + 0x38], rax
jmp 0x14000fcdd
lea rax, [0x140020830]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 1
je 0x14000fd0e
cmp dword [rsp + 0x8c], 2
je 0x14000fd3c
cmp dword [rsp + 0x8c], 3
je 0x14000fd6a
jmp 0x14000fd96
lea rax, [0x140020834]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [0x140020838]
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.MSVCR90.dll_sprintf_s]
jmp 0x14000fd96
lea rax, [0x140020840]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [0x140020844]
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.MSVCR90.dll_sprintf_s]
jmp 0x14000fd96
lea rax, [0x14002084c]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [0x140020850]
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rcx, qword [rsp + 0xb0]
add rcx, 2
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
mov r9d, 8
lea r8, [0x140020858]
mov edx, 9
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rcx, qword [rsp + 0xb0]
add rcx, 0xf
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 2
lea r8, [0x140020860]
mov edx, 3
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rcx, qword [rsp + 0xb0]
add rcx, 0xb
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
mov r9d, 3
lea r8, [0x140020868]
mov edx, 4
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov r11d, dword [rsp + 0xd8]
mov dword [rsp + 0x90], r11d
cmp dword [rsp + 0x90], 0xffffffff
je 0x14000feae
cmp dword [rsp + 0x90], 0
je 0x14000fe6e
cmp dword [rsp + 0x90], 1
je 0x14000fe8e
jmp 0x14000fece
mov rcx, qword [rsp + 0xb0]
add rcx, 0x12
lea r8, str.INFO
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
jmp 0x14000fef4
mov rcx, qword [rsp + 0xb0]
add rcx, 0x12
lea r8, str.WARNING
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
jmp 0x14000fef4
mov rcx, qword [rsp + 0xb0]
add rcx, 0x12
lea r8, str.ERROR
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
jmp 0x14000fef4
mov rcx, qword [rsp + 0xb0]
add rcx, 0x12
mov r9d, dword [rsp + 0xd8]
lea r8, [0x14002089c]
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x1f], 0
cmp dword [0x140021864], 2
je 0x14000ff16
cmp dword [0x140021864], 1
jne 0x140010082
lea rcx, [rsp + 0x78]
call fcn.1400101d0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400101a0
test eax, eax
jne 0x14000ffa2
mov rcx, qword [rsp + 0xb0]
add rcx, 0x2c
lea r9, [rsp + 0x50]
lea r8, str._Y__m__d
mov edx, 0xc
call qword [sym.imp.MSVCR90.dll_strftime]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x39
lea r9, [rsp + 0x50]
lea r8, [0x1400208b4]
mov edx, 0xa
call qword [sym.imp.MSVCR90.dll_strftime]
movzx r9d, word [rsp + 0x80]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x41
lea r8, [0x1400208b8]
mov edx, 5
call qword [sym.imp.MSVCR90.dll_sprintf_s]
jmp 0x14000ffde
mov rcx, qword [rsp + 0xb0]
add rcx, 0x2c
lea r8, str.0000_00_00
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x39
lea r8, [0x1400208d0]
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x53
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 5
mov r9d, 5
lea r8, [0x1400208e0]
mov edx, 6
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov edx, 0x5c
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.MSVCR90.dll_strrchr]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140010044
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rax
jmp 0x140010052
mov rax, qword [rsp + 0x40]
add rax, 1
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xb0]
add rcx, 0x46
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [0x1400208e8]
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
jmp 0x1400100e8
cmp dword [0x140021864], 3
jne 0x1400100e8
lea rcx, [0x1400224f8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1400100a7
mov qword [0x1400224f8], 0
pxor xmm3, xmm3
cvtsi2sd xmm3, qword [0x1400224f8]
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [0x140023090]
divsd xmm3, xmm0
mov rcx, qword [rsp + 0xb0]
add rcx, 0x39
movq r9, xmm3
lea r8, [0x1400208f0]
mov edx, 0xd
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x59
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 0x22
lea r8, [0x1400208f8]
mov edx, 0x23
call qword [sym.imp.MSVCR90.dll_sprintf_s]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x7c
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
lea r8, [0x140020900]
mov edx, 0x101
call qword [sym.imp.MSVCR90.dll_sprintf_s]
add rsp, 0xa8
ret