Function at 0x1400407a0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbp, rcx
xor r14d, r14d
mov dword [rsp + 0x88], r14d
cmp qword [0x1404c1cf0], r14
jne 0x140040a36
lea r9, [0x1404ba420]
mov r8d, 0xffffffff
lea rdx, str.AutoExtnDiagLeft
lea rcx, str.Public
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea r9, [0x1404ba420]
mov r8d, 0xffffffff
lea rdx, str.AutoExtnDiagTop
lea rcx, str.Public
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
test esi, esi
jns 0x14004081c
mov esi, r14d
jmp 0x14004083c
mov ecx, reloc.SinoSPE.dll_Ordinal_16
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x64
cmp esi, eax
jle 0x14004083c
mov ecx, reloc.SinoSPE.dll_Ordinal_16
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea esi, [rax - 0x64]
test edi, edi
jns 0x14004085a
mov rcx, qword [rbp + 0x780]
mov rax, qword [rcx]
mov r8b, 1
lea rdx, [rsp + 0x50]
call qword [rax + Ordinal_58]
mov edi, dword [rax + 4]
jmp 0x14004087a
mov ecx, reloc.SinoSPE.dll_Ordinal_17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x64
cmp edi, eax
jle 0x14004087a
mov ecx, reloc.SinoSPE.dll_Ordinal_17
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea edi, [rax - 0x64]
mov ecx, 0x4e0
call fcn.1403ca490
mov rbx, rax
mov qword [rsp + 0x90], rax
xor edx, edx
mov r8d, 0x4e0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14042b150]
mov qword [rbx + 8], rax
lea rax, vtable.nbase::SupportWeakCallback.0
mov qword [rbx + 0x4c8], rax
mov qword [rbx + 0x4d0], r14
mov qword [rbx + 0x4d8], r14
mov dword [rsp + 0x88], 1
xor edx, edx
mov rcx, rbx
call fcn.1401b3250
lea rax, vtable.ui::WindowImplBase.0
mov qword [rbx], rax
lea rax, vtable.ui::WindowImplBase.2.0
mov qword [rbx + 0x468], rax
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.ui::WindowImplBase.1.0
mov qword [rcx + rbx + 8], rax
lea rax, vtable.MFAutoDiag.2.0
mov qword [rbx], rax
lea rax, vtable.MFAutoDiag.1.0
mov qword [rbx + 0x468], rax
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.MFAutoDiag.0
mov qword [rcx + rbx + 8], rax
mov qword [rbx + 0x470], r14
mov qword [rbx + 0x478], r14
mov qword [rbx + 0x480], r14
mov qword [rbx + 0x488], r14
mov qword [rbx + 0x490], r14
mov qword [rbx + 0x498], r14
mov qword [rbx + 0x4a0], r14
mov qword [rbx + 0x4a8], r14
mov qword [rbx + 0x4b0], r14
mov qword [rbx + 0x4b8], r14
mov qword [rbx + 0x4c0], r14
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x54], edi
mov qword [rsp + 0x58], r14
lea r8, [0x1404c4a58]
cmp qword [0x1404c4a70], 7
cmova r8, qword [0x1404c4a58]
mov rax, qword [rbx]
mov dword [rsp + 0x40], 0x12c
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], r14d
mov r9d, 0xc00000
mov rdx, qword [rbp + 0x10]
mov rcx, rbx
call qword [rax + reloc.SinoSPE.dll_Ordinal_24]
mov qword [0x1404c1cf0], rax
test rax, rax
je 0x140040a1d
cmp byte [rbx + 0xf0], 0
jne 0x140040a08
movdqa xmm0, xmmword [0x140453100]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1401b51a0
mov rax, qword [rbx]
xor r9d, r9d
mov r8b, 1
movzx edx, r8b
mov rcx, rbx
call qword [rax + reloc.SinoSPE.dll_Ordinal_40]
jmp 0x140040a36
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rbx
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret