Function at 0x180003170
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 [0x18005e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea r8, [rbp - 0x18]
mov dword [rbp - 0x18], 0xbf800000
lea rcx, str.Unload
mov dword [rbp - 0x14], 0
call fcn.18004a990
xor r8d, r8d
mov qword [rbp - 0x18], 0
lea rdx, [rbp - 0x18]
lea rcx, str.Unload
call fcn.180033770
xor esi, esi
test al, al
je 0x1800032cd
mov qword [rsp + 0x70], rdi
mov rdi, qword [0x18005e918]
mov rbx, qword [rdi]
cmp byte [rbx + 0x19], sil
jne 0x18000325c
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
call fcn.1800044b0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], sil
je 0x180003228
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], sil
jne 0x180003223
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x180003223
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], sil
je 0x180003210
mov rbx, rax
jmp 0x18000324f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], sil
jne 0x18000324f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], sil
je 0x180003240
cmp byte [rbx + 0x19], sil
je 0x1800031f0
mov rdi, qword [0x18005e918]
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], sil
jne 0x18000329d
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [0x18005e918]
lea rcx, [0x18005e918]
call fcn.180004700
mov rcx, rbx
mov edx, 0x30
mov rbx, qword [rbx]
call fcn.18004d654
cmp byte [rbx + 0x19], sil
je 0x180003270
mov r8, qword [0x18005e860]
mov edx, 0xfffffffc
mov rcx, qword [0x18005e868]
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x18005e920], rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rdi, qword [rsp + 0x70]
call fcn.18004ada0
lea r8, [rbp - 0x18]
mov dword [rbp - 0x18], 0xbf800000
lea rcx, str.Config
mov dword [rbp - 0x14], esi
call fcn.18004a990
xor r8d, r8d
mov qword [rbp - 0x18], rsi
lea rdx, [rbp - 0x18]
lea rcx, str.Save
call fcn.180033770
test al, al
je 0x180003369
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 0x180003369
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rsi
mov r8d, 0xb8
lea rdx, [0x18005e0c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movss xmm1, dword [0x180056684]
xorps xmm0, xmm0
call fcn.180016a10
lea rcx, str.Load
mov qword [rbp - 0x18], rsi
xor r8d, r8d
lea rdx, [rbp - 0x18]
call fcn.180033770
test al, al
je 0x1800033f6
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 0x1800033f6
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rsi
mov r8d, 0xb8
lea rdx, [0x18005e0c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.18004ada0
lea r8, [rbp - 0x18]
mov dword [rbp - 0x18], 0xbf800000
lea rcx, [0x18004faac]
mov dword [rbp - 0x14], esi
call fcn.18004a990
lea rdx, [0x18005e16d]
lea rcx, str.Enable_Indicator
call fcn.180034710
lea rax, [0x180050a9c]
mov dword [rbp - 0x20], 0x64
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x20]
mov dword [rbp - 0x18], 1
lea r8, [0x18005e170]
mov qword [rsp + 0x20], rax
call fcn.180037790
call fcn.18004ada0
lea r8, [rbp - 0x18]
mov dword [rbp - 0x18], 0xbf800000
lea rcx, str.Open_Menu
mov dword [rbp - 0x14], esi
call fcn.18004a990
lea rcx, [0x18005e0c4]
call fcn.18004b430
movss xmm1, dword [0x180056684]
xorps xmm0, xmm0
call fcn.180016a10
lea rcx, str.Hotkey_for_open_menu.
call fcn.18004a8f0
call fcn.18004ada0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18004d280
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret