Function at 0x180003f50
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x418]
sub rsp, 0x500
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800380b0]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rbx, rcx
call fcn.1800042e0
lea rsi, [rbx + 0x20]
lea rdi, [rbx + 0x60]
cmp rdi, rsi
je 0x180003fae
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.180001890
mov r8d, 0x11
lea rdx, str.SwiftImageUtl.exe
mov rcx, rdi
call fcn.180001720
mov qword [rsp + 0x60], 7
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.180001890
nop
lea r8d, [r14 + 0xe]
lea rdx, str.SwiftImage.ini
lea rcx, [rsp + 0x48]
call fcn.180001720
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.18000e020
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000409c
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x30]
lea r8, [0x1800235f0]
lea rdx, str.CfgPath
lea rcx, str.MainAppInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp - 0x30], r14w
jne 0x180004079
mov r8d, r14d
jmp 0x18000408c
lea rax, [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180004081
lea rcx, [rbx + 0xa0]
lea rdx, [rbp - 0x30]
call fcn.1800019d0
cmp qword [rbx + 0xb0], 0
jne 0x180004230
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.18000e020
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.180003710
nop
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r9, qword [rbp - 0x78]
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x30], rax
lea rax, str.63fd8
mov qword [rsp + 0x28], rax
lea rax, str.OvIImgSet
mov qword [rsp + 0x20], rax
lea r8, [0x180023600]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.180003c10
lea rdi, [rbx + 0xa0]
mov rdx, rax
mov rcx, rdi
call fcn.180001cb0
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x18000413f
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.180001b20
cmp qword [rdi + 0x10], 0
je 0x180004214
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180001890
nop
mov edx, 0x5c
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x68]
call fcn.180001de0
cmp eax, 0xffffffff
jle 0x1800041f7
inc eax
movsxd r9, eax
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.180001eb0
mov rdx, rax
mov rcx, rdi
call fcn.180001cb0
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x1800041c3
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.180001b20
add rbx, 0xc0
cmp rbx, rdi
je 0x1800041e1
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.180001890
mov r8d, 0xd
lea rdx, str.Courteous.ini
mov rcx, rbx
call fcn.180001720
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x180004214
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.180001b20
nop
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x180004295
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.180001b20
jmp 0x180004295
lea rdi, [rbx + 0xa0]
mov r8d, 6
lea rdx, str.Config
mov rcx, rdi
call fcn.180001720
mov r8d, 1
lea rdx, [0x1800235f4]
mov rcx, rdi
call fcn.180001720
add rbx, 0xc0
cmp rbx, rdi
je 0x18000427f
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.180001890
mov r8d, 0xe
lea rdx, str.userconfig.ini
mov rcx, rbx
call fcn.180001720
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x1800042b2
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.180001b20
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.18000b0c0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret