Function at 0x1800185b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x50], rsp
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov eax, dword [0x1800a4278]
test eax, eax
je 0x1800186c1
cmp eax, 0x10
jne 0x180018c03
mov dword [0x1800a4278], 0x11
call fcn.18000dce0
test al, al
je 0x180018618
mov dword [0x1800a4278], r12d
jmp 0x1800186c1
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x180018645
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1800186b7
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180018691
mov byte [rbx + 0xffff], r12b
mov dword [rsp + 0x28], 0x11
mov qword [rsp + 0x20], rbx
lea r9, [0x18008c1a8]
mov edx, 0x304
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x1800186af
mov edx, 0x11
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, 0x11
jmp 0x180018c03
test rdi, rdi
je 0x180018ab5
test rbx, rbx
je 0x180018ab5
test r15, r15
je 0x180018ab5
test r14, r14
je 0x180018ab5
mov rcx, qword [0x1800a6d10]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x7d85a
call fcn.180053ad4
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x180018851
mov qword [rsp + 0x30], r12
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
mov ecx, 0x2000a
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x1800187f8
test rax, rax
je 0x1800187f8
mov r9d, 0x7d850
lea r8, str.size:__d
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x1800187de
mov word [rbx + 0x1fffe], r12w
lea rdx, [rsi - 2]
mov rcx, rbx
call fcn.180053398
lea r8, [rax + 1]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, rbx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180054798
test eax, eax
je 0x1800187b1
lea r8d, [rsi + 5]
mov rdx, rbx
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rdi
lea r9, [0x18008c1a8]
mov edx, 0x30f
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180018811
mov edx, 5
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001880b
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rdi, rdi
je 0x18001881e
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18001882b
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x3c], 5
lea rdx, [0x180018847]
mov rcx, qword [rsp + 0x50]
call fcn.180057580
nop
nop
nop
mov eax, 5
jmp 0x180018c03
xor edx, edx
mov r8d, 0x7d850
mov rcx, rax
call fcn.180056c20
lea rdx, str.chrome
mov rcx, rdi
call fcn.180052ca8
test eax, eax
jne 0x180018881
mov rdx, rsi
mov rcx, rbx
call fcn.180033790
jmp 0x1800188a6
lea rdx, str.firefox
mov rcx, rdi
call fcn.180052ca8
test eax, eax
jne 0x1800189f0
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.18002fda0
mov dword [rsp + 0x30], eax
mov ebx, eax
test eax, eax
jne 0x180018937
mov eax, dword [rsi + 0x20c]
mov dword [r14], eax
mov edi, r12d
mov dword [rsp + 0x38], r12d
cmp edi, dword [rsi + 0x20c]
jae 0x180018912
movsxd rcx, edi
imul rbx, rcx, 0x20c
imul rax, rcx, 0x3228
lea r8, [rsi + 0x1210]
add r8, rax
lea rcx, [r14 + 4]
add rcx, rbx
mov edx, 0x104
mov r9d, edx
call fcn.180054f68
mov eax, dword [rsi + 0x3430]
mov dword [rbx + r14 + 0x20c], eax
inc edi
mov dword [rsp + 0x38], edi
jmp 0x1800188c5
mov rcx, qword [0x1800a6d10]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rsi
call fcn.180053a94
mov qword [rsp + 0x48], r12
xor eax, eax
jmp 0x180018c03
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
test rax, rax
jne 0x180018964
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1800189cf
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x1800189ac
mov byte [rdi + 0xffff], 0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r9, [0x18008c1a8]
mov edx, 0x32b
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x1800189c7
mov edx, ebx
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
call fcn.180053a94
mov dword [rsp + 0x40], ebx
lea rdx, [0x1800189e7]
mov rcx, qword [rsp + 0x50]
call fcn.180057580
nop
nop
nop
mov eax, dword [rsp + 0x30]
jmp 0x180018c03
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x180018a1d
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180018a8f
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180018a69
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
lea r9, [0x18008c1a8]
mov edx, 0x31d
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180018a87
mov edx, 8
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x44], 8
lea rdx, [0x180018aab]
mov rcx, qword [rsp + 0x50]
call fcn.180057580
nop
nop
nop
mov eax, 8
jmp 0x180018c03
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x180018ae2
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180018b54
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180018b2e
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
lea r9, [0x18008c1a8]
mov edx, 0x308
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180018b4c
mov edx, 8
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, 8
jmp 0x180018c03
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret