Function at 0x1000c316
Capabilities:
Query environment variable

Disassembly:
push 0x60
mov eax, 0x1019d884
call fcn.1000195f
mov esi, ecx
mov ebx, dword [ebp + 8]
push ebx
call fcn.1001024d
or dword [ebp - 0x38], 0xffffffff
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push 0x10272b70
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], al
call fcn.1000c4b3
add esp, 0x14
mov dword [esi + 0x9c], eax
test eax, eax
jne 0x1000c363
xor al, al
jmp 0x1000c4a0
push eax
push ebx
lea ecx, [ebp - 0x34]
call fcn.1001024d
push dword [esi + 0x9c]
xor eax, eax
push ebx
mov dword [ebp - 4], eax
call fcn.1001024d
mov eax, dword [esi + 0x9c]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, esp
push ebx
mov dword [eax], ecx
call fcn.1001024d
pop ecx
pop ecx
test al, al
je 0x1000c490
push 0x101ea398
push dword [ebp - 0x10]
push ebx
call fcn.1001024d
add esp, 0xc
test eax, eax
je 0x1000c490
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x6c]
call fcn.1001024d
xor eax, eax
mov dword [ebp - 0x5c], str.self_hosted
push 0x10174c40
push ebx
mov dword [ebp - 0x58], 1
mov word [ebp - 0x49], 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], 0xb9
mov byte [ebp - 0x60], 1
call fcn.1001024d
push str.MOZ_SELFHOSTEDJS
mov dword [ebp - 0x1c], eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 0xc
test eax, eax
je 0x1000c449
push eax
sub esp, 0x2c
lea esi, [ebp - 0x6c]
push 0xb
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push ebx
mov dword [eax], ecx
call fcn.1010384e
add esp, 0x38
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000c479
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x10]
push ecx
mov eax, esp
lea ecx, [ebp - 0x18]
push ebx
mov dword [eax], ecx
call fcn.1001024d
add esp, 0x10
jmp 0x1000c476
call fcn.10019e37
lea ecx, [ebp - 0x2c]
push ecx
push eax
push str._r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_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ototype.shift__r_nvar_std_Array_slice__Array.prototype.slice__r_nvar_std_Array_sort__Array.prototype.sort__r_nvar_std_Array_unshift__Array.prototype.unshift__r_nvar_std_Boolean_toString__Boolean.prototype.toString__r_nvar_Std_Date__Date__r_nvar_std_Date_now__Date.now__r_nvar_std_Date_valueOf__Date.prototype.valueOf__r_nvar_std_Function_bind__Function.prototype.bind__r_nvar_std_Function_apply__Function.prototype.apply__r_nvar_std_Math_floor__Math.floor__r_nvar_std_Math_max__Math.max__r_nvar_std_Math_min__Math.min__r_nvar_std_Number_valueOf__Number.prototype.valueOf__r_nvar_std_Number_POSITIVE_INFINITY__Number.POSITIVE_INFINITY__r_nvar_std_Object_create__Object.create__r_nvar_std_Object_defineProperty__Object.defineProperty__r_nvar_std_Object_getOwnPropertyNames__Object.getOwnPropertyNames__r_nvar_std_Object_hasOwnProperty__Object.prototype.hasOwnProperty__r_nvar_std_RegExp_test__RegExp.prototype.test__r_nvar_Std_String__String__r_nvar_std_String_indexOf__String.prototype.indexOf__r_nvar_std_String_lastIndexOf__String.prototype.lastIndexOf__r_nvar_std_String_match__String.prototype.match__r_nvar_std_String_replace__String.prototype.replace__r_nvar_std_String_split__String.prototype.split__r_nvar_std_String_startsWith__String.prototype.startsWith__r_nvar_std_String_substring__String.prototype.substring__r_nvar_std_String_toLowerCase__String.prototype.toLowerCase__r_nvar_std_String_toUpperCase__String.prototype.toUpperCase__r_nvar_std_WeakMap_get__WeakMap.prototype.get__r_nvar_std_WeakMap_has__WeakMap.prototype.has__r_nvar_std_WeakMap_set__WeakMap.prototype.set__r_n_r_n_r_n_r_n_r_n_r_n_r_nfunction_List____r_n_r_n__let_ListProto__std_Object_create_null___r_n__ListProto.indexOf__std_Array_indexOf__r_n__ListProto.join__std_Array_join__r_n__ListProto.push__std_Array_push__r_n__ListProto.slice__std_Array_slice__r_n__ListProto.sort__std_Array_sort__r_n__MakeConstructible_List__ListProto___r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_nfunction_Record____r_n____return_std_Object_create_null___r_n_r_nMakeConstructible_Record_____r_n_r_n_r_n_r_n_r_n_r_n_r_nfunction
sub esp, 0x2c
lea esi, [ebp - 0x6c]
push 0xb
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push ebx
mov dword [eax], ecx
call fcn.1001024d
add esp, 0x40
mov byte [ebp - 0x14], al
push dword [ebp - 0x1c]
push ebx
call fcn.1001024d
push dword [ebp - 0x20]
push ebx
call fcn.1001024d
add esp, 0x10
jmp 0x1000c495
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
call fcn.1001024d
mov eax, dword [ebp - 0x14]
call fcn.100019bb
ret 4