Function at 0x14010c5a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x490]
cmp dword [rax], 0
jle 0x14010c5d0
jmp 0x14010c9c1
lea rcx, str.ICU_PLUGINS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14010c5f6
mov rax, qword [rsp + 0x38]
movsx eax, byte [rax]
test eax, eax
jne 0x14010c602
lea rax, str._usr_local_lib_icu
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14010c9a6
mov rax, qword [rsp + 0x38]
movsx eax, byte [rax]
test eax, eax
je 0x14010c9a6
mov r8d, 0x7ff
mov rdx, qword [rsp + 0x38]
lea rcx, [0x1404c36e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov r8d, 0x7ff
lea rdx, [0x1402f47d4]
lea rcx, [0x1404c36e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 0x7ff
lea rdx, str.icuplugins
lea rcx, [0x1404c36e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 0x7ff
lea rdx, [0x1402f47e4]
lea rcx, [0x1404c36e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 0x7ff
lea rdx, str..txt
lea rcx, [0x1404c36e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
lea rdx, [0x1402f47f0]
lea rcx, [0x1404c36e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14010c9a6
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x40], 0
mov r8, qword [rsp + 0x48]
mov edx, 0x3ff
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x14010c99b
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x70]
test eax, eax
je 0x14010c733
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x70]
cmp eax, 0x23
jne 0x14010c73a
jmp 0x14010c6e6
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c773
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x14010c773
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x14010c744
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c78c
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
cmp eax, 0x23
jne 0x14010c791
jmp 0x14010c6e6
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c7ca
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14010c7ca
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x14010c79b
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c7e3
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
cmp eax, 0x23
jne 0x14010c7e8
jmp 0x14010c6e6
mov rax, qword [rsp + 0x20]
mov byte [rax], 0
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c82c
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x14010c82c
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x14010c7fd
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c845
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
cmp eax, 0x23
jne 0x14010c84a
jmp 0x14010c6e6
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c883
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x14010c883
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x14010c854
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c8e9
mov rax, qword [rsp + 0x20]
mov byte [rax], 0
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c8d3
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x14010c8d3
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x14010c8a4
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
test eax, eax
je 0x14010c8e9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14010c94e
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
test eax, eax
je 0x14010c94e
mov rcx, qword [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jbe 0x14010c94e
mov rax, qword [rsp + 0x20]
dec rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x14010c94e
mov rax, qword [rsp + 0x20]
mov byte [rax], 0
jmp 0x14010c917
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14010c3b0
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x28], 0
jle 0x14010c996
mov rax, qword [rsp + 0x490]
cmp dword [rax], 0
jg 0x14010c996
mov rax, qword [rsp + 0x490]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
jmp 0x14010c6e6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x490]
call fcn.14010ca60
lea rdx, [0x14010bf80]
xor ecx, ecx
call fcn.1400e90d0
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140236770
add rsp, 0x488
ret