Function at 0x10052b30
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 [0x1007a00c]
xor eax, ebp
mov dword [esp + 0x258], eax
lea eax, [esp + 0xa0]
push 1
push eax
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::NowUnfuzzed_bool_
add esp, 8
mov eax, dword [0x1007a858]
cmp eax, 0x9ffffff
ja 0x10052c30
mov eax, dword [0x1007a040]
xor esi, esi
inc esi
cmp eax, 0xa000001
jb 0x10052c02
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 [0x1006a200]
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 0x10052c25
mov eax, 0xa000000
xchg dword [0x1007a040], eax
mov dword [0x1007b600], esi
mov byte [0x1007b604], 1
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.1002cad0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xa000000
xchg dword [0x1007a858], eax
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.100541d0
cmp byte [esi + 4], 0
jne 0x10053830
lea ebx, [esp + 0x138]
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov ecx, ebx
call fcn.1004fa50
cmp byte [ebx + 4], 0
jne 0x1005383c
mov edx, dword [esp + 0x138]
lea edi, [esp + 0x120]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], 0
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.10014de0
mov ecx, edi
mov edx, str.Progress
push 9
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xb8]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
cmp byte [esi + 4], 0
je 0x10053098
xor eax, eax
mov dword [esp + 0x138], eax
cmp dword [esp + 0x134], 7
jbe 0x10052cdd
mov edi, dword [esp + 0x120]
mov esi, 4
push esi
push ebx
push esi
push eax
push edi
push dword [esp + 0x24]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
jne 0x10053876
xor eax, eax
lea ecx, [esp + 0x138]
mov dword [ecx + 4], eax
mov dword [esp + 0x18], 0
mov dword [ecx + 8], eax
mov dword [ecx], 4
push 0xe
call fcn.10010bc0
test al, al
je 0x1005389e
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], 0x1006cc0c
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], 0x1006cf3f
mov ecx, dword [esp + 0x13c]
inc ecx
mov eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x13c], ecx
mov al, 1
mov dword [esp + 0x18], eax
cmp dword [ebp + 0xc], 2
jl 0x10052f4e
xor ebx, ebx
inc ebx
xor eax, eax
dec eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + ebx*4]
push 2
push 0x1006e26b
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x10052f49
mov al, byte [edi]
or al, 2
cmp al, 0x2f
jne 0x10052f3e
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 0x100530b3
inc ebx
cmp dword [ebp + 0xc], ebx
jne 0x10052f05
jmp 0x10053106
add edi, 2
jmp 0x10052f28
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x138]
cmp edi, 4
je 0x10052f6c
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, 1
mov dword [esp + 0xc], eax
cmp byte [esp + 0x18], 0
je 0x1005300d
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 0x10052f98
cmp byte [eax], 0
jne 0x10053826
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 0x10052fb3
cmp byte [eax], 0
jne 0x10053826
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 0x10052fce
cmp byte [eax], 0
jne 0x10053826
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 0x100531cc
cmp byte [eax], 0
je 0x100531cc
push 0x1006df67
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov esi, 6
test eax, eax
je 0x1005300d
cmp byte [eax], 0
jne 0x100531cc
mov dword [esp + 0x138], 1
cmp dword [esp + 0x134], 7
jbe 0x1005302b
mov eax, dword [esp + 0x120]
jmp 0x10053032
lea eax, [esp + 0x120]
mov ecx, 4
push ecx
lea edx, [esp + 0x13c]
push edx
push ecx
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
lea ecx, [esp + 0x120]
call fcn.100150f0
cmp dword [esp + 0x14], 0
je 0x1005306d
push dword [esp + 0x14]
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp byte [esp + 0xc], 0
jne 0x10052c02
je 0x10052c0f
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_is_T____
int3
cmp dword [esp + 0xb8], 1
je 0x10052cc3
mov esi, 0x15
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x1005304e
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x140]
jne 0x100530e1
lea ecx, [esp + 0x138]
push 1
call fcn.10010bc0
test al, al
je 0x10053896
mov eax, dword [esp + 0x13c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0xc]
mov dword [eax + ecx*4], str.profile
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0x13c], eax
xor eax, eax
inc eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + ecx*4]
push 2
push 0x1006e26b
mov dword [esp + 0x14], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x100531b3
mov eax, dword [esp + 0xc]
mov al, byte [eax]
or al, 2
cmp al, 0x2f
jne 0x1005319a
inc dword [esp + 0xc]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x13c]
xor ebx, ebx
test esi, esi
je 0x1005380a
shl esi, 2
push dword [edi + ebx]
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x1005317f
add ebx, 4
cmp esi, ebx
jne 0x10053162
jmp 0x100531ba
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
inc ecx
mov eax, ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [ebp + 0xc]
jne 0x10053115
jmp 0x1005381c
add dword [esp + 0xc], 2
jmp 0x10053147
mov esi, 5
mov dword [esp + 0x18], 0
jmp 0x10052f56
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.Enabled
push 8
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
cmp byte [esi + 4], 0
jne 0x10053880
mov edi, dword [esp + 0xc0]
lea ecx, [esp + 0x138]
call fcn.100150f0
mov esi, 2
test edi, edi
je 0x1005300d
mov byte [0x1007b5ec], 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 [0x1007b5d4], eax
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.100542e0
cmp byte [esi + 4], 0
jne 0x10053cc7
lea esi, [esp + 0x138]
mov ecx, esi
call fcn.10054520
cmp byte [esi + 4], 0
jne 0x10053cc7
cmp byte [esp + 0x1c], 0
je 0x10053852
mov ecx, dword [ebp + 8]
lea edi, [esp + 0xf8]
mov dword [edi], 8
mov dword [edi + 4], 0x10069160
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov esi, dword [0x1007b570]
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 [0x1007b574]
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 [0x1007b56c]
call dword [section..00cfg]
push edi
call ecx
mov esi, 0xd
mov cl, 1
mov dword [esp + 0xc], ecx
test ax, ax
je 0x1005300d
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.ScreenX
push 8
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
jne 0x10053cd3
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.ScreenY
push 8
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x38], eax
jne 0x10053cdc
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.Width
push 6
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x30], eax
jne 0x10053ce5
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.Height
push 7
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
jne 0x10053cee
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, esi
mov edx, str.Maximized
push 0xa
call fcn.10014f30
add esp, 4
lea edi, [esp + 0xc0]
mov ecx, edi
mov edx, dword [esp + 0x10]
push esi
call fcn.10054270
add esp, 4
cmp byte [edi + 4], 0
mov esi, dword [edi]
jne 0x10053cf7
lea ebx, [esp + 0x138]
mov ecx, ebx
call fcn.100150f0
test esi, esi
setne byte [0x1007b5c8]
mov eax, 7
mov dword [ebx + 0x14], eax
xor esi, esi
mov dword [ebx + 0x10], esi
mov word [ebx], 0
mov ecx, ebx
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, ebx
mov edx, str.CssToDevPixelScaling
push 0x15
call fcn.10014f30
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 0x100535d3
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 + 0x28]
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov esi, eax
xor edi, dword [ebx]
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 0x20], xmm0
lea ecx, [esp + 0x138]
call fcn.100150f0
or edi, esi
je 0x1005361f
movsd xmm0, qword [0x1006b5f0]
movsd qword [esp + 0x20], xmm0
jne 0x10053d08
movsd xmm0, qword [esp + 0x20]
movsd qword [0x1007b5c0], 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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.UrlbarCSSSpan
push 0xe
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054a10
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 0xc], 0
jne 0x10053d1d
lea esi, [esp + 0xc0]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], 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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, ebx
mov edx, str.SearchbarCSSSpan
push 0x11
call fcn.10014f30
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0x10]
push ebx
call fcn.10054a10
add esp, 4
mov ecx, ebx
call fcn.100150f0
cmp byte [esi + 0xc], 0
jne 0x10053d29
lea esi, [esp + 0xc0]
mov eax, dword [esi]
mov dword [esp + 0x18], 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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.SpringsCSSSpan
push 0xf
call fcn.10014f30
add esp, 4
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054a10
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 0xc], 0
jne 0x10053d3b
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 + 0x1c], edx
mov dword [esp + 0x94], edx
mov esi, 0xe
mov al, 1
mov dword [esp + 0xc], eax
cmp dword [esp + 0x34], 0
je 0x100537c5
test ebx, ebx
jne 0x10053a1f
cmp dword [esp + 0x1c], 0x10
je 0x100537d9
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x18], 0x10
je 0x100537ed
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x20], 0x10
je 0x1005300d
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1005300d
mov esi, 5
mov dword [esp + 0x18], 0
jmp 0x10052f5d
mov esi, 5
jmp 0x10052f56
mov esi, 6
jmp 0x1005300d
mov esi, dword [esp + 0x138]
jmp 0x10052c02
mov esi, dword [esp + 0x138]
push dword [esp + 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10052c02
lea esi, [esp + 0x60]
mov ecx, esi
mov edx, 0x1006a008
call fcn.100546e0
mov eax, dword [esi]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100538ab
mov esi, 0xb
jmp 0x1005300d
mov esi, 8
jmp 0x100530ab
lea ecx, [esp + 0x138]
call fcn.100150f0
mov esi, 3
jmp 0x1005300d
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x10052f56
lea esi, [esp + 0xf8]
mov eax, 7
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
mov word [esi], 0
mov ecx, esi
mov edx, dword [esp + 0x18]
call fcn.10014de0
mov ecx, esi
mov edx, str.MozillaFirefoxprofiles.ini
push 0x1d
call fcn.10014f30
add esp, 4
cmp dword [esi + 0x14], 7
jbe 0x100538ef
mov esi, dword [esp + 0xf8]
lea ebx, [esp + 0x1a8]
mov dword [ebx - 0x70], 0x1006b678
mov ecx, ebx
call dword [sym.imp.msvcp140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [ebx], 0x1006b2a4
lea edi, [esp + 0x138]
mov ecx, edi
mov edx, esi
call fcn.10054760
mov eax, dword [ebx - 0x70]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x138], 0x1006b680
mov eax, dword [ebx - 0x70]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x70]
mov dword [esp + eax + 0x134], ecx
mov eax, dword [ebx - 0x70]
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.msvcp140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
jne 0x10054172
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.10054870
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 0x10053b75
lea ecx, [esp + 0xc0]
call fcn.1002b790
mov bl, 1
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x138], 0x1006b680
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.10044480
mov ecx, edi
call dword [sym.imp.msvcp140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
lea ecx, [esp + 0xf8]
call fcn.100150f0
mov ecx, dword [esp + 0x18]
call fcn.100549b0
test bl, bl
jne 0x100532af
jmp 0x1005300d
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.Flags
push 6
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 4], 0
jne 0x10054160
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x90], eax
mov esi, 0x16
mov cl, 1
mov dword [esp + 0xc], ecx
test al, 0x18
jne 0x100537c5
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
mov edx, dword [esp + 0x14]
call fcn.10014de0
mov ecx, edi
mov edx, str.Theme
push 6
call fcn.10014f30
add esp, 4
lea esi, [esp + 0xc0]
mov ecx, esi
mov edx, dword [esp + 0x10]
push edi
call fcn.10054270
add esp, 4
mov ecx, edi
call fcn.100150f0
cmp byte [esi + 4], 0
mov esi, dword [esi]
jne 0x100537c5
cmp esi, 1
je 0x10053d4d
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x80], 0
cmp esi, 2
jne 0x10053d5a
mov dword [esp + 0x60], 0x2b2a33
mov dword [esp + 0xc], 0xc0c0d
mov edi, 0x1c1b22
mov edx, 0x6a6a6d
mov ecx, 0x42414d
mov ebx, 0x1c1b22
mov esi, 0x42414d
mov eax, 0x42414d
jmp 0x10053d88
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
test esi, esi
jne 0x10053c29
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.10054970
mov bl, 1
test eax, eax
jne 0x10053c5c
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.10054870
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 + 0x20], ebx
test al, al
je 0x10053b7d
jmp 0x100539af
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 0x10053c50
cmp dl, 9
jne 0x10053b9c
inc eax
cmp esi, eax
jne 0x10053c3f
mov eax, esi
jmp 0x10053b9c
test byte [esp + 0x20], 1
jne 0x10053c6c
mov ebx, dword [esp + 0x20]
jmp 0x10053bd6
cmp dword [esp + 0xd4], 0xf
lea eax, [esp + 0xc0]
jbe 0x10053c84
mov eax, dword [esp + 0xc0]
cmp byte [eax], 0x5b
jne 0x10053c90
xor ebx, ebx
jmp 0x10053bd6
push 0x15
push str.StartWithLastProfile
push 0
push dword [esp + 0xdc]
push eax
call fcn.1004c9d0
add esp, 0x14
test eax, eax
jne 0x10053c63
cmp dword [esp + 0xd4], 0xf
jbe 0x10054179
mov eax, dword [esp + 0xc0]
jmp 0x10054180
mov esi, dword [esp + 0x138]
jmp 0x1005300d
mov esi, dword [esp + 0x3c]
jmp 0x1005300d
mov esi, dword [esp + 0x38]
jmp 0x1005300d
mov esi, dword [esp + 0x30]
jmp 0x1005300d
mov esi, dword [esp + 0x2c]
jmp 0x1005300d
lea ecx, [esp + 0x138]
call fcn.100150f0
jmp 0x1005300d
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x40], xmm0
mov esi, dword [esp + 0x40]
jmp 0x1005300d
mov esi, dword [esp + 0xc0]
jmp 0x1005300d
mov esi, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x100537ed
mov esi, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x100537d9
call fcn.10054c00
test al, al
jne 0x10053b42
mov dword [esp + 0x60], 0xf9f9fb
mov esi, 0xffffff
mov dword [esp + 0xc], 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 + 0xc]
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 + 0xc], eax
cmp dword [esp + 0x30], 0x10000
ja 0x100537c5
cmp dword [esp + 0x2c], 0x10000
ja 0x100537c5
movzx ebx, byte [0x1007b5c8]
mov esi, ebx
shl esi, 0x18
or esi, 0x2cf0000
mov ecx, dword [0x1007b578]
call dword [section..00cfg]
xor eax, eax
push eax
push dword [ebp + 8]
push eax
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
push 0x100717fc
push str.MozillaWindowClass
push 0x100
call ecx
mov dword [0x1007b5e0], eax
test eax, eax
je 0x10053f7e
mov esi, eax
xor eax, eax
test bl, bl
setne al
lea edi, [eax + eax]
inc edi
mov ecx, dword [0x1007b57c]
call dword [section..00cfg]
push edi
push esi
call ecx
mov ecx, dword [0x1007b568]
mov esi, dword [0x1007b5e0]
call dword [section..00cfg]
push esi
call ecx
mov esi, eax
mov dword [0x1007b5f4], eax
mov ecx, dword [0x1007b564]
call dword [section..00cfg]
push esi
push 0x20
call ecx
mov esi, eax
mov ecx, dword [0x1007b564]
mov edi, dword [0x1007b5f4]
call dword [section..00cfg]
mov ebx, 0x5c
push edi
push ebx
call ecx
add eax, esi
mov dword [0x1007b5d0], eax
mov ecx, dword [0x1007b564]
mov esi, dword [0x1007b5f4]
call dword [section..00cfg]
push esi
push 0x21
call ecx
mov esi, eax
mov ecx, dword [0x1007b564]
mov edi, dword [0x1007b5f4]
call dword [section..00cfg]
push edi
push ebx
call ecx
add eax, esi
mov dword [0x1007b5cc], eax
cmp byte [0x1007b5c8], 0
je 0x10053f88
mov ecx, dword [0x1007b594]
mov esi, dword [0x1007b5e0]
call dword [section..00cfg]
push 0
push esi
call ecx
mov esi, 0x10
test eax, eax
je 0x100537c5
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 [0x1007b598]
call dword [section..00cfg]
lea eax, [esp + 0x138]
push eax
push edi
call ecx
test eax, eax
je 0x100537c5
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
sub eax, dword [esp + 0x14c]
mov edx, dword [0x1007b5d0]
lea eax, [eax + edx*2]
sub ecx, dword [esp + 0x150]
mov dword [0x1007b5ac], eax
mov eax, dword [0x1007b5cc]
lea eax, [ecx + eax*2]
jmp 0x10053f95
mov esi, 0x11
jmp 0x100537c5
mov eax, dword [esp + 0x30]
mov dword [0x1007b5ac], eax
mov eax, dword [esp + 0x2c]
mov dword [0x1007b5d8], eax
mov ecx, dword [0x1007b580]
mov esi, dword [0x1007b5e0]
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 + 0x18]
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mov eax, dword [esp + 0x20]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov edx, dword [0x1007b5e0]
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.100506a0
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x10054198
cmp dword [0x1007b5d4], 0
je 0x10054051
xor eax, eax
push eax
push eax
push eax
push 0x10052310
push 0x40000
push eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x1007b5e8], eax
push 1
push edi
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::NowUnfuzzed_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 edi
call fcn.10054c80
add esp, 4
cmp dword [esi + 8], 2
jne 0x1005412d
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x100541a4
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x17c], 0
test esi, esi
je 0x10054153
mov ecx, esi
call fcn.1000fd90
push esi
call sym.mozglue.dll__aligned_free
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x100537c5
mov esi, dword [esp + 0xc0]
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x100537c5
mov esi, 0xb
jmp 0x100541c3
lea eax, [esp + 0xc0]
mov al, byte [eax + 0x15]
cmp al, 0x30
je 0x100541b2
mov ebx, dword [esp + 0x20]
cmp al, 0x31
jne 0x10053bd6
jmp 0x100539af
mov esi, dword [esp + 0x138]
jmp 0x100537c5
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x1005412d
lea ecx, [esp + 0xc0]
call fcn.1002b790
mov esi, 0xc
xor ebx, ebx
jmp 0x100539bd