Function at 0x10048ac0
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, 0x260
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [esp + 0x258], eax
call sym.mozglue.dll_bool___cdecl_mozilla::IsEafPlusEnabled_void_
test al, al
jne 0x10048aeb
call sym.mozglue.dll_void___cdecl_mozilla::CacheNtDllThunk_void_
push 0x18
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov esi, eax
mov ecx, eax
push 0
call fcn.1004a210
mov dword [0x1009b600], esi
lea eax, [esp + 0xa0]
push 1
push eax
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
add esp, 8
mov eax, dword [0x1009a858]
cmp eax, 0x9ffffff
ja 0x10048bf8
mov eax, dword [0x1009a028]
xor ebx, ebx
inc ebx
cmp eax, 0xa000001
jb 0x10048bb1
lea esi, [esp + 0x144]
xor edi, edi
push 0x110
push edi
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi - 0xc], 0x11c
mov dword [esi - 8], 0xa
mov dword [esi - 4], edi
sub esp, 0x10
movaps xmm0, xmmword [0x100881b0]
movups xmmword [esp], xmm0
mov esi, dword [sym.imp.ntdll.dll_VerSetConditionMask]
call esi
mov edi, 3
push edi
push 1
push edx
push eax
call esi
push edi
push 0x20
push edx
push eax
call esi
push edi
push 0x10
push edx
push eax
call esi
lea ecx, [esp + 0x138]
push edx
push eax
push 0x33
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x10048bed
mov eax, 0xa000000
xchg dword [0x1009a028], eax
cmp byte [0x1009b61c], 0
jne 0x10048bdd
mov dword [0x1009b618], ebx
mov byte [0x1009b61c], 1
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.100468e0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT__isSome___
int3
mov eax, 0xa000000
xchg dword [0x1009a858], eax
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.1000ce80
cmp byte [esi + 4], 0
jne 0x10049890
lea esi, [esp + 0x138]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov ecx, esi
call fcn.1000cdd0
cmp byte [esi + 4], 0
jne 0x1004989c
mov eax, dword [esp + 0x138]
lea edi, [esp + 0x120]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], 0
mov ecx, edi
mov dword [esp + 0x1c], eax
push eax
call fcn.1000f240
mov ecx, edi
push 9
push str.Progress
call fcn.1000d0f0
lea esi, [esp + 0xb8]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10070780
add esp, 4
cmp byte [esi + 4], 0
mov al, 1
mov dword [esp + 0x20], eax
jne 0x10048c9e
mov ebx, 0x15
cmp dword [esp + 0xb8], 1
jne 0x100497d1
xor eax, eax
mov dword [esp + 0x138], eax
cmp dword [esp + 0x134], 8
jb 0x10048cb8
mov edi, dword [esp + 0x120]
mov ecx, 4
push ecx
lea edx, [esp + 0x13c]
push edx
push ecx
push eax
push edi
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100498be
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.1000cf10
cmp byte [esi + 4], 0
mov al, 1
mov dword [esp + 0x20], eax
jne 0x100498b2
xor eax, eax
lea ecx, [esp + 0x138]
mov dword [ecx + 4], eax
mov dword [esp + 0x24], 0
mov dword [ecx + 8], eax
mov dword [ecx], 4
push 0xe
call fcn.10013b10
mov ebx, 4
test al, al
je 0x100498f2
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
mov dword [eax + ecx*4], str.new_instance
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.no_remote
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], 0x1008b5a4
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.foreground
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.setDefaultBrowser
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.attach_console
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.wait_for_browser
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.osint
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.new_tab
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.new_window
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.marionette
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.preferences
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], str.search
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
lea edx, [ecx + 1]
mov dword [esp + 0x13c], edx
mov dword [eax + ecx*4 + 4], 0x1008b907
mov ecx, dword [esp + 0x13c]
inc ecx
mov eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x13c], ecx
mov al, 1
mov dword [esp + 0x24], eax
cmp dword [ebp + 0xc], 2
jl 0x10049029
xor edi, edi
inc edi
xor eax, eax
dec eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + edi*4]
push 2
push 0x1008d1b5
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x10048f38
movzx ecx, byte [esi]
or ecx, 2
xor eax, eax
inc eax
cmp ecx, 0x2f
je 0x10048f3d
jmp 0x10048f55
mov eax, 2
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 0x1004981c
inc edi
cmp dword [ebp + 0xc], edi
jne 0x10048f0e
xor eax, eax
inc eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + ecx*4]
push 2
push 0x1008d1b5
mov dword [esp + 0x30], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x1004901f
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax]
or ecx, 2
xor eax, eax
inc eax
cmp ecx, 0x2f
jne 0x10049006
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x13c]
xor esi, esi
test ebx, ebx
je 0x10049874
add dword [esp + 0x28], eax
shl ebx, 2
mov edi, dword [esp + 0x2c]
xor edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push dword [eax + esi]
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
mov ecx, dword [esp + 0x10]
movzx ecx, cl
or edi, eax
mov edx, 1
cmove ecx, edx
mov dword [esp + 0x10], ecx
test eax, eax
je 0x10049006
add esi, 4
cmp ebx, esi
jne 0x10048fc5
jmp 0x1004980a
mov ecx, dword [esp + 0x2c]
inc ecx
mov eax, ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebp + 0xc]
jne 0x10048f6a
jmp 0x10049886
mov eax, 2
jmp 0x10048fa2
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x138]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x30], 4
je 0x10049050
push dword [esp + 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp byte [esp + 0x24], 0
je 0x10049073
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 0x10049098
mov ebx, 6
cmp byte [eax], 0
je 0x10049098
mov dword [esp + 0x138], 1
cmp dword [esp + 0x134], 8
jb 0x100497ae
mov eax, dword [esp + 0x120]
jmp 0x100497b5
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 0x100490b4
mov ebx, 6
cmp byte [eax], 0
jne 0x10049073
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 0x100490d0
mov ebx, 6
cmp byte [eax], 0
jne 0x10049073
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 0x100490ec
mov ebx, 6
cmp byte [eax], 0
jne 0x10049073
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 0x10049127
cmp byte [eax], 0
je 0x10049127
push 0x1008cd9f
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov ebx, 6
test eax, eax
je 0x10049073
cmp byte [eax], 0
je 0x10049073
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea esi, [esp + 0x138]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, esi
push 8
push str.Enabled
call fcn.1000d0f0
lea ebx, [esp + 0xc0]
mov ecx, ebx
mov edx, dword [esp + 0xc]
push esi
call fcn.10070780
add esp, 4
cmp byte [ebx + 4], 0
jne 0x10049a90
mov esi, dword [esp + 0xc0]
lea ecx, [esp + 0x138]
call fcn.1000f1e0
mov ebx, 2
test esi, esi
je 0x10049073
mov byte [0x1009b608], 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 [0x1009b5ec], eax
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.1006fe20
cmp byte [esi + 4], 0
jne 0x100498b2
cmp byte [esp + 0x10], 0
je 0x100498c8
mov ecx, dword [ebp + 8]
lea edi, [esp + 0xf8]
mov dword [edi], 8
mov dword [edi + 4], 0x1006fce0
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ebx, dword [0x1009b588]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov ecx, ebx
call dword [section..00cfg]
push 0x7f00
push esi
call ebx
mov dword [edi + 0x14], eax
mov ecx, dword [0x1009b58c]
call dword [section..00cfg]
push 0x7f02
push dword [ebp + 8]
call ecx
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], str.MozillaWindowClass
mov ecx, dword [0x1009b584]
call dword [section..00cfg]
push edi
call ecx
mov ebx, 0xd
mov cl, 1
mov dword [esp + 0x20], ecx
test ax, ax
je 0x10049073
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, edi
push 8
push str.ScreenX
call fcn.1000d0f0
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10070780
add esp, 4
mov ecx, edi
call fcn.1000f1e0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
jne 0x10049d8f
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, edi
push 8
push str.ScreenY
call fcn.1000d0f0
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10070780
add esp, 4
mov ecx, edi
call fcn.1000f1e0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x38], eax
jne 0x10049d98
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, edi
push 6
push str.Width
call fcn.1000d0f0
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10070780
add esp, 4
mov ecx, edi
call fcn.1000f1e0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x34], eax
jne 0x10049da1
mov dword [esp + 0x148], 0
mov esi, 7
mov dword [esp + 0x14c], esi
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, edi
push esi
push str.Height
call fcn.1000d0f0
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.10070780
add esp, 4
mov ecx, edi
call fcn.1000f1e0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x24], eax
jne 0x10049daa
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea esi, [esp + 0x138]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, esi
push 0xa
push str.Maximized
call fcn.1000d0f0
lea edi, [esp + 0xc0]
mov ecx, edi
mov edx, dword [esp + 0xc]
push esi
call fcn.10070780
add esp, 4
mov al, byte [edi + 4]
mov byte [esp + 0x10], al
mov ebx, dword [edi]
mov ecx, esi
call fcn.1000f1e0
cmp byte [esp + 0x10], 0
jne 0x10049073
test ebx, ebx
setne byte [0x1009b5e0]
xor esi, esi
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea ebx, [esp + 0x138]
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, ebx
push 0x15
push str.CssToDevPixelScaling
call fcn.1000d0f0
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], esi
mov edi, 8
mov dword [esp + 0x60], edi
mov eax, ebx
cmp dword [esp + 0x14c], edi
jb 0x10049512
mov eax, dword [esp + 0x138]
lea ebx, [esp + 0x60]
push ebx
lea ecx, [esp + 0xc4]
push ecx
push esi
push edi
push eax
push esi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
xor edi, dword [ebx]
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0x10], xmm0
lea ecx, [esp + 0x138]
call fcn.1000f1e0
or edi, esi
je 0x1004955e
movsd xmm0, qword [0x10088bf0]
movsd qword [esp + 0x10], xmm0
jne 0x10049db3
movsd xmm0, qword [esp + 0x10]
movsd qword [0x1009b5d8], xmm0
lea edi, [esp + 0x138]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], 0
mov ecx, edi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, edi
push 0xe
push str.UrlbarCSSSpan
call fcn.1000d0f0
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100707f0
add esp, 4
mov ecx, edi
call fcn.1000f1e0
cmp byte [esi + 0xc], 0
jne 0x10049dc8
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
cmp eax, 0x10
je 0x10049602
mov dword [esp + 0xc0], 0x10
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea ebx, [esp + 0x138]
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, ebx
push 0x11
push str.SearchbarCSSSpan
call fcn.1000d0f0
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push ebx
call fcn.100707f0
add esp, 4
mov ecx, ebx
call fcn.1000f1e0
cmp byte [esi + 0xc], 0
jne 0x10049dd4
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
cmp eax, 0x10
je 0x1004968f
mov dword [esp + 0xc0], 0x10
mov dword [esp + 0xc8], 0
lea ebx, [esp + 0xc0]
mov esi, dword [ebx + 4]
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, edi
push 0xf
push str.SpringsCSSSpan
call fcn.1000d0f0
mov ecx, ebx
mov edx, dword [esp + 0xc]
push edi
call fcn.100707f0
add esp, 4
mov ecx, edi
call fcn.1000f1e0
cmp byte [ebx + 0xc], 0
jne 0x10049de6
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x10], edx
cmp edx, 0x10
je 0x100499a7
mov dword [esp + 0xc0], 0x10
xor edx, edx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x94], edx
mov ebx, 0xe
mov al, 1
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], 0
je 0x10049769
test esi, esi
jne 0x10049c2e
cmp dword [esp + 0x10], 0x10
je 0x1004977d
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x2c], 0x10
je 0x10049791
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x30], 0x10
je 0x10049073
push dword [esp + 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10049073
lea eax, [esp + 0x120]
mov ecx, 4
push ecx
lea edx, [esp + 0x13c]
push edx
push ecx
push 0
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x120]
call fcn.1000f1e0
cmp dword [esp + 0x1c], 0
je 0x100497f0
push dword [esp + 0x1c]
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x20], 0
jne 0x10048bb1
jmp 0x10048bc7
mov ebx, 5
mov dword [esp + 0x24], 0
jmp 0x10049031
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x140]
jne 0x1004984a
lea ecx, [esp + 0x138]
push 1
call fcn.10013b10
test al, al
je 0x100498ea
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4], str.profile
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0x13c], eax
jmp 0x10048f5b
mov ebx, 5
mov dword [esp + 0x24], 0
jmp 0x1004903c
mov ebx, 5
jmp 0x10049031
mov ebx, dword [esp + 0x138]
jmp 0x10048bb1
mov ebx, dword [esp + 0x138]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10048bb1
mov ebx, dword [esp + 0x138]
jmp 0x10049073
mov ebx, 8
jmp 0x100497d1
lea esi, [esp + 0x60]
push 0x10088010
push esi
call fcn.1000d340
add esp, 8
mov eax, dword [esi]
test eax, eax
jne 0x100498ff
mov ebx, 0xb
jmp 0x10049073
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
jmp 0x10049031
lea ebx, [esp + 0xf8]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], 0
mov ecx, ebx
push eax
call fcn.1000f240
mov ecx, ebx
push 0x1d
push str.MozillaFirefoxprofiles.ini
call fcn.1000d0f0
cmp dword [ebx + 0x14], 8
jb 0x1004993c
mov ebx, dword [esp + 0xf8]
lea esi, [esp + 0x1a8]
mov dword [esi - 0x70], 0x10088c78
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [esi], 0x100888d4
lea esi, [esp + 0x138]
mov ecx, esi
mov edx, ebx
call fcn.100709d0
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x138], 0x10088c80
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x134], 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 0x100499b1
mov ebx, 0xb
mov dword [esp + 0x10], 0
jmp 0x10049a20
mov edx, 0x10
jmp 0x1004973a
lea edi, [esp + 0xc0]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 4]
lea esi, [esp + 0x138]
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.10070d10
add esp, 4
mov eax, dword [esp + 0x138]
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 0x10049aa6
lea ecx, [esp + 0xc0]
call fcn.100326c0
mov al, 1
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x148]
mov eax, dword [ecx - 0x10]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x138], 0x10088c84
mov eax, dword [ecx - 0x10]
mov eax, dword [eax + 4]
lea edx, [eax - 0x70]
mov dword [esp + eax + 0x134], edx
call fcn.10067540
lea ecx, [esp + 0x1a8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
lea ecx, [esp + 0xf8]
call fcn.1000f1e0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], 0
test eax, eax
je 0x10049a80
lea ecx, [esp + 0x60]
push eax
call fcn.1000d2e0
cmp byte [esp + 0x10], 0
jne 0x100491ee
jmp 0x10049073
lea ecx, [esp + 0x138]
call fcn.1000f1e0
mov ebx, 3
jmp 0x10049073
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
test esi, esi
jne 0x10049b90
xor eax, eax
mov ecx, dword [esp + 0xc0]
cmp esi, eax
cmovb eax, esi
cmp edx, 0x10
lea edi, [esp + 0xc0]
cmovb ecx, edi
sub esi, eax
mov dword [esp + 0xd0], esi
inc esi
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
cmp dword [esp + 0xd4], 0x10
mov esi, edi
jb 0x10049b09
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xd0]
cmp edi, 9
mov eax, 9
cmovb eax, edi
push eax
push str._General_
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10049bc4
mov bl, 1
cmp edi, 9
jne 0x10049bc4
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 4]
lea esi, [esp + 0x138]
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 + 0xc0]
push eax
call fcn.10070d10
add esp, 4
mov eax, dword [esp + 0x138]
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 0x10049aae
jmp 0x10049a0e
cmp edx, 0x10
mov ecx, dword [esp + 0xc0]
lea edi, [esp + 0xc0]
cmovae edi, ecx
xor eax, eax
movzx ebx, byte [edi + eax]
cmp ebx, 0x20
je 0x10049bb8
cmp ebx, 9
jne 0x10049acd
inc eax
cmp esi, eax
jne 0x10049ba6
mov eax, esi
jmp 0x10049acd
test byte [esp + 0x10], 1
jne 0x10049bd4
mov ebx, dword [esp + 0x10]
jmp 0x10049b3d
cmp byte [esi], 0x5b
jne 0x10049be0
xor ebx, ebx
jmp 0x10049b3d
push 0x15
push str.StartWithLastProfile
push 0
push edi
push esi
call fcn.100453d0
add esp, 0x14
test eax, eax
jne 0x10049bcb
cmp dword [esp + 0xd4], 0x10
lea eax, [esp + 0xc0]
jb 0x10049c0f
mov eax, dword [esp + 0xc0]
movzx eax, byte [eax + 0x15]
cmp eax, 0x30
je 0x10049d79
mov ebx, dword [esp + 0x10]
cmp eax, 0x31
jne 0x10049b3d
jmp 0x10049a0e
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea esi, [esp + 0x138]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, esi
push 6
push str.Flags
call fcn.1000d0f0
lea ebx, [esp + 0xc0]
mov ecx, ebx
mov edx, dword [esp + 0xc]
push esi
call fcn.10070780
add esp, 4
mov ecx, esi
call fcn.1000f1e0
cmp byte [ebx + 4], 0
mov ebx, dword [ebx]
mov al, 1
mov dword [esp + 0x20], eax
jne 0x10049769
mov dword [esp + 0x90], ebx
mov eax, ebx
mov ebx, 0x16
test al, 0x18
jne 0x10049769
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 7
mov word [esp + 0x138], 0
lea esi, [esp + 0x138]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.1000f240
mov ecx, esi
push 6
push str.Theme
call fcn.1000d0f0
lea ebx, [esp + 0xc0]
mov ecx, ebx
mov edx, dword [esp + 0xc]
push esi
call fcn.10070780
add esp, 4
mov ecx, esi
call fcn.1000f1e0
cmp byte [ebx + 4], 0
mov ebx, dword [ebx]
jne 0x10049769
cmp ebx, 1
je 0x10049df8
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x80], 0
cmp ebx, 2
jne 0x10049e05
mov dword [esp + 0x28], 0xc0c0d
mov esi, 0x1c1b22
mov dword [esp + 0x20], 0x6a6a6d
mov ecx, 0x42414d
mov edi, 0x2b2a33
mov ebx, 0x1c1b22
mov eax, 0x42414d
mov edx, 0x42414d
jmp 0x10049e33
lea ecx, [esp + 0xc0]
call fcn.100326c0
mov ebx, 0xc
jmp 0x1004999d
mov ebx, dword [esp + 0x3c]
jmp 0x10049073
mov ebx, dword [esp + 0x38]
jmp 0x10049073
mov ebx, dword [esp + 0x34]
jmp 0x10049073
mov ebx, dword [esp + 0x24]
jmp 0x10049073
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x40], xmm0
mov ebx, dword [esp + 0x40]
jmp 0x10049073
mov ebx, dword [esp + 0xc0]
jmp 0x10049073
mov ebx, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0x20], eax
jmp 0x10049791
mov ebx, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0x20], eax
jmp 0x1004977d
call fcn.1006fda0
test al, al
jne 0x10049d46
mov eax, 0xffffff
mov dword [esp + 0x28], 0xe1e1e2
mov ebx, 0xf0f0f4
mov dword [esp + 0x20], 0xdddde1
mov edi, 0xf9f9fb
mov ecx, 0xf9f9fb
mov esi, 0xdddde1
mov edx, 0xdddde1
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], ecx
mov edi, dword [esp + 0x20]
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ebx, 0xf
mov al, 1
mov dword [esp + 0x20], eax
cmp dword [esp + 0x34], 0x10000
ja 0x10049769
cmp dword [esp + 0x24], 0x10000
ja 0x10049769
movzx esi, byte [0x1009b5e0]
mov edi, esi
shl esi, 0x18
or esi, 0x2cf0000
mov ecx, dword [0x1009b590]
call dword [section..00cfg]
xor eax, eax
push eax
push dword [ebp + 8]
push eax
push eax
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
push 0x10090a0c
push str.MozillaWindowClass
push 0x100
call ecx
mov dword [0x1009b5f8], eax
test eax, eax
je 0x1004a033
mov ebx, eax
xor eax, eax
mov ecx, edi
test cl, cl
setne al
lea esi, [eax + eax]
inc esi
mov ecx, dword [0x1009b594]
call dword [section..00cfg]
push esi
push ebx
call ecx
mov ecx, dword [0x1009b580]
mov esi, dword [0x1009b5f8]
call dword [section..00cfg]
push esi
call ecx
mov ebx, eax
mov dword [0x1009b610], eax
mov ecx, dword [0x1009b57c]
call dword [section..00cfg]
push ebx
push 0x20
call ecx
mov ebx, eax
mov ecx, dword [0x1009b57c]
mov edi, dword [0x1009b610]
call dword [section..00cfg]
mov esi, 0x5c
push edi
push esi
call ecx
add eax, ebx
mov dword [0x1009b5e8], eax
mov ecx, dword [0x1009b57c]
mov edi, dword [0x1009b610]
call dword [section..00cfg]
push edi
push 0x21
call ecx
mov ebx, eax
mov ecx, dword [0x1009b57c]
mov edi, dword [0x1009b610]
call dword [section..00cfg]
push edi
push esi
call ecx
add eax, ebx
mov dword [0x1009b5e4], eax
cmp byte [0x1009b5e0], 0
je 0x1004a03d
mov ecx, dword [0x1009b5ac]
mov esi, dword [0x1009b5f8]
call dword [section..00cfg]
push 0
push esi
call ecx
mov ebx, 0x10
test eax, eax
je 0x10049769
mov esi, eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14c], xmm0
movups xmmword [esp + 0x13c], xmm0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x138], 0x28
mov ecx, dword [0x1009b5b0]
call dword [section..00cfg]
lea eax, [esp + 0x138]
push eax
push esi
call ecx
test eax, eax
je 0x10049769
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
sub eax, dword [esp + 0x14c]
mov edx, dword [0x1009b5e8]
lea eax, [eax + edx*2]
sub ecx, dword [esp + 0x150]
mov dword [0x1009b5c4], eax
mov eax, dword [0x1009b5e4]
lea eax, [ecx + eax*2]
jmp 0x1004a04a
mov ebx, 0x11
jmp 0x10049769
mov eax, dword [esp + 0x34]
mov dword [0x1009b5c4], eax
mov eax, dword [esp + 0x24]
mov dword [0x1009b5f0], eax
mov ecx, dword [0x1009b598]
mov esi, dword [0x1009b5f8]
call dword [section..00cfg]
sub esp, 0x1c
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
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 + 0x30]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov edx, dword [0x1009b5f8]
sub esp, 0x18
lea eax, [esp + 0xa8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
movsd qword [esp], xmm3
lea edi, [esp + 0x150]
mov ecx, edi
call fcn.1006dda0
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x1004a1e4
cmp dword [0x1009b5ec], 0
je 0x1004a106
xor eax, eax
push eax
push eax
push eax
push 0x1006f6e0
push 0x40000
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1009b604], eax
lea esi, [esp + 0xd8]
push 1
push esi
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
add esp, 8
movsd xmm0, qword [esp + 0xb0]
movsd qword [esi - 8], xmm0
movups xmm0, xmmword [esp + 0xa0]
movaps xmmword [esi - 0x18], xmm0
xor eax, eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x188], eax
movups xmmword [esp + 0x140], xmm0
movaps xmm0, xmmword [esi + 8]
movups xmmword [esp + 0x160], xmm0
movaps xmm0, xmmword [esi - 8]
movups xmmword [esp + 0x150], xmm0
mov byte [esp + 0x170], 1
lea ebx, [esp + 0x54]
mov dword [ebx], str.CreatePreXULSkeletonUI
mov dword [ebx + 4], 0x16
mov dword [ebx + 8], eax
lea ecx, [esp + 0x48]
mov edx, ebx
push edi
call fcn.10070ff0
add esp, 4
cmp dword [ebx + 8], 2
je 0x1004a1f0
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0x17c], 0
test ebx, ebx
jne 0x1004a1d2
mov dword [esp + 0x20], 0
jmp 0x10049769
mov ecx, ebx
call fcn.10050c20
push ebx
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x1004a1c5
mov ebx, dword [esp + 0x138]
jmp 0x10049769
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1004a1af
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x1004a1af