Function at 0x140007cb0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140007cb0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.MSVCR110.dll__vscprintf]
inc eax
je 0x140008070
movsxd rbx, eax
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_malloc]
mov r15, rax
mov r9, rsi
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCR110.dll_vsprintf_s]
mov r12d, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp qword [0x14007c380], 0
je 0x140008062
mov rcx, qword [0x14007cb78]
mov qword [rbp - 0x79], rcx
mov rcx, qword [0x14007cb80]
mov qword [rbp - 0x71], rcx
test rcx, rcx
je 0x140007d54
lock inc dword [rcx + 8]
lea rax, [rbp - 0x79]
mov qword [rbp - 0x69], rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r14
lea rdx, [rbp - 0x79]
lea rcx, [rsp + 0x20]
call fcn.140001168
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x140007d8b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x140007db7
lock dec dword [rbx + 8]
jne 0x140007db2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lock dec dword [rbx + 0xc]
jne 0x140007db2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rsi, qword [rsp + 0x20]
lea rbx, [0x14007ca70]
cmp qword [0x14007cb08], 0
jne 0x140007e30
lea rdx, [0x14007c370]
cmp qword [0x14007c388], 0x10
cmovae rdx, qword [0x14007c370]
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rcx, [0x14007ca78]
call fcn.140001aaf
xor r8d, r8d
test rax, rax
mov rax, qword [0x14007ca70]
movsxd rcx, dword [rax + 4]
jne 0x140007e17
add rcx, rbx
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x140007e22
add rcx, rbx
xor edx, edx
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
cmp qword [0x14007cb08], 0
je 0x140008024
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rax, qword [0x14007ca70]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], 0x30
mov edx, 2
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP110.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [0x14007ca70]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
movzx edx, word [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14005f000]
call fcn.140003ae4
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x30
mov edx, 2
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP110.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
movzx edx, word [rbp + 0x11]
mov rcx, rbx
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14005f000]
call fcn.140003ae4
mov rbx, rax
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov byte [r8 + rax + 0x58], 0x30
mov edx, 2
lea rcx, [rbp - 0x49]
call qword [sym.imp.MSVCP110.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
movzx edx, word [rbp + 0x13]
mov rcx, rbx
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14005eeac]
call fcn.140003ae4
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x30
mov edx, 3
lea rcx, [rbp - 0x39]
call qword [sym.imp.MSVCP110.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov edx, 5
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP110.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r13, rax
movzx edx, word [rbp + 0x15]
mov rcx, rbx
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x14005eff4]
call fcn.140003ae4
mov rbx, rax
test rax, rax
jne 0x140007f87
mov rcx, r14
jmp 0x140007f91
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [r13 + 8]
call qword [r13]
mov edx, 5
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP110.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14005effc]
call fcn.140003ae4
mov rbx, rax
test rax, rax
je 0x140007fdd
mov rax, qword [rax]
movsxd r14, dword [rax + 4]
add r14, rbx
mov rdx, qword [r13 + 8]
mov rcx, r14
call qword [r13]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14005eff4]
call fcn.140003ae4
mov rcx, rax
mov rdx, r15
call fcn.140003ae4
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::flush_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
test rsi, rsi
je 0x140008033
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140008062
lock dec dword [rcx + 8]
jne 0x140008062
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lock dec dword [rbx + 0xc]
jne 0x140008062
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r15
call qword [sym.imp.MSVCR110.dll_free]
mov eax, r12d
jmp 0x140008073
or eax, 0xffffffff
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140052d40
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret