Function at 0x140001686
Capabilities:
Delete file

Disassembly:
jmp 0x14005a9d0
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402cf318]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov r13, rcx
lea rbx, [rcx + 8]
mov ecx, 2
call fcn.1400018fc
mov rdx, rax
mov r8d, 0x104
mov rcx, rbx
call fcn.1401a9be0
xor eax, eax
or rbp, 0xffffffffffffffff
mov rcx, rbp
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
jne 0x14005aa70
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005aa69
lea rdx, str.Statistics::MapStorageToStatFile:_fails_because_stat_file_path_is_invalid_
lea rcx, [0x1402cc910]
call fcn.140002036
xor al, al
jmp 0x14005b336
xor esi, esi
mov rdi, rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov r15d, esi
mov r14d, esi
mov rcx, rbx
call fcn.140001997
test al, al
jne 0x14005aec2
call fcn.140002e19
mov rdx, rax
mov r8d, 0x104
lea rcx, [rsp + 0x470]
call fcn.1401a9be0
lea ecx, [rsi + 1]
call fcn.1400018fc
mov rdx, rax
mov r8d, 0x104
lea rcx, [rsp + 0x580]
call fcn.1401a9be0
lea rcx, [rsp + 0x470]
call fcn.140001997
test al, al
je 0x14005aca8
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rsi + 7]
lea rcx, [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14005ac66
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x42e5c
xor r9d, r9d
xor edx, edx
lea r8d, [rsi + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbp, rax
test rax, rax
je 0x14005ac28
mov qword [rsp + 0x20], 0x42e5c
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
je 0x14005abec
mov r15d, dword [rax]
mov eax, 0x224
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14011b374
mov qword [rsp + 0x48], rax
test r15d, r15d
je 0x14005abc0
mov rbx, rax
nop
mov r8, rbx
mov edx, edi
mov rcx, rsi
call fcn.140002b30
add edi, 1
add rbx, 0x224
cmp edi, r15d
jb 0x14005aba0
lea rbx, [r13 + 8]
xor eax, eax
mov dword [rsi], eax
mov dword [rsi + 4], eax
mov byte [rsi + 8], 1
lea rcx, [rsi + 0xc]
xor edx, edx
mov r8d, 0x42e50
call fcn.1401a5ec0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rdi, qword [rsp + 0x48]
jmp 0x14005ac1b
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005ac1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_cannot_map_pStatStorage_Legacy_to_legacy__V0__stat_file__Err_code___d
lea rcx, [0x1402cc910]
call fcn.140002036
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x14005ac57
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005ac57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_cannot_create_mapping_for_legacy__V0__stat_file__Err_code___d
lea rcx, [0x1402cc910]
call fcn.140002036
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rbp, 0xffffffffffffffff
jmp 0x14005ac95
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005ac95
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_cannot_open_legacy__V0__stat_file._Err_code___d
lea rcx, [0x1402cc910]
call fcn.140002036
lea rcx, [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14005aec2
lea rcx, [rsp + 0x580]
call fcn.140001997
test al, al
je 0x14005aec2
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 7]
lea rcx, [rsp + 0x580]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14005ae85
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x7d7dc
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbp, rax
test rax, rax
je 0x14005ae47
mov qword [rsp + 0x20], 0x7d7dc
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
je 0x14005ae0b
mov r14d, dword [rax + 4]
mov eax, 0x404
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 4
cmovb rax, rcx
mov rcx, rax
call fcn.14011b374
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14005adb1
mov dword [rax], r14d
lea rcx, [rax + 4]
mov qword [rsp + 0x40], rcx
lea rax, [0x14000163b]
mov qword [rsp + 0x20], rax
lea r9, [0x140001618]
mov r8d, r14d
mov edx, 0x404
call fcn.1401a5ce4
mov rax, qword [rsp + 0x40]
jmp 0x14005adb8
xor eax, eax
mov qword [rsp + 0x40], rax
xor edi, edi
test r14d, r14d
je 0x14005ade2
mov rbx, rax
mov r8, rbx
mov edx, edi
mov rcx, rsi
call fcn.140002892
add edi, 1
add rbx, 0x404
cmp edi, r14d
jb 0x14005adc2
lea rbx, [r13 + 8]
xor eax, eax
mov dword [rsi + 4], eax
mov dword [rsi + 8], eax
lea rcx, [rsi + 0xc]
xor edx, edx
mov r8d, 0x7d7d0
call fcn.1401a5ec0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rdi, qword [rsp + 0x48]
jmp 0x14005ae3a
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005ae3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_cannot_map_pStatStorageV1_to_legacy__V1__stat_file__Err_code___d
lea rcx, [0x1402cc910]
call fcn.140002036
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x14005ae76
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005ae76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_cannot_create_mapping_for_legacy__V1__stat_file__Err_code___d
lea rcx, [0x1402cc910]
call fcn.140002036
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rbp, 0xffffffffffffffff
jmp 0x14005aeb4
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005aeb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_cannot_open_legacy__V1__stat_file._Err_code___d
lea rcx, [0x1402cc910]
call fcn.140002036
lea rcx, [rsp + 0x580]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 7]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [r13 + 0x7b0], rax
cmp rax, 0xffffffffffffffff
jne 0x14005af32
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005af2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.Statistics::MapStorageToStatFile:_fails_because_cannot_create_stat_file__s__errno__d
lea rcx, [0x1402cc910]
call fcn.140002036
xor al, al
jmp 0x14005b336
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x7d7dc
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [r13 + 0x7b8], rax
test rax, rax
jne 0x14005afa7
mov rcx, qword [r13 + 0x7b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r13 + 0x7b0], rbp
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005afa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_CreateFileMapping_failed_with_code__d
lea rcx, [0x1402cc910]
call fcn.140002036
xor al, al
jmp 0x14005b336
mov qword [rsp + 0x20], 0x7d7dc
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [r13], rax
test rax, rax
jne 0x14005b02b
mov rcx, qword [r13 + 0x7b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r13 + 0x7b8], rsi
mov rcx, qword [r13 + 0x7b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r13 + 0x7b0], rbp
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005b024
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Statistics::MapStorageToStatFile:_MapViewOfFile_failed_with_code__d
lea rcx, [0x1402cc910]
call fcn.140002036
xor al, al
jmp 0x14005b336
mov dword [rax], 2
test r15d, r15d
je 0x14005b18b
test rdi, rdi
je 0x14005b18b
mov dword [rsp + 0x60], 2
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x64]
call fcn.1401a5ec0
test r15d, r15d
je 0x14005b2ed
lea rsi, [rdi + 0xc]
lea rbp, [rdi + 0x1c]
mov r12d, r15d
mov r9d, 2
mov dword [rsp + 0x60], r9d
or rax, 0xffffffffffffffff
mov dword [rsp + 0x288], eax
mov dword [rsp + 0x28c], eax
xorps xmm0, xmm0
movss dword [rsp + 0x294], xmm0
xor ecx, ecx
mov dword [rsp + 0x290], ecx
mov eax, dword [rsi - 0xc]
mov dword [rsp + 0x64], eax
mov rax, qword [rsi - 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x7c], eax
test rbp, rbp
je 0x14005b0eb
mov r8d, 0x104
mov rdx, rbp
lea rcx, [rsp + 0x80]
call fcn.1401a66a0
mov r9d, dword [rsp + 0x60]
xor ecx, ecx
mov rdi, qword [r13]
cmp r9d, dword [rdi]
je 0x14005b11f
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005b169
mov r8d, dword [rdi]
lea rdx, str.Statistics::StatStorage::AddNewRecordToStorage:_STATINFO_RECORD_version_mismatch__Storage:__d__Record:__d
lea rcx, [0x1402cc910]
call fcn.140002036
jmp 0x14005b169
cmp dword [rdi + 4], 0
jne 0x14005b129
mov ebx, ecx
jmp 0x14005b138
mov ebx, dword [rdi + 8]
add ebx, 1
cmp ebx, 0x1f4
cmove ebx, ecx
mov eax, ebx
imul rax, rax, 0x404
lea rcx, [rax + rdi + 0xc]
lea rdx, [rsp + 0x60]
mov r8d, 0x404
call fcn.1401a60a0
mov dword [rdi + 8], ebx
mov eax, dword [rdi + 4]
cmp eax, 0x1f4
jae 0x14005b169
add eax, 1
mov dword [rdi + 4], eax
add rbp, 0x224
add rsi, 0x224
sub r12, 1
jne 0x14005b071
mov rbx, qword [rsp + 0x40]
jmp 0x14005b2f9
test r14d, r14d
je 0x14005b2f4
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005b2f9
mov dword [rsp + 0x60], 2
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x64]
call fcn.1401a5ec0
test r14d, r14d
je 0x14005b2f9
lea rsi, [rbx + 4]
lea rbp, [rbx + 0x20]
mov r12d, r14d
mov r9d, 2
mov dword [rsp + 0x60], r9d
or rax, 0xffffffffffffffff
mov dword [rsp + 0x28c], eax
xorps xmm0, xmm0
movss dword [rsp + 0x294], xmm0
xor ecx, ecx
mov dword [rsp + 0x290], ecx
mov eax, dword [rsi + 0x224]
mov dword [rsp + 0x288], eax
mov eax, dword [rsi]
mov dword [rsp + 0x64], eax
mov rax, qword [rsi + 4]
mov qword [rsp + 0x68], rax
mov rax, qword [rsi + 0xc]
mov qword [rsp + 0x70], rax
mov eax, dword [rsi + 0x14]
mov dword [rsp + 0x78], eax
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x7c], eax
test rbp, rbp
je 0x14005b250
mov r8d, 0x104
mov rdx, rbp
lea rcx, [rsp + 0x80]
call fcn.1401a66a0
mov r9d, dword [rsp + 0x60]
xor ecx, ecx
mov rdi, qword [r13]
cmp r9d, dword [rdi]
je 0x14005b284
mov dword [0x1402cc918], 7
cmp dword [0x1402cc924], 7
jl 0x14005b2ce
mov r8d, dword [rdi]
lea rdx, str.Statistics::StatStorage::AddNewRecordToStorage:_STATINFO_RECORD_version_mismatch__Storage:__d__Record:__d
lea rcx, [0x1402cc910]
call fcn.140002036
jmp 0x14005b2ce
cmp dword [rdi + 4], 0
jne 0x14005b28e
mov ebx, ecx
jmp 0x14005b29d
mov ebx, dword [rdi + 8]
add ebx, 1
cmp ebx, 0x1f4
cmove ebx, ecx
mov eax, ebx
imul rax, rax, 0x404
lea rcx, [rax + rdi + 0xc]
lea rdx, [rsp + 0x60]
mov r8d, 0x404
call fcn.1401a60a0
mov dword [rdi + 8], ebx
mov eax, dword [rdi + 4]
cmp eax, 0x1f4
jae 0x14005b2ce
add eax, 1
mov dword [rdi + 4], eax
add rbp, 0x404
add rsi, 0x404
sub r12, 1
jne 0x14005b1d0
mov rbx, qword [rsp + 0x40]
jmp 0x14005b2f9
mov rbx, qword [rsp + 0x40]
jmp 0x14005b2f9
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14005b30b
mov rcx, rax
call fcn.1401a5a6c
test rbx, rbx
je 0x14005b334
lea rax, [0x14000163b]
mov r9, rax
mov r8d, dword [rbx - 4]
mov edx, 0x404
mov rcx, rbx
call fcn.1401a5db4
lea rcx, [rbx - 4]
call fcn.1401a5a6c
mov al, 1
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1401a5800
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret