Function at 0x1400d6750
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc80]
sub rsp, 0xd80
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0xc70], rax
xor edi, edi
xor eax, eax
mov ebx, 3
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x2c], 0x466
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov dword [rbp + 0xc], eax
mov qword [rbp + 0x1c], rax
mov qword [rbp + 0x24], rax
mov dword [rbp + 0x2c], eax
mov qword [rbp + 0x3c], rax
mov qword [rbp + 0x44], rax
mov dword [rbp + 0x4c], eax
mov qword [rbp + 0x5c], rax
mov qword [rbp + 0x64], rax
mov dword [rbp + 0x6c], eax
mov qword [rbp + 0x7c], rax
mov qword [rbp + 0x84], rax
mov qword [rbp + 0x8c], rax
mov qword [rbp + 0x9c], rax
mov qword [rbp + 0xa4], rax
mov dword [rbp + 0xac], eax
mov qword [rbp + 0xbc], rax
mov qword [rbp + 0xc4], rax
mov dword [rbp + 0xcc], eax
mov qword [rbp + 0xdc], rax
mov qword [rbp + 0xe4], rax
mov dword [rbp + 0xec], eax
mov qword [rbp + 0xfc], rax
mov qword [rbp + 0x104], rax
mov dword [rbp + 0x10c], eax
mov qword [rbp + 0x11c], rax
mov qword [rbp + 0x124], rax
mov qword [rbp + 0x12c], rax
mov qword [rbp + 0x13c], rax
mov qword [rbp + 0x144], rax
mov dword [rbp + 0x14c], eax
mov qword [rbp + 0x15c], rax
mov qword [rbp + 0x164], rax
mov qword [rbp + 0x16c], rax
mov qword [rbp + 0x17c], rax
mov qword [rbp + 0x184], rax
mov qword [rbp + 0x18c], rax
mov qword [rbp + 0x19c], rax
mov qword [rbp + 0x1a4], rax
mov dword [rbp + 0x1ac], eax
mov dword [rbp - 0x30], edi
mov dword [rbp - 0x28], 4
mov dword [rbp - 0x10], 1
mov dword [rbp - 0xc], 0x483
mov dword [rbp - 8], 4
mov dword [rbp + 0x10], 2
mov dword [rbp + 0x14], 0x49a
mov dword [rbp + 0x18], 4
mov dword [rbp + 0x30], ebx
mov qword [rbp + 0x34], 0x47d
mov dword [rbp + 0x50], 4
mov qword [rbp + 0x54], 0x46c
mov dword [rbp + 0x70], 5
mov qword [rbp + 0x74], 0x424
mov dword [rbp + 0x94], edi
mov dword [rbp + 0x98], 0x100
mov dword [rbp + 0xb0], 6
mov qword [rbp + 0xb4], 0x429
mov dword [rbp + 0xd0], 7
mov qword [rbp + 0xd4], 0x427
mov dword [rbp + 0xf0], 8
mov qword [rbp + 0xf4], 0x42d
mov dword [rbp + 0x110], 9
mov qword [rbp + 0x114], 0x42e
mov dword [rbp + 0x134], edi
mov dword [rbp + 0x138], 0x100
mov dword [rbp + 0x150], 0xa
mov qword [rbp + 0x154], 0x450
mov qword [rbp + 0x174], 8
mov qword [rbp + 0x194], 8
mov qword [rbp + 0x1bc], rax
mov qword [rbp + 0x1c4], rax
mov dword [rbp + 0x1cc], eax
mov qword [rbp + 0x1dc], rax
mov qword [rbp + 0x1e4], rax
mov dword [rbp + 0x1ec], eax
mov qword [rbp + 0x1fc], rax
mov qword [rbp + 0x204], rax
mov dword [rbp + 0x20c], eax
mov qword [rbp + 0x21c], rax
mov qword [rbp + 0x224], rax
mov dword [rbp + 0x22c], eax
mov qword [rbp + 0x23c], rax
mov qword [rbp + 0x244], rax
mov dword [rbp + 0x24c], eax
mov qword [rbp + 0x25c], rax
mov qword [rbp + 0x264], rax
mov qword [rbp + 0x26c], rax
mov qword [rbp + 0x27c], rax
mov qword [rbp + 0x284], rax
mov qword [rbp + 0x28c], rax
mov qword [rbp + 0x29c], rax
mov qword [rbp + 0x2a4], rax
mov qword [rbp + 0x2ac], rax
mov qword [rbp + 0x2bc], rax
mov qword [rbp + 0x2c4], rax
mov dword [rbp + 0x2cc], eax
mov qword [rbp + 0x2dc], rax
mov qword [rbp + 0x2e4], rax
mov dword [rbp + 0x2ec], eax
mov qword [rbp + 0x2fc], rax
mov qword [rbp + 0x304], rax
mov dword [rbp + 0x30c], eax
lea rax, [0x140208860]
lea r9, [rbp + 0x650]
lea r8, [0x140181e34]
mov qword [rsp + 0x28], rax
lea rdx, str.Skin
lea rcx, str.Toolbar
mov dword [rsp + 0x20], 0x104
mov dword [rbp + 0x1b0], InitCommonControls
mov qword [rbp + 0x1b4], 0x4b4
mov dword [rbp + 0x1d0], InitCommonControls
mov qword [rbp + 0x1d4], 0x4b5
mov dword [rbp + 0x1f0], InitCommonControls
mov qword [rbp + 0x1f4], 0x46b
mov dword [rbp + 0x210], InitCommonControls
mov qword [rbp + 0x214], 0x465
mov dword [rbp + 0x230], InitCommonControls
mov qword [rbp + 0x234], 0x462
mov dword [rbp + 0x250], InitCommonControls
mov qword [rbp + 0x254], 0x461
mov qword [rbp + 0x274], 8
mov qword [rbp + 0x294], 8
mov qword [rbp + 0x2b4], 8
mov dword [rbp + 0x2d0], reloc.COMCTL32.dll_InitCommonControls
mov dword [rbp + 0x2d4], 0x469
mov dword [rbp + 0x2d8], 4
mov dword [rbp + 0x2f0], 0x12
mov dword [rbp + 0x2f4], 0x40f
mov dword [rbp + 0x2f8], 4
mov r15d, edi
mov r14d, edi
mov dword [rsp + 0x7c], edi
mov dword [rsp + 0x70], InitCommonControls
mov dword [rsp + 0x74], InitCommonControls
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x650], di
jne 0x1400d6bc7
lea r8, [rbp + 0x650]
lea rdx, str.Skin
lea rcx, str.Toolbar
mov r9d, 0x104
call fcn.1400eae30
lea rdx, str.Admin_Flag
lea rcx, str.Toolbar
call fcn.1400eb050
lea rcx, [rbp + 0x310]
xor edx, edx
mov r8d, 0x340
mov dword [rsp + 0x78], eax
call fcn.1400f9ab0
lea rax, [rbp - 0x74]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x7c]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
lea rdx, [rbp + 0x310]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x20], rax
call fcn.1400d5c90
mov r12d, dword [rsp + 0x78]
mov r13d, r12d
mov esi, edi
and r13d, 0x20000
cmovne esi, ebx
and r12d, 0x100000
je 0x1400d6c58
add esi, 2
cmp word [rbp + 0x650], di
je 0x1400d6e73
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetSysColor]
mov ebx, eax
shr ax, 8
movzx eax, al
movd xmm1, eax
movzx eax, bl
movd xmm0, eax
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x10
movzx eax, al
mulsd xmm1, qword [0x140187278]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140187270]
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x140187268]
addsd xmm1, xmm0
addsd xmm1, qword [0x140183398]
cvttsd2si rax, xmm1
movsd xmm1, qword [0x140183398]
movzx ecx, al
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x140187290]
call fcn.1400fc760
mov ecx, 0xff
mov edx, 5
mulsd xmm0, qword [0x140187290]
addsd xmm0, qword [0x140183398]
cvttsd2si rax, xmm0
movzx eax, al
cmp eax, ecx
cmovg eax, ecx
lea rcx, [rbp + 0x860]
mov dword [rsp + 0x7c], eax
call fcn.1400ebbc0
lea rcx, [rbp + 0x860]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400d6d30
lea r8, [rbp + 0x650]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x1400d6d50
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x860]
mov r8d, 1
mov edx, ebx
mov qword [rsp + 0x20], rdi
call fcn.14007ffb0
mov rbx, rax
test rax, rax
je 0x1400d6e73
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.1400eb570
mov rcx, rbx
call fcn.14004ea90
mov r15, rax
test rax, rax
je 0x1400d6e61
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14003ee60
lea rcx, [rbp - 0x40]
mov rdx, rax
mov rdi, rax
call fcn.1400ed3d0
lea r8, [rbp - 0x50]
mov rcx, rdi
movaps xmm0, xmmword [rbp - 0x40]
movsd xmm1, qword [0x14018ef88]
movdqa xmmword [rbp - 0x50], xmm0
call fcn.14003e4f0
test rdi, rdi
je 0x1400d6e39
mov rcx, rdi
call fcn.14004ea90
mov rcx, rdi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400d6e44
mov rcx, rbx
call fcn.14004ea90
mov r14, rax
mov eax, 0x6bca1af3
imul dword [rsp + 0x70]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x70], edx
mov dword [0x1401f711c], edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x74]
mov edi, dword [rbp - 0x6c]
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov rcx, qword [rbp - 0x68]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x78]
mov r9d, edi
mov edx, 0x50008921
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x310]
mov r8d, 0x7d0
mov qword [rsp + 0x30], rax
mov rax, qword [0x1401fbad8]
mov qword [rsp + 0x28], 0x3e9
mov qword [rsp + 0x20], rax
call qword [sym.imp.COMCTL32.dll_CreateToolbarEx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x43a
mov rcx, rax
mov qword [0x1401fbb28], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x70]
movzx ebx, ax
lea ecx, [rdi + rsi]
sub ebx, r11d
lea eax, [r11 + rbx]
imul ecx, eax
mov eax, dword [rbp - 0x74]
add eax, 0xa
add ecx, eax
mov dword [0x1402094c0], ecx
test r15, r15
je 0x1400d6fec
mov edx, dword [rsp + 0x74]
xor esi, esi
mov r9d, edi
lea r8d, [rsi + 0x21]
mov ecx, r11d
mov dword [rsp + 0x20], esi
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edx, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
lea r8d, [rsi + 0x21]
mov r9d, edi
mov qword [0x1401fbbb8], rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov rcx, qword [0x1401fbbb8]
xor r8d, r8d
mov rdx, r15
mov qword [0x1401fbbc0], rax
call qword [sym.imp.COMCTL32.dll_ImageList_Add]
movzx ecx, byte [rsp + 0x7c]
mov rdx, r14
mov r8d, ecx
mov eax, ecx
shl r8d, 8
shl eax, 0x10
or r8d, eax
or r8d, ecx
mov rcx, qword [0x1401fbbc0]
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov r9, qword [0x1401fbbb8]
mov rcx, qword [0x1401fbb28]
xor r8d, r8d
mov edx, 0x430
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [0x1401fbbc0]
mov rcx, qword [0x1401fbb28]
xor r8d, r8d
mov edx, 0x436
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
test r14, r14
je 0x1400d6fe7
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r11d, dword [rsp + 0x70]
mov edi, dword [rbp - 0x7c]
mov r14, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x68]
test r12d, r12d
je 0x1400d70e3
imul r8d, dword [rsp + 0x74], 0x11
mov dword [rsp + 0x48], 0x4b6
mov qword [rsp + 0x40], r14
lea edx, [r11*2 + 0xa]
add r8d, 3
lea eax, [r11 + rbx]
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
lea ecx, [rdi*8 + 3]
imul eax, dword [rbp - 0x80]
add ecx, eax
mov dword [rsp + 0x28], 2
lea r8, str.COMBOBOX
mov dword [rsp + 0x20], ecx
lea rdx, [0x1401fbb38]
mov r9d, 0x242
mov rcx, rsi
call fcn.1400d6390
mov rcx, qword [0x1401fbb38]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1401fbb38]
lea r8, [0x1400d7c20]
mov edx, 0xfffffffc
mov qword [0x1402074f0], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov eax, dword [rsp + 0x70]
mov rcx, qword [0x1401fbb38]
cdq
xor r9d, r9d
and edx, 0xf
add eax, edx
mov edx, 0x160
sar eax, 4
add eax, 4
imul eax, eax, 0x32
movsxd r8, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x74]
mov rcx, qword [0x1401fbb38]
add eax, 0xfffffffd
or r8, 0xffffffffffffffff
mov edx, 0x153
movsxd r9, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x70]
test r13d, r13d
je 0x1400d7182
mov r10d, dword [rsp + 0x74]
mov dword [rsp + 0x48], 0x50c
mov qword [rsp + 0x40], r14
lea eax, [r11 + 5]
lea r8d, [rdi*8 + 3]
add r10d, 3
lea r9d, [rax + rax*2]
mov dword [rsp + 0x38], r10d
lea eax, [r11 + rbx]
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], 2
lea rdx, [0x1401fbb30]
imul eax, dword [rbp - 0x70]
add r8d, eax
mov r9d, 0x81
mov rcx, rsi
mov dword [rsp + 0x20], r8d
lea r8, str.EDIT
call fcn.1400d6390
mov rcx, qword [0x1401fbb30]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [0x1401fbb30]
lea r8, [0x1400d7870]
mov edx, 0xfffffffc
mov qword [0x1402074e8], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea r9, [0x140208860]
lea rdx, str.Active
lea rcx, str.ToolBar
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1400d71ae
or dword [0x1401fbc84], 1
lea r9, [0x140208860]
lea rdx, str.Active
lea rcx, [0x140188ee8]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1400d71da
or dword [0x1401fbc84], 4
lea r9, [0x140208860]
lea rdx, str.Active
lea rcx, str.Caption
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1400d7206
or dword [0x1401fbc84], 8
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.1400f9a80
mov rbx, qword [rsp + 0xdd0]
add rsp, 0xd80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret