Function at 0x180027fc0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1801c3938]
xor rax, rsp
mov qword [rbp + 0x1e8], rax
mov r12, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x10], 0
jne 0x180028006
xor al, al
jmp 0x1800283ab
call fcn.18002aa00
mov rdx, rdi
lea rcx, [rbp + 0x198]
call fcn.180036580
nop
cmp qword [rax + 0x10], 0
jne 0x180028026
xor al, al
jmp 0x18002803f
cmp qword [rax + 0x18], 8
jb 0x180028030
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
sete bl
lea rcx, [rbp + 0x198]
call fcn.1800126d0
lea rcx, [rbp + 0x198]
test bl, bl
je 0x180028087
mov byte [0x1801da8d4], 1
mov rdx, rdi
call fcn.180036580
nop
mov rcx, rax
call fcn.18002f2f0
mov byte [rsi + 0x28], al
lea rcx, [rbp + 0x198]
call fcn.1800126d0
jmp 0x1800283a7
lea rdx, [0x1801493e0]
call fcn.180012650
nop
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x50]
call fcn.180038a70
nop
lea rcx, [rbp + 0x198]
call fcn.1800126d0
mov rcx, r12
call fcn.180012700
mov r9, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
test rax, rax
je 0x180028140
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180028140
lea rcx, str.FXConfigImpl::read_Parse_Mutex_ALREADY_EXISTED
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, 0xbb8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x180028115
lea rcx, str.FXConfigImpl::read_Parse_WaitForSingleObject_mutex_OK.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180028140
cmp eax, 0x102
jne 0x180028140
lea rcx, str.FXConfigImpl::read_TIME_OUT.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800283a7
lea rcx, [rsp + 0x30]
call fcn.180029200
nop
cmp qword [rdi + 0x18], 0x10
jb 0x180028157
mov rdx, qword [rdi]
jmp 0x18002815a
mov rdx, rdi
mov r8d, 1
lea rcx, [rsp + 0x40]
call fcn.18002a040
test rax, rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x30]
jne 0x18002818f
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x18002819d
or edx, 4
jmp 0x18002819d
xor edx, edx
mov eax, 4
cmp qword [rcx + 0x48], rdx
cmove edx, eax
xor r8d, r8d
call fcn.180005920
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x28], 0
jne 0x180028201
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.180025be0
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
jmp 0x18002839e
lea rcx, [rbp + 0x70]
call fcn.180014290
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.180028a60
lea rcx, [rsp + 0x40]
call fcn.1800272f0
test rax, rax
jne 0x180028251
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x30]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x180028249
or edx, 4
xor r8d, r8d
call fcn.180005920
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x70]
call fcn.1800143a0
nop
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call fcn.180038000
cmp qword [rbp + 0x1d0], 0
jne 0x1800282d3
mov byte [rsi + 0x28], 1
lea rcx, [rbp + 0x1c0]
call fcn.18008f070
nop
lea rcx, [rbp + 0x108]
call fcn.180014320
lea rcx, [rbp + 0x108]
call fcn.180012100
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.180025be0
nop
jmp 0x1800281e7
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call fcn.18002ab50
mov byte [rsi + 0x28], al
lea rcx, [rbp + 0x1c0]
call fcn.18008f070
nop
lea rcx, [rbp + 0x108]
call fcn.180014320
lea rcx, [rbp + 0x108]
call fcn.180012100
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x40], rax
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x40], rax
cmp qword [rbp - 0x28], 0
je 0x18002836d
mov rdx, qword [rsp + 0x60]
lea rax, [rbp - 0x38]
cmp qword [rdx], rax
jne 0x18002836d
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
mov qword [rdx], rax
mov rax, qword [rbp - 0x80]
mov qword [rax], rcx
sub ecx, ecx
mov rax, qword [rbp - 0x68]
mov dword [rax], ecx
cmp byte [rbp - 0x30], 0
je 0x18002837e
lea rcx, [rsp + 0x40]
call fcn.1800272f0
nop
lea rcx, [rsp + 0x40]
call fcn.180012130
nop
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0x30], rax
lea rcx, [rbp - 0x20]
call fcn.180012100
movzx eax, byte [rsi + 0x28]
mov rcx, qword [rbp + 0x1e8]
xor rcx, rsp
call fcn.1800be9b0
add rsp, 0x2f0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret