Function at 0x1002d010
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x510
mov eax, dword [0x1007a00c]
mov esi, ecx
xor edi, edi
lea ebx, [esp + 0x478]
mov ecx, ebx
xor eax, ebp
mov dword [esp + 0x508], eax
push edi
push edi
call fcn.1002daf0
add esp, 8
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x64]
xor eax, dword [ebx + 0x60]
or eax, ecx
jne 0x1002d06c
mov ecx, dword [esp + 0x508]
xor ecx, ebp
call fcn.10069260
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
cmp byte [esp + 0x478], 0x11
jne 0x1002d104
mov ebx, dword [esp + 0x479]
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d083
mov eax, dword [esi]
mov eax, dword [eax]
cmp ebx, eax
je 0x1002d0ab
test eax, eax
jne 0x1002d120
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x49c]
movsd xmm0, qword [0x1006bd28]
movapd xmm1, xmmword [esp + 0x30]
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
andpd xmm1, xmm0
movapd xmmword [esp + 0x30], xmm1
or eax, ecx
jne 0x1002d149
push 2
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call eax
add esp, 4
push str.expected_a_Time_entry
push str.ProfileBuffer_parse_error:__s
push eax
call fcn.1002db50
add esp, 0xc
jmp 0x1002d120
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d104
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x49c]
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
or eax, ecx
je 0x1002d054
jmp 0x1002d06e
cmp byte [esp + 0x478], 0x12
jne 0x1002d0e3
movsd xmm0, qword [esp + 0x479]
movsd qword [esp + 0x28], xmm0
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d162
mov eax, dword [esi + 4]
movsd xmm0, qword [eax]
ucomisd xmm0, qword [esp + 0x28]
ja 0x1002d120
mov eax, dword [esi + 8]
lea ecx, [esp + 0x68]
mov edx, str._root_
mov dword [esp + 0x14], eax
call fcn.1002dba0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x68]
call fcn.1001f8a0
xor ecx, ecx
mov byte [esp + 0x58], cl
mov byte [esp + 0x5c], cl
mov dword [esp + 0x60], eax
imul eax, eax, 0x9e3779b9
cmp byte [esp + 0xa8], cl
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], eax
jne 0x1002da85
lea ecx, [esp + 0x68]
call fcn.1001a3d0
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x49c]
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
or eax, ecx
jne 0x1002d20a
mov ebx, edi
mov edi, ebx
jmp 0x1002d120
mov dword [esp + 0x20], 0
mov al, byte [esp + 0x478]
cmp al, 4
je 0x1002d302
cmp al, 0xb
je 0x1002d51a
cmp dword [esp + 0x20], 0
je 0x1002d201
mov ecx, dword [esi + 8]
lea edx, [esp + 0x58]
call fcn.1001faf0
mov ecx, dword [esp + 0x49c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x498]
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
or eax, ecx
mov al, 1
mov dword [esp + 0x14], eax
je 0x1002d2a3
cmp byte [esp + 0x478], 0x10
jne 0x1002d2a3
movsd xmm0, qword [esp + 0x479]
movapd xmmword [esp + 0x30], xmm0
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d27f
mov dword [esp + 0x14], 0
mov edi, dword [esi + 0x10]
mov edx, 0x1006bff8
add edi, 4
mov ecx, edi
push 1
push 0x1006c018
call fcn.1002c060
add esp, 8
mov ecx, edi
mov edx, 0x1006bff8
push 0
push dword [esp + 0x24]
call fcn.1002ce40
add esp, 8
movsd xmm0, qword [esp + 0x28]
mov ecx, edi
mov edx, 0x1006bff8
call fcn.1002cf20
cmp byte [esp + 0x14], 0
je 0x1002d9dd
mov ecx, edi
mov edx, 0x1006c040
call fcn.1002c330
jmp 0x1002d203
mov eax, dword [esp + 0x479]
mov dword [esp + 8], eax
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d30d
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x49c]
mov dword [esp + 4], 0
mov dword [esp + 0x18], 0
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
or eax, ecx
je 0x1002d392
cmp byte [esp + 0x478], 5
mov dword [esp + 0x18], 0
jne 0x1002d392
mov eax, dword [esp + 0x479]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d376
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x49c]
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
or eax, ecx
je 0x1002d48c
cmp byte [esp + 0x478], 6
jne 0x1002d48c
xor eax, eax
cmp eax, 0x200
jae 0x1002d43a
mov ecx, dword [esp + 0x47d]
mov edx, dword [esp + 0x479]
cmp eax, 0x1ff
mov dword [esp + 4], 0x200
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
mov ecx, dword [ecx]
mov byte [ecx + eax], dl
je 0x1002d43e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
cmp eax, 0x1fd
mov ecx, dword [ecx]
mov byte [eax + ecx + 1], dh
ja 0x1002d43e
mov ecx, dword [esp + 0x10]
shr ecx, 0x10
cmp eax, 0x1fd
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov byte [eax + ecx + 2], dl
je 0x1002d43e
jmp 0x1002d9f4
mov dword [esp + 4], eax
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d43e
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x49c]
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
or eax, ecx
je 0x1002d48c
cmp byte [esp + 0x478], 6
mov eax, dword [esp + 4]
je 0x1002d3ce
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp dword [esp + 4], 0
mov eax, dword [eax]
mov byte [eax + 0x1ff], cl
mov dword [esp + 0x38c], 0xf
mov dword [esp + 0x388], 0
mov byte [esp + 0x378], cl
je 0x1002d653
mov eax, dword [esp + 8]
cmp byte [eax], 0
je 0x1002d653
test byte [esp + 0x18], 0x10
jne 0x1002d687
test byte [esp + 0x18], 0x20
jne 0x1002d674
test byte [esp + 0x18], 0x40
jne 0x1002da72
push dword [esp + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [esp + 0x378]
push eax
push dword [esp + 0xc]
call fcn.1001e650
lea ecx, [esp + 0x378]
push 0x20
jmp 0x1002d6ad
mov eax, dword [esp + 0x479]
mov dword [esp + 4], eax
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d525
sub esp, 0x10
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x388]
mov dword [esp + 0xc], 0
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.1002dc60
add esp, 0x10
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007b514]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1002da9a
cmp byte [0x1007b510], 0
je 0x1002d5dc
lea eax, [esp + 0x68]
push eax
push dword [esp + 8]
call sym.mozglue.dll_bool___cdecl_MozDescribeCodeAddress_void___struct_MozCodeAddressDetails__
add esp, 8
test al, al
je 0x1002d5dc
lea eax, [esp + 0x378]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edx, 0xff
lea ecx, [esp + eax + 0x379]
sub edx, eax
lea eax, [esp + 0x68]
mov byte [ecx - 1], 0x20
push eax
push dword [esp + 8]
push 0
push edx
push ecx
call sym.mozglue.dll_void___cdecl_MozFormatCodeAddressDetails_char___unsigned_int__unsigned_int__void___struct_MozCodeAddressDetails_const__
add esp, 0x14
mov eax, dword [esi + 8]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x378]
mov dword [esp + 4], eax
call fcn.1002dba0
mov ecx, dword [esp + 4]
lea edx, [esp + 0x68]
call fcn.1001f8a0
mov ecx, dword [esp + 4]
lea edx, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.1001faf0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 1
rol ecx, 5
mov dword [esp + 0x60], edx
xor ecx, edx
imul ecx, ecx, 0x9e3779b9
cmp byte [esp + 0xa8], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x64], ecx
jne 0x1002da85
lea ecx, [esp + 0x68]
jmp 0x1002d99e
cmp dword [esp + 4], 0
jne 0x1002d6b2
push dword [esp + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [esp + 0x378]
push eax
push dword [esp + 0xc]
jmp 0x1002d6d0
lea ecx, [esp + 0x378]
push 4
push str.get
call fcn.1001e650
push dword [esp + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [esp + 0x378]
push eax
push dword [esp + 0xc]
call fcn.1001e650
lea ecx, [esp + 0x378]
push 0x2e
call fcn.1001e4a0
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [esp + 0x378]
push eax
push dword [esp + 8]
call fcn.1001e650
mov eax, dword [esp + 0x498]
mov edx, dword [esp + 0x49c]
mov ecx, dword [esp + 0x4dc]
mov dword [esp + 0x1c], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4d8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
xor edx, ecx
mov ecx, dword [esp + 4]
mov dword [esp + 8], eax
xor ecx, dword [esp + 8]
or ecx, edx
mov dl, byte [esp + 0x478]
je 0x1002d9d0
cmp dl, 8
mov dword [esp + 0x24], 0
jne 0x1002d794
mov eax, dword [esp + 0x479]
mov ecx, dword [esp + 0x47d]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d745
mov eax, dword [esp + 0x49c]
mov ecx, dword [esp + 0x4d8]
mov dl, byte [esp + 0x478]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x498]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4dc]
mov dword [esp + 0xc], eax
xor eax, eax
cmp dl, 9
mov byte [esp + 0x50], al
mov byte [esp + 0x54], al
jne 0x1002d818
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
xor ecx, dword [esp + 8]
xor eax, dword [esp + 0xc]
or eax, ecx
je 0x1002d818
mov eax, dword [esp + 0x479]
mov dword [esp + 0x50], eax
xor eax, eax
inc eax
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d7c9
mov eax, dword [esp + 0x49c]
mov ecx, dword [esp + 0x4d8]
mov dl, byte [esp + 0x478]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x498]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4dc]
mov dword [esp + 0xc], eax
xor eax, eax
cmp dl, 0xa
mov byte [esp + 0x48], al
mov byte [esp + 0x4c], al
jne 0x1002d89c
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor eax, dword [esp + 8]
xor ecx, dword [esp + 0xc]
or ecx, eax
je 0x1002d89c
mov eax, dword [esp + 0x479]
mov dword [esp + 0x48], eax
xor eax, eax
inc eax
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d84d
mov eax, dword [esp + 0x49c]
mov ecx, dword [esp + 0x4d8]
mov dl, byte [esp + 0x478]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x498]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4dc]
mov dword [esp + 0xc], eax
xor eax, eax
cmp dl, 1
mov byte [esp + 0x40], al
mov byte [esp + 0x44], al
jne 0x1002d8ed
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
xor ecx, dword [esp + 8]
xor eax, dword [esp + 0xc]
or eax, ecx
je 0x1002d8ed
mov eax, dword [esp + 0x479]
mov dword [esp + 0x40], eax
xor eax, eax
inc eax
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x488]
call fcn.1002e690
lea ecx, [esp + 0x478]
call fcn.1002de60
test al, al
je 0x1002d8d1
xor eax, eax
cmp byte [esp + 0x18], 0
lea ecx, [esp + 0x68]
lea edx, [esp + 0x378]
sets al
mov dword [esp + 8], eax
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call fcn.1002dcd0
add esp, 0x18
mov ecx, dword [esp + 4]
lea edx, [esp + 0x68]
call fcn.1001f8a0
mov ecx, dword [esp + 4]
lea edx, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.1001faf0
mov edx, dword [esp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
rol edx, 5
xor edx, eax
imul edx, edx, 0x9e3779b9
xor ecx, ecx
inc ecx
cmp byte [esp + 0xa8], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
jne 0x1002da85
lea ecx, [esp + 0x68]
call fcn.1001a3d0
lea ecx, [esp + 0x378]
call fcn.1001a3d0
mov eax, dword [esp + 0x498]
mov ecx, dword [esp + 0x49c]
inc dword [esp + 0x20]
xor ecx, dword [esp + 0x4dc]
xor eax, dword [esp + 0x4d8]
or eax, ecx
jne 0x1002d212
jmp 0x1002d230
mov dword [esp + 0x24], 0
jmp 0x1002d794
movapd xmm0, xmmword [esp + 0x30]
mov ecx, edi
mov edx, 0x1006bff8
call fcn.1002cf20
jmp 0x1002d2f1
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx]
shr edx, 0x18
cmp eax, 0x1fb
mov byte [eax + ecx + 3], dl
ja 0x1002d43e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
cmp eax, 0x1fb
mov ecx, dword [ecx]
mov byte [eax + ecx + 4], dl
je 0x1002d43e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
cmp eax, 0x1f9
mov ecx, dword [ecx]
mov byte [eax + ecx + 5], dh
ja 0x1002d43e
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx]
shr ecx, 0x10
cmp eax, 0x1f9
mov byte [eax + edx + 6], cl
je 0x1002d43e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx]
shr edx, 0x18
mov byte [eax + ecx + 7], dl
add eax, 8
jmp 0x1002d43a
lea ecx, [esp + 0x378]
push 4
push str.set
jmp 0x1002d682
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_is_N____
mov ecx, 0x2f1
int3
push 0x1007b514
call fcn.10069281
add esp, 4
cmp dword [0x1007b514], 0xffffffff
jne 0x1002d587
push str.MOZ_PROFILER_SYMBOLICATE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x1002daca
xor eax, eax
jmp 0x1002dad0
cmp byte [eax], 0
setne al
mov byte [0x1007b510], al
push 0x1007b514
call fcn.10069281
add esp, 4
jmp 0x1002d587