Function at 0x10031dc0
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 [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x258], eax
call sym.mozglue.dll_bool___cdecl_mozilla::IsEafPlusEnabled_void_
test al, al
jne 0x10031deb
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.100334a0
mov dword [0x1007e4e0], 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 [0x1007d7c0]
cmp eax, 0x9ffffff
ja 0x10031ee9
mov eax, dword [0x1007d028]
xor esi, esi
inc esi
cmp eax, 0xa000001
jb 0x10031ebb
lea edi, [esp + 0x144]
xor ebx, ebx
push 0x110
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi - 0xc], 0x11c
mov dword [edi - 8], 0xa
mov dword [edi - 4], ebx
mov dword [edi + 0x108], ebx
sub esp, 0x10
movaps xmm0, xmmword [0x1006d230]
movups xmmword [esp], xmm0
mov edi, dword [sym.imp.ntdll.dll_VerSetConditionMask]
call edi
mov ebx, 3
push ebx
push 1
push edx
push eax
call edi
push ebx
push 0x20
push edx
push eax
call edi
push ebx
push 0x10
push edx
push eax
call edi
lea ecx, [esp + 0x138]
push edx
push eax
push 0x33
push ecx
call dword [sym.imp.kernel32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x10031ede
mov eax, 0xa000000
xchg dword [0x1007d028], eax
mov dword [0x1007e4f8], esi
mov byte [0x1007e4fc], 1
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.1002f5c0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xa000000
xchg dword [0x1007d7c0], eax
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.1000c270
cmp byte [esi + 4], 0
jne 0x10032b2b
lea edi, [esp + 0x138]
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov ecx, edi
call fcn.1000c020
cmp byte [edi + 4], 0
jne 0x10032b37
mov eax, dword [esp + 0x138]
lea ebx, [esp + 0x120]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], 0
mov ecx, ebx
mov dword [esp + 0x14], eax
push eax
call fcn.1000c0d0
mov ecx, ebx
mov edx, str.Progress
push 9
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xb8]
mov ecx, esi
mov edx, dword [esp + 0xc]
push ebx
call fcn.100554f0
add esp, 4
cmp byte [esi + 4], 0
je 0x1003238a
xor eax, eax
mov dword [esp + 0x138], eax
cmp dword [esp + 0x134], 7
jbe 0x10031f97
mov ebx, dword [esp + 0x120]
mov ecx, 4
push ecx
push edi
push ecx
push eax
push ebx
push dword [esp + 0x20]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
jne 0x10032b59
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.1000c300
cmp byte [esi + 4], 0
mov al, 1
mov dword [esp + 0x10], eax
jne 0x10032b4d
xor eax, eax
lea ecx, [esp + 0x138]
mov dword [ecx + 4], eax
mov dword [esp + 0x28], 0
mov dword [ecx + 8], eax
mov dword [ecx], 4
push 0xe
call fcn.10013650
mov esi, 4
test al, al
je 0x10032d03
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], 0x1006feaf
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], 0x100701af
mov ecx, dword [esp + 0x13c]
inc ecx
mov eax, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x13c], ecx
mov al, 1
mov dword [esp + 0x28], eax
cmp dword [ebp + 0xc], 2
jl 0x1003222b
xor ebx, ebx
inc ebx
xor eax, eax
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + ebx*4]
push 2
push 0x100715a9
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x10032226
mov al, byte [edi]
or al, 2
cmp al, 0x2f
jne 0x1003221b
inc edi
push str.marionette
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x100323a5
inc ebx
cmp dword [ebp + 0xc], ebx
jne 0x100321e2
jmp 0x100323f8
add edi, 2
jmp 0x10032205
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x138]
cmp edi, 4
je 0x10032249
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp byte [esp + 0x28], 0
je 0x100322ff
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 0x1003226f
cmp byte [eax], 0
jne 0x10032b21
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 0x1003228a
cmp byte [eax], 0
jne 0x10032b21
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 0x100322a5
cmp byte [eax], 0
jne 0x10032b21
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 0x100322c0
cmp byte [eax], 0
jne 0x10032b21
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 0x100324be
cmp byte [eax], 0
je 0x100324be
push 0x100712a5
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov esi, 6
test eax, eax
je 0x100322ff
cmp byte [eax], 0
jne 0x100324be
mov dword [esp + 0x138], 1
cmp dword [esp + 0x134], 7
jbe 0x1003231d
mov eax, dword [esp + 0x120]
jmp 0x10032324
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.1000bfd0
cmp dword [esp + 0x14], 0
je 0x1003235f
push dword [esp + 0x14]
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp byte [esp + 0x10], 0
jne 0x10031ebb
je 0x10031ec8
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_is_T____
int3
cmp dword [esp + 0xb8], 1
je 0x10031f7d
mov esi, 0x15
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x10032340
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x140]
jne 0x100323d3
lea ecx, [esp + 0x138]
push 1
call fcn.10013650
test al, al
je 0x10032cfb
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x18]
mov dword [eax + ecx*4], str.profile
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x13c], eax
xor eax, eax
inc eax
mov dword [esp + 0x24], 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 0x100715a9
mov dword [esp + 0x20], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x100324a5
mov eax, dword [esp + 0x18]
mov al, byte [eax]
or al, 2
cmp al, 0x2f
jne 0x1003248c
inc dword [esp + 0x18]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x13c]
xor ebx, ebx
test esi, esi
je 0x10032ae3
shl esi, 2
push dword [edi + ebx]
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x10032471
add ebx, 4
cmp esi, ebx
jne 0x10032454
jmp 0x100324ac
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x2c]
inc ecx
mov eax, ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebp + 0xc]
jne 0x10032407
jmp 0x10032af5
add dword [esp + 0x18], 2
jmp 0x10032439
mov esi, 5
mov dword [esp + 0x28], 0
jmp 0x10032233
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.Enabled
push 8
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100554f0
add esp, 4
cmp byte [esi + 4], 0
jne 0x10032ce5
mov edi, dword [esp + 0xc0]
lea ecx, [esp + 0x138]
call fcn.1000bfd0
mov esi, 2
test edi, edi
je 0x100322ff
mov byte [0x1007e4e8], 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 [0x1007e4cc], eax
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.10055560
cmp byte [esi + 4], 0
jne 0x10032b4d
cmp byte [esp + 0x24], 0
je 0x10032aff
mov ecx, dword [ebp + 8]
lea edi, [esp + 0xf8]
mov dword [edi], 8
mov dword [edi + 4], 0x1006ba80
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov esi, dword [0x1007e468]
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ebx, eax
mov ecx, esi
call dword [section..00cfg]
push 0x7f00
push ebx
call esi
mov dword [edi + 0x14], eax
mov ecx, dword [0x1007e46c]
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 [0x1007e464]
call dword [section..00cfg]
push edi
call ecx
mov esi, 0xd
mov cl, 1
mov dword [esp + 0x10], ecx
test ax, ax
je 0x100322ff
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.ScreenX
push 8
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100554f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
jne 0x10032fe8
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.ScreenY
push 8
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100554f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x38], eax
jne 0x10032ff1
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.Width
push 6
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100554f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x30], eax
jne 0x10032ffa
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.Height
push 7
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100554f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x34], eax
jne 0x10033003
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea esi, [esp + 0x138]
mov ecx, esi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, esi
mov edx, str.Maximized
push 0xa
call fcn.1000c4d0
add esp, 4
lea edi, [esp + 0xc0]
mov ecx, edi
mov edx, dword [esp + 0xc]
push esi
call fcn.100554f0
add esp, 4
cmp byte [edi + 4], 0
mov esi, dword [edi]
jne 0x1003300c
lea ebx, [esp + 0x138]
mov ecx, ebx
call fcn.1000bfd0
test esi, esi
setne byte [0x1007e4c0]
mov eax, 7
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebx + 0x10], esi
mov word [ebx], 0
mov ecx, ebx
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, ebx
mov edx, str.CssToDevPixelScaling
push 0x15
call fcn.1000c4d0
add esp, 4
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], esi
mov edi, 8
mov dword [esp + 0x60], edi
cmp dword [ebx + 0x14], 7
mov eax, ebx
jbe 0x100328ad
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x60]
push ecx
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
lea eax, [esp + 0x60]
xor edi, dword [eax]
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0x18], xmm0
mov ecx, ebx
call fcn.1000bfd0
or edi, esi
je 0x100328f8
movsd xmm0, qword [0x1006db30]
movsd qword [esp + 0x18], xmm0
jne 0x1003301d
movsd xmm0, qword [esp + 0x18]
movsd qword [0x1007e4b8], xmm0
lea edi, [esp + 0x138]
mov eax, 7
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
mov word [edi], 0
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.UrlbarCSSSpan
push 0xe
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100559f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 0xc], 0
jne 0x10033032
lea esi, [esp + 0xc0]
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea ebx, [esp + 0x138]
mov ecx, ebx
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, ebx
mov edx, str.SearchbarCSSSpan
push 0x11
call fcn.1000c4d0
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0xc]
push ebx
call fcn.100559f0
add esp, 4
mov ecx, ebx
call fcn.1000bfd0
cmp byte [esi + 0xc], 0
jne 0x1003303e
lea esi, [esp + 0xc0]
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov ebx, dword [esi + 4]
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.SpringsCSSSpan
push 0xf
call fcn.1000c4d0
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100559f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 0xc], 0
jne 0x10033050
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x94], edx
mov esi, 0xe
mov al, 1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], 0
je 0x10032a9e
test ebx, ebx
jne 0x10032e7c
cmp dword [esp + 0x28], 0x10
je 0x10032ab2
push dword [esp + 0x28]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x2c], 0x10
je 0x10032ac6
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x18], 0x10
je 0x100322ff
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x100322ff
mov esi, 5
mov dword [esp + 0x28], 0
jmp 0x1003223a
mov esi, 5
jmp 0x10032233
lea esi, [esp + 0x60]
push 0x1006d018
push esi
call fcn.1000d810
add esp, 8
mov eax, dword [esi]
test eax, eax
jne 0x10032b63
mov esi, 0xb
jmp 0x100322ff
mov esi, 6
jmp 0x100322ff
mov esi, dword [esp + 0x138]
jmp 0x10031ebb
mov esi, dword [esp + 0x138]
push dword [esp + 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10031ebb
mov esi, dword [esp + 0x138]
jmp 0x100322ff
mov esi, 8
jmp 0x1003239d
lea ebx, [esp + 0xf8]
mov ecx, 7
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], 0
mov word [ebx], 0
mov ecx, ebx
push eax
call fcn.1000c0d0
mov ecx, ebx
mov edx, str.MozillaFirefoxprofiles.ini
push 0x1d
call fcn.1000c4d0
add esp, 4
cmp dword [ebx + 0x14], 7
jbe 0x10032ba4
mov ebx, dword [esp + 0xf8]
lea edi, [esp + 0x1a8]
mov dword [edi - 0x70], 0x1006dbb8
mov ecx, edi
call dword [sym.imp.msvcp140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [edi], 0x1006d794
lea esi, [esp + 0x138]
mov ecx, esi
mov edx, ebx
call fcn.100557a0
mov eax, dword [edi - 0x70]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x138], 0x1006dbc0
mov eax, dword [edi - 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x134], ecx
mov eax, dword [edi - 0x70]
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 0x10032c0c
mov esi, 0xb
xor ebx, ebx
jmp 0x10032c77
lea edi, [esp + 0xc0]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
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.100558b0
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 0x10032d10
lea ecx, [esp + 0xc0]
call fcn.1002e4b0
mov bl, 1
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x138], 0x1006dbc0
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x134], ecx
lea edi, [esp + 0x1a8]
lea ecx, [edi - 0x60]
call fcn.10043fb0
mov ecx, edi
call dword [sym.imp.msvcp140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
lea ecx, [esp + 0xf8]
call fcn.1000bfd0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x60], 0
test ecx, ecx
je 0x10032cd8
call fcn.1000c6c0
test bl, bl
jne 0x10032589
jmp 0x100322ff
lea ecx, [esp + 0x138]
call fcn.1000bfd0
mov esi, 3
jmp 0x100322ff
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
jmp 0x10032233
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
test esi, esi
jne 0x10032dc4
xor eax, eax
mov ecx, dword [esp + 0xc0]
cmp esi, eax
cmovb eax, esi
cmp edi, 0xf
lea edi, [esp + 0xc0]
cmovbe 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
mov ecx, edi
call fcn.100559b0
mov bl, 1
test eax, eax
jne 0x10032df7
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.100558b0
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 + 0x18], ebx
test al, al
je 0x10032d18
jmp 0x10032c69
cmp edi, 0xf
mov ecx, dword [esp + 0xc0]
lea ebx, [esp + 0xc0]
cmova ebx, ecx
xor eax, eax
mov dl, byte [ebx + eax]
cmp dl, 0x20
je 0x10032deb
cmp dl, 9
jne 0x10032d37
inc eax
cmp esi, eax
jne 0x10032dda
mov eax, esi
jmp 0x10032d37
test byte [esp + 0x18], 1
jne 0x10032e07
mov ebx, dword [esp + 0x18]
jmp 0x10032d71
cmp dword [esp + 0xd4], 0xf
lea eax, [esp + 0xc0]
jbe 0x10032e1f
mov eax, dword [esp + 0xc0]
cmp byte [eax], 0x5b
jne 0x10032e2b
xor ebx, ebx
jmp 0x10032d71
push 0x15
push str.StartWithLastProfile
push 0
push dword [esp + 0xdc]
push eax
call fcn.1004d620
add esp, 0x14
test eax, eax
jne 0x10032dfe
cmp dword [esp + 0xd4], 0xf
lea eax, [esp + 0xc0]
jbe 0x10032e60
mov eax, dword [esp + 0xc0]
mov al, byte [eax + 0x15]
cmp al, 0x30
je 0x10032fd2
mov ebx, dword [esp + 0x18]
cmp al, 0x31
jne 0x10032d71
jmp 0x10032c69
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.Flags
push 6
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100554f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 4], 0
jne 0x10033475
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x90], eax
mov esi, 0x16
mov cl, 1
mov dword [esp + 0x10], ecx
test al, 0x18
jne 0x10032a9e
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], 0
mov word [esp + 0x138], 0
lea edi, [esp + 0x138]
mov ecx, edi
push dword [esp + 0x14]
call fcn.1000c0d0
mov ecx, edi
mov edx, str.Theme
push 6
call fcn.1000c4d0
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0xc]
push edi
call fcn.100554f0
add esp, 4
mov ecx, edi
call fcn.1000bfd0
cmp byte [esi + 4], 0
mov esi, dword [esi]
jne 0x10032a9e
cmp esi, 1
je 0x10033062
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x80], 0
cmp esi, 2
jne 0x1003306f
mov dword [esp + 0x60], 0x2b2a33
mov dword [esp + 0x10], 0xc0c0d
mov edi, 0x1c1b22
mov edx, 0x6a6a6d
mov ecx, 0x42414d
mov ebx, 0x1c1b22
mov esi, 0x42414d
mov eax, 0x42414d
jmp 0x1003309d
lea ecx, [esp + 0xc0]
call fcn.1002e4b0
mov esi, 0xc
jmp 0x10032c08
mov esi, dword [esp + 0x3c]
jmp 0x100322ff
mov esi, dword [esp + 0x38]
jmp 0x100322ff
mov esi, dword [esp + 0x30]
jmp 0x100322ff
mov esi, dword [esp + 0x34]
jmp 0x100322ff
lea ecx, [esp + 0x138]
call fcn.1000bfd0
jmp 0x100322ff
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x40], xmm0
mov esi, dword [esp + 0x40]
jmp 0x100322ff
mov esi, dword [esp + 0xc0]
jmp 0x100322ff
mov esi, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x10032ac6
mov esi, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x10032ab2
call fcn.10055be0
test al, al
jne 0x10032f9f
mov dword [esp + 0x60], 0xf9f9fb
mov esi, 0xffffff
mov dword [esp + 0x10], 0xe1e1e2
mov ebx, 0xf0f0f4
mov edx, 0xdddde1
mov ecx, 0xf9f9fb
mov edi, 0xdddde1
mov eax, 0xdddde1
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x68], ebx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov esi, 0xf
mov al, 1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10000
ja 0x10032a9e
cmp dword [esp + 0x34], 0x10000
ja 0x10032a9e
movzx ebx, byte [0x1007e4c0]
mov esi, ebx
shl esi, 0x18
or esi, 0x2cf0000
mov ecx, dword [0x1007e470]
call dword [section..00cfg]
xor eax, eax
push eax
push dword [ebp + 8]
push eax
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
push 0x10074c60
push str.MozillaWindowClass
push 0x100
call ecx
mov dword [0x1007e4d8], eax
test eax, eax
je 0x10033293
mov edi, eax
xor eax, eax
test bl, bl
setne al
lea esi, [eax + eax]
inc esi
mov ecx, dword [0x1007e474]
call dword [section..00cfg]
push esi
push edi
call ecx
mov ecx, dword [0x1007e460]
mov esi, dword [0x1007e4d8]
call dword [section..00cfg]
push esi
call ecx
mov esi, eax
mov dword [0x1007e4f0], eax
mov ecx, dword [0x1007e45c]
call dword [section..00cfg]
push esi
push 0x20
call ecx
mov esi, eax
mov ecx, dword [0x1007e45c]
mov edi, dword [0x1007e4f0]
call dword [section..00cfg]
mov ebx, 0x5c
push edi
push ebx
call ecx
add eax, esi
mov dword [0x1007e4c8], eax
mov ecx, dword [0x1007e45c]
mov esi, dword [0x1007e4f0]
call dword [section..00cfg]
push esi
push 0x21
call ecx
mov esi, eax
mov ecx, dword [0x1007e45c]
mov edi, dword [0x1007e4f0]
call dword [section..00cfg]
push edi
push ebx
call ecx
add eax, esi
mov dword [0x1007e4c4], eax
cmp byte [0x1007e4c0], 0
je 0x1003329d
mov ecx, dword [0x1007e48c]
mov esi, dword [0x1007e4d8]
call dword [section..00cfg]
push 0
push esi
call ecx
mov esi, 0x10
test eax, eax
je 0x10032a9e
mov edi, 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 [0x1007e490]
call dword [section..00cfg]
lea eax, [esp + 0x138]
push eax
push edi
call ecx
test eax, eax
je 0x10032a9e
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
sub eax, dword [esp + 0x14c]
mov edx, dword [0x1007e4c8]
lea eax, [eax + edx*2]
sub ecx, dword [esp + 0x150]
mov dword [0x1007e4a4], eax
mov eax, dword [0x1007e4c4]
lea eax, [ecx + eax*2]
jmp 0x100332aa
mov esi, 0x11
jmp 0x10032a9e
mov eax, dword [esp + 0x30]
mov dword [0x1007e4a4], eax
mov eax, dword [esp + 0x34]
mov dword [0x1007e4d0], eax
mov ecx, dword [0x1007e478]
mov esi, dword [0x1007e4d8]
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 + 0x18]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov edx, dword [0x1007e4d8]
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 ebx, [esp + 0x150]
mov ecx, ebx
call fcn.10053060
add esp, 0x18
cmp byte [ebx + 4], 0
jne 0x10033487
cmp dword [0x1007e4cc], 0
je 0x10033366
xor eax, eax
push eax
push eax
push eax
push 0x10054cd0
push 0x40000
push eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x1007e4e4], eax
push 1
push ebx
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
add esp, 8
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0xd0], xmm0
movups xmm0, xmmword [esp + 0xa0]
movaps xmmword [esp + 0xc0], xmm0
movsd xmm1, qword [esp + 0x148]
movsd qword [esp + 0xe8], xmm1
movups xmm1, xmmword [esp + 0x138]
movups xmmword [esp + 0xd8], xmm1
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 [esp + 0xd0]
movups xmmword [esp + 0x150], xmm0
movaps xmm0, xmmword [esp + 0xe0]
movups xmmword [esp + 0x160], xmm0
mov byte [esp + 0x170], 1
lea esi, [esp + 0x54]
mov dword [esi], str.CreatePreXULSkeletonUI
mov dword [esi + 4], 0x16
mov dword [esi + 8], eax
lea ecx, [esp + 0x48]
mov edx, esi
push ebx
call fcn.10055c60
add esp, 4
cmp dword [esi + 8], 2
jne 0x10033442
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x10033493
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0x17c], 0
test ebx, ebx
je 0x10033468
mov ecx, ebx
call fcn.10011840
push ebx
call sym.mozglue.dll__aligned_free
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x10032a9e
mov esi, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x10032a9e
mov esi, dword [esp + 0x138]
jmp 0x10032a9e
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10033442