Function at 0x140001530
Capabilities:
Query environment variable
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x4f8
mov qword [rsp + 0x4d8], 0xfffffffffffffffe
mov rax, qword [0x140042dd0]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rcx, qword [rsp + 0x510]
add rcx, 8
xor edx, edx
call fcn.1400010d0
mov ecx, 0xc
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0xb
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea rcx, [0x1400445c0]
call fcn.140002da0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, 1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, 1
mov rdx, qword [rsp + 0x48]
call fcn.140002f00
mov ecx, 0x32
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea rcx, [0x1400445c0]
call fcn.140002da0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, 1
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x510]
add rcx, 8
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
call fcn.140002f00
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rcx, qword [rsp + 0x510]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, 1
mov edx, 0x3ff
call fcn.140002e20
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, 0x3ff
lea rdx, [rsp + 0x4b0]
call fcn.140002e80
xor edx, edx
mov rcx, rax
call fcn.140002dd0
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, 0x3ec
lea rdx, [rsp + 0x4b8]
call fcn.140002e80
mov rcx, rax
call fcn.14000a6a0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001a720
lea rcx, [rsp + 0x78]
call fcn.140002ff0
nop
mov edx, 0x27de
lea rcx, [rsp + 0x78]
call fcn.140003c90
lea rcx, [rsp + 0x78]
call fcn.14000a6a0
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x78
mov r9d, 2
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140002600
mov edx, 0x27df
lea rcx, [rsp + 0x78]
call fcn.140003c90
lea rcx, [rsp + 0x78]
call fcn.14000a6a0
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x78
mov r9d, 2
mov r8, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140002600
mov edx, 0x87
lea rcx, [rsp + 0x78]
call fcn.140003c90
lea rcx, [rsp + 0x78]
call fcn.14000a6a0
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 2
mov r8, rax
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140002600
mov r8d, 0xfffffffe
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140002510
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 2
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400024d0
xor r9d, r9d
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140002f40
xor r8d, r8d
mov edx, 0x20
lea rcx, [rsp + 0x40]
call fcn.1400025c0
mov rdi, qword [rsp + 0x510]
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x510]
mov r8d, dword [rax + 0x50]
mov rdx, qword [rsp + 0x510]
mov rdx, qword [rdx + 0x48]
mov rcx, qword [rsp + 0x510]
call qword [rdi + 0x20]
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, 0x3ff
lea rdx, [rsp + 0x4c0]
call fcn.140002e80
mov rcx, rax
call fcn.140002db0
test eax, eax
je 0x140001964
xor eax, eax
mov word [rsp + 0x90], ax
lea rdi, [rsp + 0x92]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x90]
lea rcx, [0x140034920]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
mov word [rsp + 0x2a0], dx
lea rdi, [rsp + 0x2a2]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r8, [rsp + 0x90]
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
call fcn.140022658
lea rdx, [0x140034948]
lea rcx, [rsp + 0x2a0]
call fcn.140002ac0
lea r9, [rsp + 0x2a0]
mov r8d, 1
lea rdx, [0x140034968]
lea rcx, [0x140034988]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, eax
mov edx, 0x3ff
call fcn.140002e20
mov r9d, 3
mov r8d, 3
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140002460
lea rdx, [rsp + 0x4c8]
lea rcx, [rsp + 0x40]
call fcn.140002550
xor edx, edx
mov rcx, rax
call fcn.140002dd0
lea rcx, [rsp + 0x40]
call fcn.140002e00
mov qword [rsp + 0x4d0], 0
lea rcx, [rsp + 0x78]
call fcn.1400040d0
mov rax, qword [rsp + 0x4d0]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400226f0
add rsp, 0x4f8
pop rdi
pop rbx
ret