Function at 0x14003410c
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.140041280
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1130], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xfd0], rax
mov qword [rsp + 0x40], rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor ebx, ebx
mov qword [rdx], rbx
lea rdx, [rsp + 0x58]
call fcn.1400292c0
test al, al
jne 0x1400341bd
mov r9, rdi
lea r8, [0x14000b960]
mov edx, reloc.MFC42.dll_CScrollBar::Create
lea rcx, [rbp - 0x70]
call fcn.140027db8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rbp - 0x70]
call fcn.1400285f8
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea edx, [rbx + 0x10]
mov rcx, rax
call qword [sym.imp.MFC42.dll_Ordinal_1506]
lea rcx, [rsp + 0x40]
call fcn.140027d90
xor al, al
jmp 0x140034497
mov r14, rbx
mov r15, rbx
mov qword [rsp + 0x38], rbx
mov rsi, qword [rsp + 0x68]
mov r12d, dword [rsp + 0x70]
add r12, rsi
mov edi, 1
mov dword [rsp + 0x30], edi
mov rcx, qword [0x14000bb10]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bl
jne 0x1400341e9
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov byte [rbp - 0x78], cl
cmp rsi, r12
jae 0x140034489
movsxd r13, eax
movsx ecx, byte [rsi]
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
je 0x140034222
cmp byte [rsi], 0xa
jne 0x14003421a
inc edi
inc rsi
cmp rsi, r12
jb 0x140034206
mov dword [rsp + 0x30], edi
lea rdi, [rbp - 0x70]
jmp 0x14003424a
lea rax, [rbp + 0x7cf]
cmp rdi, rax
jae 0x14003425e
mov al, byte [rsi]
cmp al, 0xd
je 0x14003425e
cmp al, 0xa
je 0x14003425e
mov byte [rdi], al
inc rdi
inc rsi
cmp rsi, r12
jb 0x14003422c
jmp 0x14003425e
movsx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
je 0x14003426c
mov byte [rdi], bl
lea rax, [rbp - 0x70]
dec rdi
cmp rdi, rax
jae 0x140034251
mov al, byte [rbp - 0x70]
cmp al, 0x3b
ja 0x14003428b
movsx rax, al
movabs rcx, 0xc00808800000001
bt rcx, rax
jb 0x14003443b
mov r8, r13
mov rdx, qword [0x14000bb10]
lea rcx, [rbp - 0x70]
call qword [sym.imp.msvcrt.dll__strnicmp]
test eax, eax
jne 0x140034389
movsx ecx, byte [rbp + r13 - 0x70]
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
jne 0x1400342c3
cmp byte [rbp + r13 - 0x70], 0x2c
jne 0x140034389
lea rdi, [rbp - 0x6f]
add rdi, r13
jmp 0x1400342cf
inc rdi
movsx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll_isspace]
test eax, eax
jne 0x1400342cc
cmp byte [rdi], bl
je 0x14003444a
mov r8d, 0x800
lea rdx, [rbp + 0x7d0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov ecx, 0x18
test eax, eax
je 0x140034339
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140034334
lea rcx, [rbp + 0x7d0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400347c4
mov r14, rax
jmp 0x140034337
mov r14, rbx
jmp 0x140034366
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140034363
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.1400347c4
mov r14, rax
jmp 0x140034366
mov r14, rbx
test r14, r14
jne 0x140034421
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 1]
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, 1
mov r15d, eax
mov edi, eax
lea rdx, [0x14000bb10]
mov rdx, qword [rdx + rdi*8]
lea rcx, [rbp - 0x70]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x1400343ba
inc r15d
inc rdi
cmp rdi, 9
jl 0x140034393
jmp 0x140034416
cmp byte [rbp + rdi - 0x80], bl
jne 0x14003444a
mov ecx, 0x18
call qword [sym.imp.MFC42.dll_CReBarCtrl::SetColorScheme]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400343f4
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, rax
call fcn.1400347c4
mov r14, rax
jmp 0x1400343f7
mov r14, rbx
test r14, r14
jne 0x140034411
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 1]
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov byte [rbp + rdi - 0x80], 1
cmp r15d, 9
jge 0x14003444a
mov r15, qword [rsp + 0x38]
test r15, r15
je 0x14003442b
mov qword [r15], r14
jmp 0x140034433
mov rax, qword [rsp + 0x40]
mov qword [rax], r14
mov r15, r14
mov qword [rsp + 0x38], r14
cmp rsi, r12
mov edi, dword [rsp + 0x30]
jb 0x140034206
jmp 0x140034489
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x48]
lea r8, [0x14000b978]
mov edx, reloc.MFC42.dll_CScrollBar::Create
lea rcx, [rbp - 0x70]
call fcn.140027db8
xor r8d, r8d
lea edx, [r8 + 0x10]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MFC42.dll_Ordinal_1506]
mov rcx, qword [rsp + 0x40]
call fcn.1400344c8
jmp 0x14003448b
mov bl, 1
lea rcx, [rsp + 0x58]
call fcn.1400293d8
mov al, bl
mov rcx, qword [rbp + 0xfd0]
xor rcx, rsp
call fcn.14003f730
mov rbx, qword [rsp + 0x1130]
add rsp, 0x10e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret