Function at 0x140039a40
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4c8]
sub rsp, 0x5c8
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rax, qword [rbp + 0x550]
mov r15, qword [rbp + 0x540]
xor edi, edi
mov r12, rdx
mov rdx, qword [rbp + 0x548]
mov rsi, rcx
mov rcx, qword [rbp + 0x558]
mov dword [rdx], 1
mov qword [rsp + 0x68], rdx
mov dword [rcx], edi
mov dword [rax], edi
mov qword [rsp + 0x78], rcx
lea edx, [rdi + 6]
xor ecx, ecx
mov r13, r9
mov r14, r8
mov qword [rsp + 0x70], rax
mov qword [0x1401faec8], rdi
mov qword [0x1401fae98], rdi
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rax, [rsp + 0x30]
lea r9, [0x140187078]
lea r8d, [rdi + 1]
lea rcx, [0x140190190]
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x140039e22
mov rax, qword [rsp + 0x30]
lea rdx, [0x140205fa8]
lea ecx, [rdi + 0x18]
mov qword [0x1401faec8], rax
mov qword [rsp + 0x48], rdi
call fcn.1400fbfa8
mov rdi, rax
test rax, rax
je 0x140039b44
lea rax, vtable.CDialogEventHandler.0
mov dword [rdi + 0x10], 1
mov qword [rdi], rax
lea rax, vtable.CDialogEventHandler.1.0
mov qword [rdi + 8], rax
xor eax, eax
jmp 0x140039b47
mov rdi, rax
test rdi, rdi
mov ebx, 0x8007000e
cmovne ebx, eax
test ebx, ebx
js 0x140039e0d
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
lea rdx, [0x140187058]
mov rcx, rdi
call qword [rax]
mov rcx, rdi
mov ebx, eax
mov rax, qword [rdi]
call qword [rax + InitCommonControls]
test ebx, ebx
js 0x140039e0d
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
lea r8, [rsp + 0x5c]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov ebx, eax
test eax, eax
js 0x140039e02
mov rcx, qword [rsp + 0x30]
xor edi, edi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov rax, qword [rcx]
lea rdx, [0x140187088]
call qword [rax]
test eax, eax
js 0x140039c23
mov rcx, qword [0x1401fbba0]
lea r8, [rbp - 0x60]
mov r9d, 0x80
mov edx, 0x4e8d
call qword [sym.imp.USER32.dll_LoadStringW]
mov rax, qword [rsp + 0x40]
lea r9, [0x140208860]
mov rbx, qword [rax]
lea r8d, [rdi + 1]
lea rdx, str.Active
lea rcx, [0x140182e78]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x40]
lea r8, [rbp - 0x60]
mov r9d, eax
mov edx, 0x70b
call qword [rbx + 0x40]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rsp + 0x30]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ebx, eax
test eax, eax
js 0x140039df3
lea r9, [rsp + 0x50]
lea r8, [0x140186ed8]
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x50], rdi
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x140039c7e
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x58]
mov rax, qword [rcx]
or edx, 0x40
call qword [rax + 0x48]
mov edx, dword [rbp + 0x530]
lea r8, [rbp - 0x80]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rcx, r13
mov ebx, eax
mov qword [rbp - 0x70], rdi
call fcn.1400387c0
mov rdi, qword [rbp - 0x80]
test eax, eax
je 0x140039cd4
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rbp - 0x78]
mov r8, rdi
mov r9, qword [rcx]
sub rdx, rdi
sar rdx, 4
call qword [r9 + 0x20]
mov ebx, eax
test ebx, ebx
js 0x140039dd6
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbp + 0x538]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
js 0x140039dd6
mov rcx, qword [rsp + 0x30]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
js 0x140039dd6
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov ebx, eax
test eax, eax
js 0x140039dd6
mov rcx, qword [rsp + 0x60]
xor eax, eax
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx]
mov edx, 0x80058000
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
js 0x140039dcb
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp + 0xa0]
mov r8d, 3
call fcn.1400ed200
lea rdx, [0x140185e10]
lea rcx, [rbp + 0xa0]
call fcn.1400aafa0
mov rdx, qword [rsp + 0x38]
mov r8d, 0x104
mov rcx, rsi
call fcn.1400fb86c
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140039db0
test rax, rax
je 0x140039dcb
call fcn.140038bf0
mov rcx, qword [rsp + 0x70]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140039de6
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
test rdi, rdi
je 0x140039df3
mov rcx, rdi
call fcn.14003a2e0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x5c]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov eax, dword [0x1401faec0]
xor edi, edi
jmp 0x140039e2d
mov eax, 0x3e7
mov dword [0x1401faec0], eax
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rcx, qword [0x1401faeb0]
test rcx, rcx
je 0x140039e5a
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [0x1401faeb0]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [0x1401faeb0], rdi
mov rcx, qword [0x1401fae90]
test rcx, rcx
je 0x140039e73
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x1401fae90], rdi
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret