Function at 0x140001fe0
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x140010334]
xor edx, edx
movabs rax, 0x100000000
div rcx
xor edx, edx
mov rbp, rax
mov rax, qword [0x140010280]
div rcx
lea rcx, str.pg_xlog
mov qword [0x140010248], rax
call fcn.140008380
mov rsi, rax
test rax, rax
jne 0x140002078
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 + 0x30], r14
call qword [sym.imp.MSVCR120.dll__errno]
xor r14d, r14d
mov rcx, rsi
mov dword [rax], r14d
call fcn.1400084f0
mov rdi, rax
test rax, rax
je 0x140002171
nop dword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdi + rcx + 8], r14b
jne 0x1400020a4
cmp rcx, 0x18
jne 0x1400020cb
lea rdx, str.0123456789ABCDEF
lea rcx, [rdi + 8]
call qword [sym.imp.MSVCR120.dll_strspn]
cmp rax, 0x18
je 0x14000210b
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdi + rax + 8], r14b
jne 0x1400020d0
cmp rax, 0x20
jne 0x140002154
lea rdx, str.0123456789ABCDEF
lea rcx, [rdi + 8]
call qword [sym.imp.MSVCR120.dll_strspn]
cmp rax, 0x18
jne 0x140002154
lea rcx, [rdi + 0x20]
lea rdx, str..partial
call sub.MSVCR120.dll_strcmp
test eax, eax
jne 0x140002154
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
lea rdx, str._08X_08X_08X
lea rcx, [rdi + 8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR120.dll_sscanf]
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
imul rcx, rbp
add rcx, rax
mov rax, qword [0x140010248]
cmp rcx, rax
cmova rax, rcx
mov qword [0x140010248], rax
call qword [sym.imp.MSVCR120.dll__errno]
mov rcx, rsi
mov dword [rax], r14d
call fcn.1400084f0
mov rdi, rax
test rax, rax
jne 0x1400020a0
call qword [sym.imp.MSVCR120.dll__errno]
mov r14, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1400021d3
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
mov rcx, rsi
call fcn.1400085e0
test eax, eax
je 0x140002231
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 eax, dword [0x140010334]
imul rax, qword [0x140010248]
add rax, 0xffffff
shr rax, 0x18
inc rax
mov qword [0x140010248], rax
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret