Function at 0x100143c0
Capabilities:
Create thread
Query environment variable
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1e0
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [esp + 0x1d8], eax
call sym.mozglue.dll_bool___cdecl_mozilla::IsEafPlusEnabled_void_
test al, al
jne 0x100143eb
call sym.mozglue.dll_void___cdecl_mozilla::CacheNtDllThunk_void_
push 0xc
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov esi, eax
mov ecx, eax
push 0
call fcn.10051a10
mov dword [0x100a5608], esi
lea eax, [esp + 0x90]
push 1
push eax
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
add esp, 8
lea esi, [esp + 0x120]
mov ecx, esi
call fcn.10015c60
cmp byte [esi + 4], 0
jne 0x10014919
lea esi, [esp + 0x120]
mov ebx, dword [esi]
mov ecx, esi
call fcn.10015cf0
cmp byte [esi + 4], 0
jne 0x10014926
mov edx, dword [esp + 0x120]
lea edi, [esp + 0x108]
mov ecx, edi
mov dword [esp + 0x20], edx
push str.Progress
call fcn.10015da0
add esp, 4
lea esi, [esp + 0xa8]
mov ecx, esi
mov dword [esp + 0xc], ebx
mov edx, ebx
push edi
call fcn.10051a70
add esp, 4
cmp byte [esi + 4], 0
mov bl, 1
jne 0x10014499
cmp dword [esp + 0xa8], 1
jne 0x100149c9
xor eax, eax
mov dword [esp + 0x120], eax
cmp dword [esp + 0x11c], 8
jb 0x100144b3
mov edi, dword [esp + 0x108]
mov ecx, 4
push ecx
lea edx, [esp + 0x124]
push edx
push ecx
push eax
push edi
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001494a
lea edi, [esp + 0x120]
mov ecx, edi
call fcn.10016350
cmp byte [edi + 4], 0
mov bl, 1
jne 0x100147f5
xor eax, eax
lea ecx, [esp + 0x120]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx], 4
push 0xe
call fcn.1001b430
test al, al
je 0x100149da
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov dword [eax + ecx*4], str.new_instance
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.no_remote
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], 0x10095417
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.foreground
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.setDefaultBrowser
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.attach_console
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.wait_for_browser
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.osint
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.new_tab
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.new_window
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.marionette
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.preferences
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], str.search
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
lea edx, [ecx + 1]
mov dword [esp + 0x124], edx
mov dword [eax + ecx*4 + 4], 0x10095798
mov edi, dword [esp + 0x124]
inc edi
mov dword [esp + 0x124], edi
mov al, 1
mov dword [esp + 0x24], eax
cmp dword [ebp + 0xc], 2
jl 0x100148eb
mov dword [esp + 0x10], 3
xor ebx, ebx
inc ebx
xor eax, eax
dec eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + ebx*4]
push 2
push 0x1009709c
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x1001490f
movzx ecx, byte [esi]
or ecx, 2
xor eax, eax
inc eax
cmp ecx, 0x2f
jne 0x1001473f
add esi, eax
push str.marionette
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x1001497d
inc ebx
cmp dword [ebp + 0xc], ebx
jne 0x100146fb
xor ecx, ecx
inc ecx
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov esi, dword [eax + ecx*4]
push 2
push 0x1009709c
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], esi
je 0x10014973
movzx ecx, byte [esi]
or ecx, 2
xor eax, eax
inc eax
cmp ecx, 0x2f
jne 0x100147dd
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x124]
xor esi, esi
test ecx, ecx
je 0x100148f2
add dword [esp + 0x1c], eax
shl ecx, 2
mov dword [esp + 0x30], ecx
mov edi, dword [esp + 0x10]
xor edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push dword [eax + esi]
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
movzx ebx, bl
or edi, eax
mov ecx, 1
cmove ebx, ecx
test eax, eax
je 0x100147dd
add esi, 4
cmp dword [esp + 0x30], esi
jne 0x100147a5
jmp 0x10014802
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x1001474a
mov dword [esp + 0x10], 4
jmp 0x10014812
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
jmp 0x10014840
mov dword [esp + 0x10], 4
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x120]
cmp eax, 4
je 0x1001482c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp byte [esp + 0x24], 0
jne 0x100149f1
lea edi, [esp + 0x120]
mov bl, 1
mov dword [esp + 0x120], 1
cmp dword [esp + 0x11c], 8
jb 0x1001485e
mov eax, dword [esp + 0x108]
jmp 0x10014865
lea eax, [esp + 0x108]
mov ecx, 4
push ecx
push edi
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x11c]
cmp ecx, 8
jb 0x100148a0
mov eax, dword [esp + 0x108]
inc ecx
test ecx, 0x7ffff800
jne 0x10014957
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100148b1
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x100148d5
cmp byte [0x100a5624], 0
mov eax, dword [esp + 0x10]
jne 0x1001493a
mov dword [0x100a5620], eax
mov byte [0x100a5624], 1
mov ecx, dword [esp + 0x1d8]
xor ecx, ebp
call fcn.1004f020
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x10014816
mov dword [esp + 0x10], 4
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
jmp 0x1001481d
mov eax, 2
jmp 0x10014727
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
jmp 0x100148bc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100148bc
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__isSome___
int3
mov dword [esp + 0x10], 7
jmp 0x10014877
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
mov esi, dword [esp + 0xc]
jmp 0x10014897
mov eax, 2
jmp 0x1001477e
cmp edi, dword [esp + 0x128]
jne 0x100149a3
lea ecx, [esp + 0x120]
push 1
call fcn.1001b430
test al, al
je 0x10014c42
mov edi, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov dword [eax + edi*4], str.profile
mov eax, dword [esp + 0x124]
mov dword [esp + 0x2c], eax
inc eax
mov dword [esp + 0x124], eax
jmp 0x10014745
mov dword [esp + 0x10], 0x14
mov esi, dword [esp + 0xc]
jmp 0x10014877
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 3
xor ebx, ebx
jmp 0x10014816
push str.MOZ_SAFE_MODE_RESTART
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10014a19
mov dword [esp + 0x10], 5
cmp byte [eax], 0
je 0x10014a19
mov esi, dword [esp + 0xc]
jmp 0x10014837
push str.MOZ_APP_SILENT_START
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10014a38
mov dword [esp + 0x10], 5
cmp byte [eax], 0
jne 0x10014a10
push str.MOZ_RESET_PROFILE_RESTART
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10014a57
mov dword [esp + 0x10], 5
cmp byte [eax], 0
jne 0x10014a10
push str.MOZ_HEADLESS
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10014a76
mov dword [esp + 0x10], 5
cmp byte [eax], 0
jne 0x10014a10
push str.XRE_PROFILE_PATH
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10014ab4
cmp byte [eax], 0
je 0x10014ab4
push 0x10096c28
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov dword [esp + 0x10], 5
test eax, eax
je 0x10014a10
cmp byte [eax], 0
je 0x10014a10
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Enabled
call fcn.10015da0
add esp, 4
lea esi, [esp + 0xb0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10051a70
add esp, 4
mov dl, byte [esi + 4]
mov eax, dword [esi]
xor ecx, ecx
test eax, eax
setne cl
mov byte [esp + 0x1c], dl
test dl, dl
cmovne ecx, eax
mov esi, ecx
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10014b33
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10014b2a
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
mov dword [esp + 0x10], 2
cmp byte [esp + 0x1c], 0
jne 0x10014a10
mov eax, esi
test al, al
jne 0x10014b58
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x10014a10
mov byte [0x100a5610], 1
push 0xc
call sym.mozglue.dll_moz_xmalloc
add esp, 4
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], 0x24
mov dword [0x100a55f4], eax
lea esi, [esp + 0x120]
mov ecx, esi
call fcn.1007a270
mov dword [esp + 0x28], esi
cmp byte [esi + 4], 0
jne 0x100157b4
test bl, bl
je 0x10014c51
mov ecx, dword [ebp + 8]
lea ebx, [esp + 0xe0]
mov dword [ebx], 8
mov dword [ebx + 4], 0x1007a130
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov edi, dword [0x100a5590]
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov esi, eax
mov ecx, edi
call dword [section..00cfg]
push 0x7f00
push esi
call edi
mov dword [ebx + 0x14], eax
mov ecx, dword [0x100a5594]
call dword [section..00cfg]
push 0x7f02
push dword [ebp + 8]
call ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], str.MozillaWindowClass
mov ecx, dword [0x100a558c]
call dword [section..00cfg]
push ebx
call ecx
mov dword [esp + 0x10], 0xc
mov cl, 1
mov dword [esp + 0x1c], ecx
test ax, ax
jne 0x10014c7a
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x120]
mov ebx, dword [esp + 0x1c]
jmp 0x10014840
mov dword [esp + 0x24], 0
xor ebx, ebx
jmp 0x10014812
lea esi, [esp + 0x5c]
push 0x10092010
push esi
call fcn.100168e0
add esp, 8
mov esi, dword [esi]
test esi, esi
jne 0x10014f7c
mov dword [esp + 0x10], 0xa
jmp 0x10014a10
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.ScreenX
call fcn.10015da0
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10051a70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10014ce0
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10014cd7
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xb4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x3c], eax
jne 0x100157c7
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push 0x1009a838
call fcn.10015da0
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10051a70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10014d5f
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10014d56
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xb4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
jne 0x100157cd
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.Width
call fcn.10015da0
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10051a70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10014dde
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10014dd5
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xb4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x24], eax
jne 0x100157d3
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.Height
call fcn.10015da0
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10051a70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10014e5d
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10014e54
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xb4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x34], eax
jne 0x100157d9
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Maximized
call fcn.10015da0
add esp, 4
lea esi, [esp + 0xb0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10051a70
add esp, 4
mov cl, byte [esi + 4]
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
setne bl
mov byte [esp + 0x2c], cl
test cl, cl
mov dword [esp + 0x10], eax
cmovne ebx, eax
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10014ef7
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10014eee
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0x2c], 0
jne 0x10014c2e
test bl, bl
setne byte [0x100a55e8]
lea ecx, [esp + 0x120]
mov edx, dword [esp + 0x20]
push str.CssToDevPixelScaling
call fcn.10015da0
add esp, 4
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], eax
mov edi, 8
mov dword [esp + 0x5c], edi
cmp dword [esp + 0x134], edi
jb 0x10014f50
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x28], ecx
lea ebx, [esp + 0x5c]
push ebx
push esi
push eax
push edi
push dword [esp + 0x38]
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebx]
xor ecx, edi
or ecx, eax
sete bl
je 0x10014fcc
movsd xmm0, qword [0x10092c50]
jmp 0x10014fd5
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], 7
mov word [esp + 0xe0], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov edi, eax
cmp eax, 7
jbe 0x10015249
lea ecx, [esp + 0xe0]
mov edx, edi
push esi
call fcn.10015f50
add esp, 4
jmp 0x1001526c
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x134]
cmp ecx, edi
jb 0x10015012
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015009
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test bl, bl
je 0x100157df
movsd xmm0, qword [esp + 0x10]
movsd qword [0x100a55e0], xmm0
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.UrlbarCSSSpan
call fcn.10015da0
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.1007ac70
add esp, 4
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x1001508a
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015081
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xbc], 0
jne 0x100157f1
lea esi, [esp + 0xb0]
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x30], eax
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.SearchbarCSSSpan
call fcn.10015da0
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.1007ac70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x1001510d
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015104
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xbc], 0
jne 0x10015801
lea esi, [esp + 0xb0]
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov edi, dword [esi + 4]
lea ebx, [esp + 0x120]
mov ecx, ebx
mov edx, dword [esp + 0x20]
push str.SpringsCSSSpan
call fcn.10015da0
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0xc]
push ebx
call fcn.1007ac70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x1001518c
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015183
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xbc], 0
jne 0x10015817
mov esi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
cmp esi, 0x10
je 0x10015242
mov dword [esp + 0xb0], 0x10
mov dword [esp + 0xb8], 0
mov edx, esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x10], 0xd
mov al, 1
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x30], 0
je 0x10015202
test edi, edi
jne 0x10015647
cmp esi, 0x10
je 0x10015211
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x2c], 0x10
je 0x10015225
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x28], 0x10
je 0x10014c2e
push dword [esp + 0x28]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10014c2e
mov edx, 0x10
jmp 0x100151d0
lea eax, [esp + 0xe0]
mov dword [eax + 0x10], edi
mov ecx, edi
add ecx, edi
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov word [esp + edi*2 + 0xe0], 0
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov edx, ecx
sub edx, eax
cmp edx, 0x1d
jae 0x100152a0
lea ecx, [esp + 0xe0]
mov edx, 0x1d
push 0x1d
push str.MozillaFirefoxprofiles.ini
call fcn.10016770
add esp, 8
jmp 0x100152f5
lea edx, [eax + 0x1d]
mov dword [esp + 0xf0], edx
cmp ecx, 8
jb 0x100152b8
mov ecx, dword [esp + 0xe0]
jmp 0x100152bf
lea ecx, [esp + 0xe0]
movups xmm0, xmmword [0x1009a714]
movups xmmword [ecx + eax*2 + 0x2a], xmm0
movups xmm0, xmmword [0x1009a70a]
movups xmmword [ecx + eax*2 + 0x20], xmm0
movups xmm0, xmmword [0x1009a6fa]
movups xmmword [ecx + eax*2 + 0x10], xmm0
movups xmm0, xmmword [str.MozillaFirefoxprofiles.ini]
movups xmmword [ecx + eax*2], xmm0
mov word [ecx + eax*2 + 0x3a], 0
cmp dword [esp + 0xf4], 8
jb 0x10015308
mov edi, dword [esp + 0xe0]
jmp 0x1001530f
lea edi, [esp + 0xe0]
lea esi, [esp + 0x190]
mov dword [esi - 0x70], 0x10092cd8
mov ecx, esi
call dword [sym.imp.msvcp140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [esi], 0x100928e4
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, edi
call fcn.1007ae50
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x120], 0x10092ce0
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x11c], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.msvcp140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
je 0x1001537a
mov bl, 1
mov dword [esp + 0x10], 0xa
jmp 0x1001541c
xor eax, eax
lea edi, [esp + 0xb0]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [esp + 0x120]
mov ecx, dword [eax + 4]
lea esi, [esp + 0x120]
add ecx, esi
push 0xa
call dword [sym.imp.msvcp140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movsx eax, al
mov ecx, esi
mov edx, edi
push eax
call fcn.1007b090
add esp, 4
mov eax, dword [esp + 0x120]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.msvcp140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
je 0x100154bd
mov eax, dword [esp + 0xc4]
xor ebx, ebx
cmp eax, 0x10
jb 0x10015414
mov ecx, dword [esp + 0xb0]
add eax, 0xfffff001
cmp eax, 0xffffefff
ja 0x1001540b
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x100157ae
mov ecx, eax
push ecx
call sym.mozglue.dll__aligned_free
add esp, 4
mov dword [esp + 0x10], 0xb
lea ecx, [esp + 0x130]
mov eax, dword [ecx - 0x10]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x120], 0x10092ce4
mov eax, dword [ecx - 0x10]
mov eax, dword [eax + 4]
lea edx, [eax - 0x70]
mov dword [esp + eax + 0x11c], edx
call fcn.10071250
lea ecx, [esp + 0x190]
call dword [sym.imp.msvcp140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov ecx, dword [esp + 0xf4]
cmp ecx, 8
jb 0x1001548e
mov eax, dword [esp + 0xe0]
inc ecx
test ecx, 0x7ffff800
je 0x10015485
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
test ecx, ecx
je 0x100154a3
call fcn.1007b270
test bl, bl
je 0x10014ba0
mov bl, 1
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x120]
jmp 0x10014840
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
test edi, edi
jne 0x100155a7
xor eax, eax
mov ecx, dword [esp + 0xb0]
cmp edi, eax
cmovb eax, edi
cmp edx, 0x10
lea esi, [esp + 0xb0]
cmovb ecx, esi
sub edi, eax
mov dword [esp + 0xc0], edi
inc edi
add eax, ecx
push edi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
cmp dword [esp + 0xc4], 0x10
mov edi, esi
jb 0x10015520
mov edi, dword [esp + 0xb0]
mov esi, dword [esp + 0xc0]
cmp esi, 9
mov eax, 9
cmovb eax, esi
push eax
push str._General_
push edi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100155db
mov bl, 1
cmp esi, 9
jne 0x100155db
mov eax, dword [esp + 0x120]
mov ecx, dword [eax + 4]
lea esi, [esp + 0x120]
add ecx, esi
push 0xa
call dword [sym.imp.msvcp140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movsx eax, al
mov ecx, esi
lea edx, [esp + 0xb0]
push eax
call fcn.1007b090
add esp, 4
mov eax, dword [esp + 0x120]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.msvcp140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
mov dword [esp + 0x10], ebx
test al, al
je 0x100154c5
jmp 0x100153d7
cmp edx, 0x10
mov ecx, dword [esp + 0xb0]
lea esi, [esp + 0xb0]
cmovae esi, ecx
xor eax, eax
movzx ebx, byte [esi + eax]
cmp ebx, 0x20
je 0x100155cf
cmp ebx, 9
jne 0x100154e4
inc eax
cmp edi, eax
jne 0x100155bd
mov eax, edi
jmp 0x100154e4
test byte [esp + 0x10], 1
jne 0x100155eb
mov ebx, dword [esp + 0x10]
jmp 0x10015554
cmp byte [edi], 0x5b
jne 0x100155f7
xor ebx, ebx
jmp 0x10015554
push 0x15
push str.StartWithLastProfile
push 0
push esi
push edi
call fcn.1004d7c0
add esp, 0x14
test eax, eax
jne 0x100155e2
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0xb0]
cmp eax, 0x10
jb 0x10015628
mov ecx, dword [esp + 0xb0]
movzx ecx, byte [ecx + 0x15]
cmp ecx, 0x30
je 0x100157c0
mov ebx, dword [esp + 0x10]
cmp ecx, 0x31
jne 0x10015554
jmp 0x100153de
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Flags
call fcn.10015da0
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push edi
call fcn.10051a70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x100156ad
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x100156a4
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xb4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0x1c], eax
jne 0x10015202
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], 0x15
test al, 0x18
jne 0x10015202
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Theme
call fcn.10015da0
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push edi
call fcn.10051a70
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10015749
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015740
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100157ae
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xb4], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
jne 0x10015202
cmp dword [esp + 0x10], 1
je 0x1001582d
cmp dword [esp + 0x10], 2
jne 0x1001583a
mov dword [esp + 0x10], 0xc0c0d
mov dword [esp + 0x30], 0x1c1b22
mov dword [esp + 0x1c], 0x6a6a6d
mov ecx, 0x42414d
mov ebx, 0x2b2a33
mov eax, 0x1c1b22
mov edx, 0x42414d
mov edi, 0x42414d
jmp 0x1001586b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esp + 0x120]
jmp 0x10014b4f
mov bl, 1
jmp 0x100153e0
mov eax, dword [esp + 0x3c]
jmp 0x100157f8
mov eax, dword [esp + 0x38]
jmp 0x100157f8
mov eax, dword [esp + 0x24]
jmp 0x100157f8
mov eax, dword [esp + 0x34]
jmp 0x100157f8
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
jmp 0x100157f8
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
jmp 0x10014c2e
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0x1c], eax
jmp 0x10015225
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0x1c], eax
jmp 0x10015211
call fcn.1007a1f0
test al, al
jne 0x10015778
mov edx, 0xffffff
mov dword [esp + 0x10], 0xe1e1e2
mov eax, 0xf0f0f4
mov dword [esp + 0x1c], 0xdddde1
mov ebx, 0xf9f9fb
mov ecx, 0xf9f9fb
mov dword [esp + 0x30], 0xdddde1
mov edi, 0xdddde1
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x10], 0xe
mov al, 1
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x24], 0x10000
ja 0x10015202
cmp dword [esp + 0x34], 0x10000
ja 0x10015202
movzx edi, byte [0x100a55e8]
mov dword [esp + 0x10], edi
shl edi, 0x18
or edi, 0x2cf0000
mov ecx, dword [0x100a5598]
call dword [section..00cfg]
xor eax, eax
push eax
push dword [ebp + 8]
push eax
push eax
push dword [esp + 0x44]
push dword [esp + 0x38]
push dword [esp + 0x50]
push dword [esp + 0x58]
push edi
push 0x1009a91a
push str.MozillaWindowClass
push 0x100
call ecx
mov dword [0x100a5600], eax
test eax, eax
je 0x10015a7a
mov ebx, eax
xor eax, eax
cmp byte [esp + 0x10], 0
setne al
lea edi, [eax + eax]
inc edi
mov ecx, dword [0x100a559c]
call dword [section..00cfg]
push edi
push ebx
call ecx
mov ecx, dword [0x100a5588]
mov edi, dword [0x100a5600]
call dword [section..00cfg]
push edi
call ecx
mov ebx, eax
mov dword [0x100a5618], eax
mov ecx, dword [0x100a5584]
call dword [section..00cfg]
push ebx
push 0x20
call ecx
mov ebx, eax
mov ecx, dword [0x100a5584]
mov edi, dword [0x100a5618]
call dword [section..00cfg]
mov eax, 0x5c
push edi
push eax
call ecx
add eax, ebx
mov dword [0x100a55f0], eax
mov ecx, dword [0x100a5584]
mov edi, dword [0x100a5618]
call dword [section..00cfg]
push edi
push 0x21
call ecx
mov ebx, eax
mov ecx, dword [0x100a5584]
mov edi, dword [0x100a5618]
call dword [section..00cfg]
push edi
mov eax, 0x5c
push eax
call ecx
add eax, ebx
mov dword [0x100a55ec], eax
cmp byte [0x100a55e8], 0
je 0x10015a87
mov ecx, dword [0x100a55b4]
mov edi, dword [0x100a5600]
call dword [section..00cfg]
push 0
push edi
call ecx
mov dword [esp + 0x10], 0xf
test eax, eax
je 0x10015202
mov edi, eax
xorps xmm0, xmm0
movups xmmword [esp + 0x134], xmm0
movups xmmword [esp + 0x124], xmm0
mov dword [esp + 0x144], 0
mov dword [esp + 0x120], 0x28
mov ecx, dword [0x100a55b8]
call dword [section..00cfg]
lea eax, [esp + 0x120]
push eax
push edi
call ecx
test eax, eax
je 0x10015202
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
sub eax, dword [esp + 0x134]
mov edx, dword [0x100a55f0]
lea eax, [eax + edx*2]
sub ecx, dword [esp + 0x138]
mov dword [0x100a55cc], eax
mov eax, dword [0x100a55ec]
lea eax, [ecx + eax*2]
jmp 0x10015a94
mov dword [esp + 0x10], 0x10
jmp 0x10015202
mov eax, dword [esp + 0x24]
mov dword [0x100a55cc], eax
mov eax, dword [esp + 0x34]
mov dword [0x100a55f8], eax
mov ecx, dword [0x100a55a0]
mov edi, dword [0x100a5600]
call dword [section..00cfg]
sub esp, 0x1c
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x18], 0x237
mov dword [esp + 0x14], 0
call ecx
mov eax, dword [esp + 0x2c]
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mov eax, dword [esp + 0x28]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov edx, dword [0x100a5600]
sub esp, 0x18
lea eax, [esp + 0x98]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x74]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
movsd qword [esp], xmm3
lea edi, [esp + 0x138]
mov ecx, edi
call fcn.100781f0
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x10015c44
cmp dword [0x100a55f4], 0
je 0x10015b50
xor eax, eax
push eax
push eax
push eax
push 0x10079b30
push 0x40000
push eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x100a560c], eax
lea edi, [esp + 0xc8]
push 1
push edi
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
add esp, 8
movsd xmm0, qword [esp + 0xa0]
movsd qword [edi - 8], xmm0
movups xmm0, xmmword [esp + 0x90]
movaps xmmword [edi - 0x18], xmm0
xor eax, eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x170], eax
movups xmmword [esp + 0x128], xmm0
movaps xmm0, xmmword [edi + 8]
movups xmmword [esp + 0x148], xmm0
movaps xmm0, xmmword [edi - 8]
movups xmmword [esp + 0x138], xmm0
mov byte [esp + 0x158], 1
lea ebx, [esp + 0x50]
mov dword [ebx], str.CreatePreXULSkeletonUI
mov dword [ebx + 4], 0x16
mov dword [ebx + 8], eax
lea ecx, [esp + 0x48]
mov edx, ebx
lea eax, [esp + 0x120]
push eax
call fcn.1007b480
add esp, 4
cmp dword [ebx + 8], 2
jne 0x10015c11
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10015c11
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
mov ebx, dword [esp + 0x164]
mov dword [esp + 0x164], 0
test ebx, ebx
je 0x10015c37
mov ecx, ebx
call fcn.10058dd0
push ebx
call sym.mozglue.dll__aligned_free
add esp, 4
mov dword [esp + 0x1c], 0
jmp 0x10015202
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
jmp 0x10015202