Function at 0x140002b10
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14000e0b8]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
mov dword [rsp + 0x60], 0x100
xor r14d, r14d
mov esi, 5
mov ecx, esi
mov dword [rsp + 0x78], r14d
mov qword [rbp - 0x80], r14
call qword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [rsi - 1]
call qword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [rsi + 7]
call qword [sym.imp.USER32.dll_GetSysColor]
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x7c], 0xc0c0c0
call qword [sym.imp.GDI32.dll_CreateBrushIndirect]
cmp qword [rdi + 8], r14
lea rcx, str.Tracer
mov qword [rdi + 0x18], rax
lea r8, [rsp + 0x60]
lea rax, str.Image
mov qword [rdi + 0x360], r14
cmovne rcx, rax
mov qword [rdi + 0x370], r14
lea rdx, [rbp + 0x1a0]
mov qword [rdi + 0x378], r14
mov dword [rdi + 0x3a4], 0x80000000
mov dword [rdi + 0x3a0], 0x80000000
mov dword [rdi + 0x39c], 0x80000000
mov dword [rdi + 0x398], 0x80000000
call fcn.140008030
test eax, eax
jne 0x140002c57
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x6c]
lea r8, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea rdx, str._d__d__d__d
lea rcx, [rbp + 0x1a0]
call fcn.140004960
cmp eax, 4
jne 0x140002c57
mov eax, dword [rsp + 0x64]
mov dword [rdi + 0x398], eax
mov eax, dword [rsp + 0x68]
mov dword [rdi + 0x39c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rdi + 0x3a0], eax
mov eax, dword [rsp + 0x70]
mov dword [rdi + 0x3a4], eax
cmp qword [rdi + 8], r14
lea rbx, str.Ghostscript_Graphical_Trace
mov rcx, rbx
lea r15, str.Ghostscript_Image
cmovne rcx, r15
lea rdx, [rbp + 0xa0]
sub rdx, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140002c80
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140002d1a
lea ecx, [rax - 1]
movsxd rax, ecx
test ecx, ecx
js 0x140002cbf
nop
cmp byte [rbp + rax - 0x70], 0x2e
je 0x140002cbf
dec ecx
sub rax, 1
jns 0x140002cb0
cmp ecx, 0x100
jae 0x140002d1a
movsxd rax, ecx
lea r9, [rbp + 0xa0]
lea rcx, [rbp - 0x70]
add rcx, rax
lea rdx, str.Title
mov eax, dword [str..ini]
cmp qword [rdi + 8], r14
mov dword [rcx], eax
cmovne rbx, r15
movzx eax, byte [0x14000add0]
mov r8, rbx
mov byte [rcx + 4], al
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rcx, str.Window
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x58], rdi
lea r8, [rbp + 0xa0]
mov qword [rsp + 0x50], rax
mov r9d, 0xcf0000
mov eax, dword [rdi + 0x3a4]
mov rdx, r15
mov qword [rsp + 0x48], r14
xor ecx, ecx
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 0x3a0]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 0x39c]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x398]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, qword [rdi + 8]
mov r8, rax
mov qword [rdi + 0x10], rax
test rcx, rcx
jne 0x140002de5
mov edx, dword [rdi + 0x398]
mov rcx, r14
cmp edx, 0x80000000
je 0x140002de5
mov r11d, dword [rdi + 0x39c]
cmp r11d, 0x80000000
je 0x140002de5
mov r9d, dword [rdi + 0x3a0]
cmp r9d, 0x80000000
je 0x140002de5
mov r10d, dword [rdi + 0x3a4]
cmp r10d, 0x80000000
je 0x140002de5
mov dword [rsp + 0x28], r14d
mov r8d, r11d
mov rcx, rax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
test rcx, rcx
mov eax, 7
mov rcx, r8
cmovne esi, eax
mov edx, esi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_GetSystemMenu]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x800
mov rbx, rax
call qword [sym.imp.USER32.dll_AppendMenuA]
xor edx, edx
lea r9, str.Copy_to_Clipboard
mov rcx, rbx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_AppendMenuA]
xor edx, edx
lea r9, str.Show_as_Gray
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.USER32.dll_AppendMenuA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800
mov rcx, rbx
call qword [sym.imp.USER32.dll_AppendMenuA]
mov rcx, rdi
call fcn.1400040a0
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400088e0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret