Function at 0x140137c60
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movzx r12d, r8b
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x19], rdx
xor esi, esi
mov dword [rbp - 0x39], esi
mov rcx, qword [rdx]
test rcx, rcx
je 0x1401380f2
call fcn.140017fd0
test eax, eax
jle 0x1401380f2
mov ecx, 0x588
call fcn.1403ca490
mov rbx, rax
mov qword [rbp - 0x29], rax
xor edx, edx
mov r8d, 0x588
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140437b98]
mov qword [rbx + 8], rax
lea rax, vtable.nbase::SupportWeakCallback.0
mov qword [rbx + 0x570], rax
mov qword [rbx + 0x578], rsi
mov qword [rbx + 0x580], rsi
mov dword [rbp - 0x39], 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.Selector.2.0
mov qword [rbx], rax
lea rax, vtable.Selector.1.0
mov qword [rbx + 0x468], rax
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Selector.0
mov qword [rcx + rbx + 8], rax
mov qword [rbx + 0x470], rsi
mov word [rbx + 0x478], si
mov byte [rbx + 0x47a], sil
mov dword [rbx + 0x47c], esi
mov dword [rbx + 0x480], 0xffffffff
mov qword [rbx + 0x484], rsi
mov qword [rbx + 0x48c], rsi
mov qword [rbx + 0x494], rsi
mov qword [rbx + 0x49c], rsi
mov dword [rbx + 0x4a4], esi
mov qword [rbx + 0x4a8], rsi
mov qword [rbx + 0x4b0], rsi
mov qword [rbx + 0x4b8], rsi
mov qword [rbx + 0x4c0], rsi
mov qword [rbx + 0x4c8], rsi
mov qword [rbx + 0x4d0], rsi
mov qword [rbx + 0x4d8], rsi
mov qword [rbx + 0x4e0], rsi
mov qword [rbx + 0x4e8], rsi
mov qword [rbx + 0x4f0], rsi
mov qword [rbx + 0x4f8], rsi
mov qword [rbx + 0x500], rsi
mov qword [rbx + 0x508], rsi
mov qword [rbx + 0x510], rsi
mov qword [rbx + 0x518], rsi
mov qword [rbx + 0x520], rsi
mov qword [rbx + 0x528], rsi
mov qword [rbx + 0x530], rsi
mov qword [rbx + 0x538], rsi
mov qword [rbx + 0x540], rsi
mov qword [rbx + 0x548], rsi
mov qword [rbx + 0x550], rsi
mov qword [rbx + 0x558], rsi
mov qword [rbx + 0x560], rsi
mov qword [rbx + 0x568], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov rax, qword [rbx]
mov dword [rsp + 0x40], 0x12c
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov dword [rsp + 0x20], esi
mov r9d, 0xc80000
lea r8, [0x140419d94]
mov rdx, rdi
mov rcx, rbx
call qword [rax + reloc.SinoSPE.dll_Ordinal_24]
mov r14, rax
test rax, rax
jne 0x140137eac
jmp 0x1401380f2
mov dword [rsp + 0x28], 1
xor r9d, r9d
lea r8, str.Enter_dialog.
lea rdx, [0x1404397d8]
lea rcx, str.Selector
call fcn.14016ca80
cmp byte [rbx + 0xf0], 0
jne 0x140137ef3
movdqa xmm0, xmmword [0x140453100]
movdqa xmmword [rbp - 0x29], xmm0
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1401b51a0
mov dword [rbx + 0x24], esi
cmp dword [0x1404c4bec], 0
je 0x140137f03
mov al, 1
jmp 0x140137f05
xor al, al
mov byte [rbx + 0x102], al
mov byte [rbx + 0x478], r12b
mov byte [rbx + 0x479], r12b
mov rcx, rbx
call fcn.1401b4430
mov rcx, qword [r15]
mov qword [rbp - 0x39], rcx
test rcx, rcx
je 0x140137f34
mov rax, qword [rcx]
call qword [rax + reloc.SinoSPE.dll_Ordinal_8]
nop
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1401416d0
test al, al
je 0x140137fce
cmp dword [0x1404ba938], 0
jne 0x140137fce
test r12b, r12b
jne 0x140137fce
lea r9, [0x1404ba420]
xor r8d, r8d
lea rdx, str.AutoOnline
lea rcx, str.Public
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x140137fce
mov rcx, qword [rbx + 0x558]
mov rax, qword [rcx]
xor r8d, r8d
mov dl, 1
call qword [rax + 0x3c0]
mov rcx, rbx
call fcn.14013a3a0
test eax, eax
je 0x140137fce
mov dword [rsp + 0x28], 1
xor r9d, r9d
lea r8, str.Auto_online.
lea rdx, [0x1404397d8]
lea rcx, str.Selector
call fcn.14016ca80
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.SinoSPE.dll_Ordinal_32]
jmp 0x140137fec
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov r8b, 1
mov rax, qword [rbx]
xor r9d, r9d
movzx edx, r8b
mov rcx, rbx
call qword [rax + reloc.SinoSPE.dll_Ordinal_40]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14013808e
nop dword [rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14013808e
mov rcx, qword [rbp - 1]
cmp dword [rbp + 7], 0x10
jne 0x140138058
cmp rcx, r14
jne 0x140138058
mov esi, dword [rbp + 0xf]
test rdi, rdi
je 0x140138058
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14013807b
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14013807b
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 7], 0x12
je 0x14013808e
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140138010
test rdi, rdi
je 0x1401380aa
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
mov dword [rsp + 0x28], 1
xor r9d, r9d
lea r8, str.Exit_dialog.
lea rdx, [0x1404397d8]
lea rcx, str.Selector
call fcn.14016ca80
cmp dword [rbp + 7], 0x12
jne 0x1401380df
mov ecx, dword [rbp + 0xf]
call qword [sym.imp.USER32.dll_PostQuitMessage]
nop
mov rcx, qword [r15]
test rcx, rcx
je 0x1401380ee
mov rdx, qword [rcx]
call qword [rdx + reloc.SinoSPE.dll_Ordinal_16]
nop
mov eax, esi
jmp 0x140138103
mov rcx, qword [r15]
test rcx, rcx
je 0x140138101
mov rax, qword [rcx]
call qword [rax + reloc.SinoSPE.dll_Ordinal_16]
nop
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1403ca460
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret