Function at 0x180002c10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180053040]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], 0xbf800000
lea rcx, str.Unload
mov dword [rbp - 0x1c], 0
call fcn.1800400a0
xor r8d, r8d
mov qword [rbp - 0x20], 0
lea rdx, [rbp - 0x20]
lea rcx, str.Unload
call fcn.180031350
xor esi, esi
test al, al
je 0x180002d6d
mov qword [rsp + 0x70], rdi
mov rdi, qword [0x1800538a8]
mov rbx, qword [rdi]
cmp byte [rbx + 0x19], sil
jne 0x180002cfc
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
call fcn.180003e40
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x180002cc8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], sil
jne 0x180002cc3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x180002cc3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], sil
je 0x180002cb0
mov rbx, rax
jmp 0x180002cef
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], sil
jne 0x180002cef
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], sil
je 0x180002ce0
cmp byte [rbx + 0x19], sil
je 0x180002c90
mov rdi, qword [0x1800538a8]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], sil
jne 0x180002d3d
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [0x1800538a8]
lea rcx, [0x1800538a8]
call fcn.180003ff0
mov rcx, rbx
mov edx, 0x30
mov rbx, qword [rbx]
call fcn.180042d64
cmp byte [rbx + 0x19], sil
je 0x180002d10
mov r8, qword [0x1800537f0]
mov edx, 0xfffffffc
mov rcx, qword [0x1800537f8]
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x1800538b0], rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rdi, qword [rsp + 0x70]
call fcn.180040450
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], 0xbf800000
lea rcx, str.Config
mov dword [rbp - 0x1c], esi
call fcn.1800400a0
xor r8d, r8d
mov qword [rbp - 0x20], rsi
lea rdx, [rbp - 0x20]
lea rcx, str.Save
call fcn.180031350
test al, al
je 0x180002e2c
mov qword [rsp + 0x30], rsi
lea rcx, str.Pipsi_SR.cfg
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180002e2c
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rsi
mov r8d, 0x4c
lea rdx, [0x1800530c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180002e14
lea rcx, str.Unable_to_save_config_n
call fcn.180002420
mov edx, dword [rbp - 0x18]
lea rcx, str.Saved_config__x_n
call fcn.180002420
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movss xmm1, dword [0x18004bfd0]
xorps xmm0, xmm0
call fcn.180015fc0
lea rcx, str.Load
mov qword [rbp - 0x20], rsi
xor r8d, r8d
lea rdx, [rbp - 0x20]
call fcn.180031350
test al, al
je 0x180002edc
mov qword [rsp + 0x30], rsi
lea rcx, str.Pipsi_SR.cfg
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180002edc
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rsi
mov r8d, 0x4c
lea rdx, [0x1800530c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180002ec4
lea rcx, str.Unable_to_load_config_n
call fcn.180002420
mov edx, dword [rbp - 0x18]
lea rcx, str.Loaded_config__x_n
call fcn.180002420
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180040450
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], 0xbf800000
lea rcx, [0x18004599c]
mov dword [rbp - 0x1c], esi
call fcn.1800400a0
lea rdx, [0x180053105]
lea rcx, str.Enable_Indicator
call fcn.1800320f0
lea rax, [0x180046904]
mov dword [rbp - 0x18], 0x64
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rax, [rbp - 0x18]
mov dword [rbp - 0x20], 1
lea r8, [0x180053108]
mov qword [rsp + 0x20], rax
call fcn.180033450
call fcn.180040450
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], 0xbf800000
lea rcx, str.Open_Menu
mov dword [rbp - 0x1c], esi
call fcn.1800400a0
lea rcx, [0x1800530c4]
call fcn.180040b40
movss xmm1, dword [0x18004bfd0]
xorps xmm0, xmm0
call fcn.180015fc0
lea rcx, str.Hotkey_for_open_menu.
call fcn.180040000
call fcn.180040450
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180042990
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret