Function at 0x10015550
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 [0x100a500c]
xor eax, ebp
mov dword [esp + 0x1d8], eax
call sym.mozglue.dll_bool___cdecl_mozilla::IsEafPlusEnabled_void_
test al, al
jne 0x1001557b
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.10052610
mov dword [0x100a6608], 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.10016df0
cmp byte [esi + 4], 0
jne 0x10015aa9
lea esi, [esp + 0x120]
mov ebx, dword [esi]
mov ecx, esi
call fcn.10016e80
cmp byte [esi + 4], 0
jne 0x10015ab6
mov edx, dword [esp + 0x120]
lea edi, [esp + 0x108]
mov ecx, edi
mov dword [esp + 0x20], edx
push str.Progress
call fcn.10016f30
add esp, 4
lea esi, [esp + 0xa8]
mov ecx, esi
mov dword [esp + 0xc], ebx
mov edx, ebx
push edi
call fcn.10052670
add esp, 4
cmp byte [esi + 4], 0
mov bl, 1
jne 0x10015629
cmp dword [esp + 0xa8], 1
jne 0x10015b59
xor eax, eax
mov dword [esp + 0x120], eax
cmp dword [esp + 0x11c], 8
jb 0x10015643
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 0x10015ada
lea edi, [esp + 0x120]
mov ecx, edi
call fcn.100174e0
cmp byte [edi + 4], 0
mov bl, 1
jne 0x10015985
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.1001ae30
test al, al
je 0x10015b6a
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], 0x100963d0
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], 0x10096745
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 0x10015a7b
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 0x10097ff4
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x10015a9f
movzx ecx, byte [esi]
or ecx, 2
xor eax, eax
inc eax
cmp ecx, 0x2f
jne 0x100158cf
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 0x10015b0d
inc ebx
cmp dword [ebp + 0xc], ebx
jne 0x1001588b
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 0x10097ff4
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 0x10015b03
movzx ecx, byte [esi]
or ecx, 2
xor eax, eax
inc eax
cmp ecx, 0x2f
jne 0x1001596d
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x124]
xor esi, esi
test ecx, ecx
je 0x10015a82
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 0x1001596d
add esi, 4
cmp dword [esp + 0x30], esi
jne 0x10015935
jmp 0x10015992
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x100158da
mov dword [esp + 0x10], 4
jmp 0x100159a2
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
jmp 0x100159d0
mov dword [esp + 0x10], 4
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x120]
cmp eax, 4
je 0x100159bc
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 0x10015b81
lea edi, [esp + 0x120]
mov bl, 1
mov dword [esp + 0x120], 1
cmp dword [esp + 0x11c], 8
jb 0x100159ee
mov eax, dword [esp + 0x108]
jmp 0x100159f5
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 0x10015a30
mov eax, dword [esp + 0x108]
inc ecx
test ecx, 0x7ffff800
jne 0x10015ae7
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10015a41
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x10015a65
cmp byte [0x100a6624], 0
mov eax, dword [esp + 0x10]
jne 0x10015aca
mov dword [0x100a6620], eax
mov byte [0x100a6624], 1
mov ecx, dword [esp + 0x1d8]
xor ecx, ebp
call fcn.1004fb50
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x100159a6
mov dword [esp + 0x10], 4
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
jmp 0x100159ad
mov eax, 2
jmp 0x100158b7
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
jmp 0x10015a4c
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10015a4c
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__isSome___
int3
mov dword [esp + 0x10], 7
jmp 0x10015a07
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
mov eax, ecx
mov esi, dword [esp + 0xc]
jmp 0x10015a27
mov eax, 2
jmp 0x1001590e
cmp edi, dword [esp + 0x128]
jne 0x10015b33
lea ecx, [esp + 0x120]
push 1
call fcn.1001ae30
test al, al
je 0x10015dd2
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 0x100158d5
mov dword [esp + 0x10], 0x14
mov esi, dword [esp + 0xc]
jmp 0x10015a07
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 3
xor ebx, ebx
jmp 0x100159a6
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 0x10015ba9
mov dword [esp + 0x10], 5
cmp byte [eax], 0
je 0x10015ba9
mov esi, dword [esp + 0xc]
jmp 0x100159c7
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 0x10015bc8
mov dword [esp + 0x10], 5
cmp byte [eax], 0
jne 0x10015ba0
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 0x10015be7
mov dword [esp + 0x10], 5
cmp byte [eax], 0
jne 0x10015ba0
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 0x10015c06
mov dword [esp + 0x10], 5
cmp byte [eax], 0
jne 0x10015ba0
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 0x10015c44
cmp byte [eax], 0
je 0x10015c44
push 0x10097bc8
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 0x10015ba0
cmp byte [eax], 0
je 0x10015ba0
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Enabled
call fcn.10016f30
add esp, 4
lea esi, [esp + 0xb0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10052670
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 0x10015cc3
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015cba
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x10015ba0
mov eax, esi
test al, al
jne 0x10015ce8
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x10015ba0
mov byte [0x100a6610], 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 [0x100a65f4], eax
lea esi, [esp + 0x120]
mov ecx, esi
call fcn.1007aa80
mov dword [esp + 0x28], esi
cmp byte [esi + 4], 0
jne 0x10016944
test bl, bl
je 0x10015de1
mov ecx, dword [ebp + 8]
lea ebx, [esp + 0xe0]
mov dword [ebx], 8
mov dword [ebx + 4], 0x1007a940
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov edi, dword [0x100a6590]
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 [0x100a6594]
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 [0x100a658c]
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 0x10015e0a
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x120]
mov ebx, dword [esp + 0x1c]
jmp 0x100159d0
mov dword [esp + 0x24], 0
xor ebx, ebx
jmp 0x100159a2
lea esi, [esp + 0x5c]
push 0x10093010
push esi
call fcn.10017a70
add esp, 8
mov esi, dword [esi]
test esi, esi
jne 0x1001610c
mov dword [esp + 0x10], 0xa
jmp 0x10015ba0
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.ScreenX
call fcn.10016f30
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10052670
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10015e70
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015e67
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x10016957
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push 0x1009b760
call fcn.10016f30
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10052670
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10015eef
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015ee6
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x1001695d
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.Width
call fcn.10016f30
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10052670
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10015f6e
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015f65
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x10016963
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.Height
call fcn.10016f30
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.10052670
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x10015fed
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10015fe4
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x10016969
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Maximized
call fcn.10016f30
add esp, 4
lea esi, [esp + 0xb0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10052670
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 0x10016087
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x1001607e
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0x2c], 0
jne 0x10015dbe
test bl, bl
setne byte [0x100a65e8]
lea ecx, [esp + 0x120]
mov edx, dword [esp + 0x20]
push str.CssToDevPixelScaling
call fcn.10016f30
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 0x100160e0
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 0x1001615c
movsd xmm0, qword [0x10093c00]
jmp 0x10016165
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 0x100163d9
lea ecx, [esp + 0xe0]
mov edx, edi
push esi
call fcn.100170e0
add esp, 4
jmp 0x100163fc
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [esp + 0x134]
cmp ecx, edi
jb 0x100161a2
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10016199
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test bl, bl
je 0x1001696f
movsd xmm0, qword [esp + 0x10]
movsd qword [0x100a65e0], xmm0
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, dword [esp + 0x20]
push str.UrlbarCSSSpan
call fcn.10016f30
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push esi
call fcn.1007b480
add esp, 4
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x1001621a
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10016211
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xbc], 0
jne 0x10016981
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.10016f30
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.1007b480
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x1001629d
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10016294
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xbc], 0
jne 0x10016991
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.10016f30
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0xc]
push ebx
call fcn.1007b480
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x1001631c
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10016313
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
cmp byte [esp + 0xbc], 0
jne 0x100169a7
mov esi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
cmp esi, 0x10
je 0x100163d2
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 0x10016392
test edi, edi
jne 0x100167d7
cmp esi, 0x10
je 0x100163a1
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 0x100163b5
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 0x10015dbe
push dword [esp + 0x28]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10015dbe
mov edx, 0x10
jmp 0x10016360
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 0x10016430
lea ecx, [esp + 0xe0]
mov edx, 0x1d
push 0x1d
push str.MozillaFirefoxprofiles.ini
call fcn.10017900
add esp, 8
jmp 0x10016485
lea edx, [eax + 0x1d]
mov dword [esp + 0xf0], edx
cmp ecx, 8
jb 0x10016448
mov ecx, dword [esp + 0xe0]
jmp 0x1001644f
lea ecx, [esp + 0xe0]
movups xmm0, xmmword [0x1009b63c]
movups xmmword [ecx + eax*2 + 0x2a], xmm0
movups xmm0, xmmword [0x1009b632]
movups xmmword [ecx + eax*2 + 0x20], xmm0
movups xmm0, xmmword [0x1009b622]
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 0x10016498
mov edi, dword [esp + 0xe0]
jmp 0x1001649f
lea edi, [esp + 0xe0]
lea esi, [esp + 0x190]
mov dword [esi - 0x70], 0x10093c88
mov ecx, esi
call dword [sym.imp.msvcp140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [esi], 0x100938f4
lea esi, [esp + 0x120]
mov ecx, esi
mov edx, edi
call fcn.1007b660
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x120], 0x10093c90
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 0x1001650a
mov bl, 1
mov dword [esp + 0x10], 0xa
jmp 0x100165ac
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.1007b8a0
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 0x1001664d
mov eax, dword [esp + 0xc4]
xor ebx, ebx
cmp eax, 0x10
jb 0x100165a4
mov ecx, dword [esp + 0xb0]
add eax, 0xfffff001
cmp eax, 0xffffefff
ja 0x1001659b
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x1001693e
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], 0x10093c94
mov eax, dword [ecx - 0x10]
mov eax, dword [eax + 4]
lea edx, [eax - 0x70]
mov dword [esp + eax + 0x11c], edx
call fcn.10071a60
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 0x1001661e
mov eax, dword [esp + 0xe0]
inc ecx
test ecx, 0x7ffff800
je 0x10016615
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x10016633
call fcn.1007ba80
test bl, bl
je 0x10015d30
mov bl, 1
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x120]
jmp 0x100159d0
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
test edi, edi
jne 0x10016737
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 0x100166b0
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 0x1001676b
mov bl, 1
cmp esi, 9
jne 0x1001676b
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.1007b8a0
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 0x10016655
jmp 0x10016567
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 0x1001675f
cmp ebx, 9
jne 0x10016674
inc eax
cmp edi, eax
jne 0x1001674d
mov eax, edi
jmp 0x10016674
test byte [esp + 0x10], 1
jne 0x1001677b
mov ebx, dword [esp + 0x10]
jmp 0x100166e4
cmp byte [edi], 0x5b
jne 0x10016787
xor ebx, ebx
jmp 0x100166e4
push 0x15
push str.StartWithLastProfile
push 0
push esi
push edi
call fcn.1004e440
add esp, 0x14
test eax, eax
jne 0x10016772
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0xb0]
cmp eax, 0x10
jb 0x100167b8
mov ecx, dword [esp + 0xb0]
movzx ecx, byte [ecx + 0x15]
cmp ecx, 0x30
je 0x10016950
mov ebx, dword [esp + 0x10]
cmp ecx, 0x31
jne 0x100166e4
jmp 0x1001656e
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Flags
call fcn.10016f30
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push edi
call fcn.10052670
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x1001683d
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x10016834
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x10016392
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], 0x15
test al, 0x18
jne 0x10016392
lea edi, [esp + 0x120]
mov ecx, edi
mov edx, dword [esp + 0x20]
push str.Theme
call fcn.10016f30
add esp, 4
lea ecx, [esp + 0xb0]
mov edx, dword [esp + 0xc]
push edi
call fcn.10052670
add esp, 4
mov ecx, dword [esp + 0x134]
cmp ecx, 8
jb 0x100168d9
mov eax, dword [esp + 0x120]
inc ecx
test ecx, 0x7ffff800
je 0x100168d0
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1001693e
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 0x10016392
cmp dword [esp + 0x10], 1
je 0x100169bd
cmp dword [esp + 0x10], 2
jne 0x100169ca
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 0x100169fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esp + 0x120]
jmp 0x10015cdf
mov bl, 1
jmp 0x10016570
mov eax, dword [esp + 0x3c]
jmp 0x10016988
mov eax, dword [esp + 0x38]
jmp 0x10016988
mov eax, dword [esp + 0x24]
jmp 0x10016988
mov eax, dword [esp + 0x34]
jmp 0x10016988
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
jmp 0x10016988
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
jmp 0x10015dbe
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0x1c], eax
jmp 0x100163b5
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0x1c], eax
jmp 0x100163a1
call fcn.1007aa00
test al, al
jne 0x10016908
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 0x10016392
cmp dword [esp + 0x34], 0x10000
ja 0x10016392
movzx edi, byte [0x100a65e8]
mov dword [esp + 0x10], edi
shl edi, 0x18
or edi, 0x2cf0000
mov ecx, dword [0x100a6598]
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 0x1009b842
push str.MozillaWindowClass
push 0x100
call ecx
mov dword [0x100a6600], eax
test eax, eax
je 0x10016c0a
mov ebx, eax
xor eax, eax
cmp byte [esp + 0x10], 0
setne al
lea edi, [eax + eax]
inc edi
mov ecx, dword [0x100a659c]
call dword [section..00cfg]
push edi
push ebx
call ecx
mov ecx, dword [0x100a6588]
mov edi, dword [0x100a6600]
call dword [section..00cfg]
push edi
call ecx
mov ebx, eax
mov dword [0x100a6618], eax
mov ecx, dword [0x100a6584]
call dword [section..00cfg]
push ebx
push 0x20
call ecx
mov ebx, eax
mov ecx, dword [0x100a6584]
mov edi, dword [0x100a6618]
call dword [section..00cfg]
mov eax, 0x5c
push edi
push eax
call ecx
add eax, ebx
mov dword [0x100a65f0], eax
mov ecx, dword [0x100a6584]
mov edi, dword [0x100a6618]
call dword [section..00cfg]
push edi
push 0x21
call ecx
mov ebx, eax
mov ecx, dword [0x100a6584]
mov edi, dword [0x100a6618]
call dword [section..00cfg]
push edi
mov eax, 0x5c
push eax
call ecx
add eax, ebx
mov dword [0x100a65ec], eax
cmp byte [0x100a65e8], 0
je 0x10016c17
mov ecx, dword [0x100a65b4]
mov edi, dword [0x100a6600]
call dword [section..00cfg]
push 0
push edi
call ecx
mov dword [esp + 0x10], 0xf
test eax, eax
je 0x10016392
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 [0x100a65b8]
call dword [section..00cfg]
lea eax, [esp + 0x120]
push eax
push edi
call ecx
test eax, eax
je 0x10016392
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
sub eax, dword [esp + 0x134]
mov edx, dword [0x100a65f0]
lea eax, [eax + edx*2]
sub ecx, dword [esp + 0x138]
mov dword [0x100a65cc], eax
mov eax, dword [0x100a65ec]
lea eax, [ecx + eax*2]
jmp 0x10016c24
mov dword [esp + 0x10], 0x10
jmp 0x10016392
mov eax, dword [esp + 0x24]
mov dword [0x100a65cc], eax
mov eax, dword [esp + 0x34]
mov dword [0x100a65f8], eax
mov ecx, dword [0x100a65a0]
mov edi, dword [0x100a6600]
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 [0x100a6600]
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.10078a00
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x10016dd4
cmp dword [0x100a65f4], 0
je 0x10016ce0
xor eax, eax
push eax
push eax
push eax
push 0x1007a340
push 0x40000
push eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x100a660c], 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.1007bc90
add esp, 4
cmp dword [ebx + 8], 2
jne 0x10016da1
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10016da1
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 0x10016dc7
mov ecx, ebx
call fcn.100598b0
push ebx
call sym.mozglue.dll__aligned_free
add esp, 4
mov dword [esp + 0x1c], 0
jmp 0x10016392
mov eax, dword [esp + 0x120]
mov dword [esp + 0x10], eax
jmp 0x10016392