Function at 0x140003200
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 [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rcx, qword [rsp + 0x510]
add rcx, 8
xor edx, edx
call fcn.140002da0
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, [0x140044590]
call fcn.140004a20
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.140004b80
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, [0x140044590]
call fcn.140004a20
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.140004b80
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.140004aa0
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, 0x3ff
lea rdx, [rsp + 0x4b0]
call fcn.140004b00
xor edx, edx
mov rcx, rax
call fcn.140004a50
mov rcx, qword [rsp + 0x510]
add rcx, 8
mov r8d, 0x3ec
lea rdx, [rsp + 0x4b8]
call fcn.140004b00
mov rcx, rax
call fcn.140002d50
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001cdb0
lea rcx, [rsp + 0x78]
call fcn.140004c70
nop
mov edx, 0x27de
lea rcx, [rsp + 0x78]
call fcn.140005910
lea rcx, [rsp + 0x78]
call fcn.140002d50
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.140004280
mov edx, 0x27df
lea rcx, [rsp + 0x78]
call fcn.140005910
lea rcx, [rsp + 0x78]
call fcn.140002d50
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.140004280
mov edx, 0x87
lea rcx, [rsp + 0x78]
call fcn.140005910
lea rcx, [rsp + 0x78]
call fcn.140002d50
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.140004280
mov r8d, 0xfffffffe
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140004190
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 2
lea r8, [rsp + 0x50]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140004150
xor r9d, r9d
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140004bc0
xor r8d, r8d
mov edx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140004240
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.140004b00
mov rcx, rax
call fcn.140004a30
test eax, eax
je 0x140003634
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.140022aa8
lea rdx, [0x140034948]
lea rcx, [rsp + 0x2a0]
call fcn.140004740
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.140004aa0
mov r9d, 3
mov r8d, 3
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400040e0
lea rdx, [rsp + 0x4c8]
lea rcx, [rsp + 0x40]
call fcn.1400041d0
xor edx, edx
mov rcx, rax
call fcn.140004a50
lea rcx, [rsp + 0x40]
call fcn.140004a80
mov qword [rsp + 0x4d0], 0
lea rcx, [rsp + 0x78]
call fcn.140005d50
mov rax, qword [rsp + 0x4d0]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x4f8
pop rdi
pop rbx
ret