Function at 0x140002270
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140010200]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rcx, str.pg_xlog
call fcn.140008380
mov rsi, rax
test rax, rax
jne 0x1400022f8
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_open_directory___s_:__s_n
mov rbx, rax
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rdi, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140010358]
lea r9, str.pg_xlog
lea rcx, [rax + 0x60]
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call fcn.140006620
lea ecx, [rsi + 1]
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov qword [rsp + 0x460], rbp
call qword [sym.imp.MSVCR120.dll__errno]
xor ebp, ebp
mov rcx, rsi
mov dword [rax], ebp
call fcn.1400084f0
mov rdi, rax
test rax, rax
je 0x1400023e5
nop
lea rbx, [rdi + 8]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x140002330
cmp rax, 0x18
jne 0x140002355
lea rdx, str.0123456789ABCDEF
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_strspn]
cmp rax, 0x18
je 0x140002399
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x140002360
cmp rax, 0x20
jne 0x1400023c9
lea rdx, str.0123456789ABCDEF
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_strspn]
cmp rax, 0x18
jne 0x1400023c9
lea rcx, [rdi + 0x20]
lea rdx, str..partial
call sub.MSVCR120.dll_strcmp
test eax, eax
jne 0x1400023c9
lea r9, str.pg_xlog
lea r8, str._s__s
lea rcx, [rsp + 0x30]
mov edx, 0x408
mov qword [rsp + 0x20], rbx
call fcn.140006400
lea rcx, [rsp + 0x30]
call fcn.140007cf0
test eax, eax
js 0x140002445
call qword [sym.imp.MSVCR120.dll__errno]
mov rcx, rsi
mov dword [rax], ebp
call fcn.1400084f0
mov rdi, rax
test rax, rax
jne 0x140002320
call qword [sym.imp.MSVCR120.dll__errno]
cmp dword [rax], ebp
je 0x140002495
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_read_directory___s_:__s_n
mov rbx, rax
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rdi, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140010358]
lea r9, str.pg_xlog
lea rcx, [rax + 0x60]
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call fcn.140006620
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_delete_file___s_:__s_n
mov rbx, rax
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rdi, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140010358]
lea r9, [rsp + 0x30]
lea rcx, [rax + 0x60]
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call fcn.140006620
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rcx, rsi
call fcn.1400085e0
test eax, eax
je 0x1400024f3
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR120.dll_strerror]
lea rcx, str._s:_could_not_close_directory___s_:__s_n
mov rbx, rax
call qword [sym.imp.libintl.dll_libintl_gettext]
mov rdi, rax
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [0x140010358]
lea r9, str.pg_xlog
lea rcx, [rax + 0x60]
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call fcn.140006620
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rbp, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400096d0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret