Function at 0x180033310
Capabilities:
Print debug messages
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x50], rsp
movsxd rbx, r8d
mov rdi, rdx
mov r12, rcx
xor esi, esi
mov dword [rax + 0x20], esi
mov qword [rax - 0x58], rsi
mov dword [rax - 0x60], 0x80
mov dword [rax - 0x68], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
imul r14, rbx, 0x2008
add r14, rdi
mov qword [r14], rax
cmp rax, 0xffffffffffffffff
jne 0x180033445
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [rax + 0x1e]
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [rax + 0x1e]
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x1800333b9
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 0x180033424
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180033401
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
lea r9, str.OpenChromeDataFile
mov edx, 0x59d
mov r8d, 1
lea rcx, str...StandAloneSvcExploitFiles.cpp
call fcn.180001b40
jmp 0x18003341c
mov edx, esi
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], edi
lea rdx, [0x18003343c]
mov rcx, qword [rsp + 0x50]
call fcn.180057580
nop
nop
nop
mov eax, dword [rsp + 0x40]
jmp 0x180033770
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xa8]
mov r8d, 0x2000
lea rdx, [r14 + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800335fc
cmp dword [rsp + 0xa8], 0x2000
jne 0x1800335fc
cmp dword [r14 + 0xc], 0x20000
je 0x1800335f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r15d, [rax + 0x1e]
mov dword [rsp + 0x40], r15d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [rax + 0x1e]
mov qword [rsp + 0x58], 0
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
mov ecx, 0x2000a
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18003359f
test rax, rax
je 0x18003359f
mov edx, dword [r14 + 0xc]
movzx ecx, dx
shr edx, 0x10
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov ecx, dword [r14 + 8]
mov dword [rsp + 0x20], ecx
mov r9, r12
lea r8, str.__s____Magic:__X___Version:__d._d
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x180033588
xor eax, eax
mov word [rbx + 0x1fffe], ax
lea rdx, [rax - 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 + 0x58]
call fcn.180054798
test eax, eax
je 0x18003355f
mov r8d, esi
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], esi
mov qword [rsp + 0x20], rdi
lea r9, str.OpenChromeDataFile
mov edx, 0x5a9
mov r8d, 1
lea rcx, str...StandAloneSvcExploitFiles.cpp
call fcn.180001b40
jmp 0x1800335b8
mov edx, esi
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x1800335b2
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 0x1800335c5
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x1800335d2
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x48], r15d
lea rdx, [0x1800335eb]
mov rcx, qword [rsp + 0x50]
call fcn.180057580
nop
nop
nop
mov eax, dword [rsp + 0x40]
jmp 0x180033770
nop
xor eax, eax
jmp 0x180033770
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [rax + 0x1e]
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [rax + 0x1e]
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x18003363f
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 0x1800336aa
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180033687
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
lea r9, str.OpenChromeDataFile
mov edx, 0x5a2
mov r8d, 1
lea rcx, str...StandAloneSvcExploitFiles.cpp
call fcn.180001b40
jmp 0x1800336a2
mov edx, esi
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 + 0x4c], edi
lea rdx, [0x1800336c2]
mov rcx, qword [rsp + 0x50]
call fcn.180057580
nop
nop
nop
mov eax, dword [rsp + 0x40]
jmp 0x180033770
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret