Function at 0x180110120
Capabilities:
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rsp + 0x138], rbx
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x51], r9
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
xor edi, edi
mov qword [rbp - 0x61], rdi
mov dword [rsp + 0x50], 0x49
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [rbp - 0x71]
call fcn.180054110
mov dword [rsp + 0x50], 0x233
mov rbx, qword [rbp - 0x61]
mov rdx, qword [rbp - 0x69]
cmp rbx, rdx
je 0x1801101a8
mov dword [rdx], 0x233
add rdx, 4
mov qword [rbp - 0x69], rdx
jmp 0x1801101be
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x71]
call fcn.180054110
mov rbx, qword [rbp - 0x61]
mov rdx, qword [rbp - 0x69]
mov dword [rsp + 0x50], 0x40b
cmp rbx, rdx
je 0x1801101db
mov dword [rdx], 0x40b
add rdx, 4
mov qword [rbp - 0x69], rdx
jmp 0x1801101f1
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x71]
call fcn.180054110
mov rbx, qword [rbp - 0x61]
mov rdx, qword [rbp - 0x69]
mov dword [rsp + 0x50], 0x464
cmp rbx, rdx
je 0x18011020e
mov dword [rdx], 0x464
add rdx, 4
mov qword [rbp - 0x69], rdx
jmp 0x180110224
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x71]
call fcn.180054110
mov rbx, qword [rbp - 0x61]
mov rdx, qword [rbp - 0x69]
mov dword [rsp + 0x50], 0x9dd
cmp rbx, rdx
je 0x180110241
mov dword [rdx], 0x9dd
add rdx, 4
mov qword [rbp - 0x69], rdx
jmp 0x180110253
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x71]
call fcn.180054110
mov rbx, qword [rbp - 0x61]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x39]
call fcn.180097230
nop
mov r8b, 1
mov rdx, rax
mov rcx, qword [rsi + 8]
call fcn.1802083a0
mov edx, 1
mov rcx, qword [rsi + 8]
call qword [sym.imp.SHELL32.dll_DragAcceptFiles]
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x1801102da
sub rbx, rcx
sar rbx, 2
lea rdx, [rbx*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801102c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801102c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rdi
mov rbx, qword [rsi + 8]
call qword [sym.imp.2345MiniUI.dll_public:_static_class_RC::RCMiniUIAppModule____ptr64___cdecl_RC::RCMiniUIAppModule::Instance_void_]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.2345MiniUI.dll_public:_void___cdecl_RC::RCMiniUIAppModule::AddMiniUIWindow_struct_HWND______ptr64____ptr64]
mov rax, qword [rsi + 0x48]
lea rcx, [rsi + 0x48]
call qword [rax + 0x20]
lea rcx, [rsi + 0x48]
call qword [sym.imp.2345MiniUI.dll_protected:_void___cdecl_RC::RCMiniUIDialogView::ApplyUserInitSettings_void____ptr64]
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.IMM32.dll_ImmAssociateContext]
mov rcx, qword [rsi + 0x610]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov r14, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x180110333
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
movss xmm0, dword [0x1804cc7ac]
mov rcx, qword [rsi + 0x618]
test rcx, rcx
je 0x180110350
mov rax, qword [rcx]
call qword [rax + 0x180]
movaps xmm1, xmm0
lea rcx, [rsi + 0xb28]
call fcn.1802254c0
test eax, eax
je 0x180110504
test r14, r14
je 0x180110566
lea r9, [rsi + 0xb28]
cmp qword [rsi + 0xb40], 8
jb 0x180110388
mov r9, qword [rsi + 0xb28]
mov r8d, 0xffffffff
lea rdx, str.WindowMode
lea rcx, str.Placement
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
test eax, 0xfffffffc
jne 0x1801103c0
cmp eax, 2
je 0x1801103c0
mov r8, qword [r14]
mov edx, eax
mov rcx, r14
call qword [r8 + 0x88]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
mov r8d, 0x12
lea rdx, str.RCImageViewerFrame
lea rcx, [rbp - 0x39]
call fcn.180004e70
nop
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x39]
call fcn.180233d30
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x18011044c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180110447
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180110447
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
mov rax, qword [rbp - 0x69]
mov rbx, qword [rbp - 0x71]
sub rax, rbx
sar rax, 3
cmp rax, 1
seta r8b
lea rdx, [rbp - 0x19]
lea rcx, [rsi + 0xb28]
call fcn.180225720
test eax, eax
je 0x1801104b0
test r15d, r15d
je 0x180110492
cmp r15d, 3
jne 0x1801104b0
mov rax, qword [r14]
cmp dword [rbp - 0x11], 3
sete dl
mov rcx, r14
call qword [rax + 0x38]
mov rax, qword [r14]
lea rdx, [rbp + 3]
mov rcx, r14
call qword [rax + 0x28]
nop
test rbx, rbx
je 0x180110504
mov rax, qword [rbp - 0x61]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1801104f0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801104f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rdi
test r14, r14
je 0x180110566
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x80]
mov ebx, eax
mov r8, qword [r14]
mov edx, eax
mov rcx, r14
call qword [r8 + 0x78]
cmp ebx, dword [rsi + 0x29c]
je 0x180110532
mov byte [rsi + 0x3f8], 1
mov dword [rsi + 0x29c], ebx
mov rcx, qword [rsi + 0x200]
test rcx, rcx
je 0x180110555
mov rax, qword [rcx]
mov edx, ebx
call qword [rax + 0x108]
mov ebx, dword [rsi + 0x29c]
mov eax, 0xfffdf8
cmp ebx, 2
cmove eax, edi
mov dword [rsi + 0x298], eax
mov rcx, qword [rsi + 0x620]
test rcx, rcx
je 0x18011057f
mov rax, qword [rcx]
mov rdx, qword [rsi + 8]
call qword [rax + 0x178]
movss xmm0, dword [0x1804cc7ac]
mov rcx, qword [rsi + 0x618]
test rcx, rcx
je 0x18011059c
mov rax, qword [rcx]
call qword [rax + 0x180]
movss dword [rsi + 0x558], xmm0
mov rax, qword [rsi + 0xe0]
mov qword [rsi + 0x210], rax
mov rbx, qword [rsi + 0x608]
mov rcx, qword [rsi + 0x218]
cmp rcx, rbx
je 0x1801105eb
test rbx, rbx
je 0x1801105d9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x1801105e4
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi + 0x218], rbx
mov rbx, qword [rsi + 0x610]
lea r13, [rsi + 0x120]
mov rcx, qword [r13 + 0x100]
cmp rcx, rbx
je 0x18011062b
test rbx, rbx
je 0x180110619
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [r13 + 0x100]
test rcx, rcx
je 0x180110624
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r13 + 0x100], rbx
mov rcx, r13
call fcn.18011e8a0
mov rbx, qword [rsi + 0x618]
mov rcx, qword [rsi + 0x410]
cmp rcx, rbx
je 0x18011066c
test rbx, rbx
je 0x18011065a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x180110665
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi + 0x410], rbx
mov rbx, qword [rsi + 0x620]
mov rcx, qword [rsi + 0x418]
cmp rcx, rbx
je 0x1801106a5
test rbx, rbx
je 0x180110693
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rsi + 0x418]
test rcx, rcx
je 0x18011069e
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi + 0x418], rbx
mov rbx, qword [rsi + 8]
lea r9, [r13 + 0x40]
lea r8, [0x1804cfd90]
call fcn.180019620
mov word [rsp + 0x38], ax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x46000000
xor r9d, r9d
lea r8, [0x1804ca040]
mov rdx, rbx
mov rcx, r13
call fcn.180019490
mov edx, 0x125c
mov rcx, qword [0x1804dae40]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsi + 0xe8], rax
mov edx, 0x125d
mov rcx, qword [0x1804dae40]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsi + 0xf0], rax
mov r9, qword [rsi + 0xe8]
test r9, r9
je 0x180110753
test rax, rax
je 0x180110753
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsi + 0xf0]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsi + 0x610]
test rax, rax
je 0x180110bb3
mov ecx, 0x48
call fcn.180385c34
mov qword [rsp + 0x50], rax
lea rcx, vtable.RC::RCCaptureWrapper.0
mov qword [rax], rcx
mov qword [rax + 8], rdi
lea rcx, [rax + 0x10]
mov qword [rbp - 0x71], rcx
mov qword [rcx], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], rdi
mov rdx, qword [rsi + 0x638]
mov qword [rsi + 0x638], rax
test rdx, rdx
je 0x1801107af
call fcn.180097370
mov rcx, qword [rsi + 0x638]
mov rax, qword [rsi + 0x628]
mov qword [rcx + 0x40], rax
mov rdx, qword [rsi + 0x610]
mov rcx, qword [rsi + 0x638]
call fcn.180075320
mov rcx, qword [rsi + 0x638]
test rcx, rcx
je 0x1801107ef
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1801107ef
mov rcx, qword [rcx + 8]
jmp 0x1801107f2
mov rcx, rdi
mov rax, qword [rsi + 0x628]
mov qword [rax + 0x88], rcx
mov rax, qword [rsi + 0x610]
test rax, rax
je 0x180110bb3
mov rcx, qword [rsi + 0x618]
test rcx, rcx
je 0x1801108d1
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax + 0x68]
nop
lea rcx, [rsi + 0xa80]
mov rdx, rax
call fcn.1800049b0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x18011087e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180110879
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180110879
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
mov rcx, qword [rsi + 0x618]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rbx, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x1801108b0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
test rbx, rbx
je 0x1801108c3
mov rax, qword [rbx]
mov rdx, qword [rsi + 8]
mov rcx, rbx
call qword [rax + 0x28]
nop
test rbx, rbx
je 0x1801108d1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edx, 4
lea rcx, [rsi + 0xa80]
call fcn.18015a5e0
lea rcx, [rsi + 0xa80]
call fcn.180155ab0
movzx r15d, al
cmp qword [rsi + 0x610], 0
je 0x180110976
mov rbx, rdi
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsi + 0x610]
test rcx, rcx
je 0x18011092f
mov rdx, qword [rcx]
call qword [rdx + 0x38]
mov rbx, rax
test rax, rax
je 0x180110a10
mov rax, qword [rax]
mov rcx, rbx
call qword [rax]
mov qword [rsp + 0x50], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x130]
cmp eax, 2
jge 0x18011096d
mov rax, qword [rbx]
mov edx, 2
mov rcx, rbx
call qword [rax + 0x138]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x118]
mov rcx, qword [rsi + 0x610]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movzx edx, r15b
mov rcx, rsi
call fcn.180113b10
mov rbx, qword [rbp - 0x51]
mov rbx, qword [rbx + 8]
call fcn.180153620
test al, al
je 0x180110b06
mov rcx, rbx
call fcn.180152230
mov edx, 0x259
mov rcx, qword [rsi + 0xe0]
call fcn.18021a600
test rax, rax
je 0x1801109dc
mov ecx, dword [rax + 0x10]
mov dword [rax + 0x10], edi
test ecx, ecx
jne 0x1801109dc
mov rcx, qword [rsi + 0xac0]
mov qword [rsi + 0xac0], rax
test rcx, rcx
je 0x1801109dc
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
movzx eax, byte [0x1804cb541]
test al, al
jne 0x180110a08
mov r8d, 0x60
mov edx, dword [0x1804cd338]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x180110a15
mov r12d, 0x1c
jmp 0x180110a35
jmp 0x180110976
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x44]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r12d, eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x180110a41
mov r15d, 0x14
jmp 0x180110a61
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x4c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804cb541]
mov ebx, 0x18
test al, al
je 0x180110a6f
mov r13d, ebx
jmp 0x180110a8d
mov r8d, 0x60
mov edx, dword [0x1804cd338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r13d, eax
movzx eax, byte [0x1804cb541]
test al, al
jne 0x180110aa7
mov r8d, 0x60
mov edx, dword [0x1804cd338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov dword [rsi + 0xac8], ebx
mov dword [rsi + 0xad0], r13d
mov dword [rsi + 0xacc], r15d
mov dword [rsi + 0xad4], r12d
mov dword [rsi + 0xad8], edi
lea rcx, [rsi + 0xaa8]
mov rdx, qword [rsi + 8]
call fcn.180152320
mov eax, dword [rsi + 0x29c]
dec eax
cmp eax, 1
setbe al
test al, al
jne 0x180110aff
xor r9d, r9d
xor r8d, r8d
mov edx, 0x680
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
lea r13, [rsi + 0x120]
call fcn.18024f980
call fcn.18024fd00
call fcn.18024ff90
call fcn.180202880
test al, al
je 0x180110b3f
movdqa xmm0, xmmword [0x1803e6830]
movdqa xmmword [rbp - 0x71], xmm0
lea rcx, [rsi + 0xb08]
lea r8, [rbp - 0x71]
mov rdx, qword [rsi + 8]
call fcn.1800ec0f0
xor edx, edx
mov rcx, rsi
call fcn.180113470
mov rcx, qword [rsi + 0x628]
test rcx, rcx
je 0x180110b6b
mov rdx, qword [rsi + 8]
call fcn.180261750
mov rcx, qword [rsi + 0x628]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, r13
call fcn.18011e8a0
mov byte [rsi + 0x600], 0
lea rcx, [rsi + 0x5b8]
mov rdx, qword [rsi + 8]
call fcn.18012e9e0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 2
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + 0x5c0]
call qword [sym.imp.USER32.dll_MoveWindow]
nop
test r14, r14
je 0x180110bc1
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180385c10
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret