Function at 0x14000ffb0
Capabilities:
Get system information on windows
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
mov qword [rsp + 0x58], rdx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x1400110f5
mov rbx, r9
mov r15, r8
mov rdi, rcx
and rdx, 0xfffffffffffffffc
mov rcx, qword [rcx]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0xe0]
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x1400110e7
cmp qword [rsp + 0x80], 0
je 0x1400110f5
cmp dword [rsp + 0xf0], 0
je 0x1400110f5
cmp dword [rsp + 0x100], 0x1000
jne 0x1400110f5
cmp dword [rsp + 0x104], 1
je 0x1400110f5
mov rsi, qword [rdi + 0x38]
and rsi, 0xfffffffffffffffc
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r14, rax
add rax, 8
mov qword [rsp + 0x50], rax
movabs rbp, 0x100000001
mov qword [r14 + 8], rbp
lea r13, [0x1400553c0]
mov qword [r14], r13
lea rcx, [r14 + 0x10]
mov qword [rsp + 0x48], rdi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x20], 0
mov qword [r14 + 0x28], 0x20
lea rax, [r14 + 0x30]
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x50], rsi
mov edx, 0x40
call fcn.140015120
cmp qword [r14 + 0x50], 0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r15
je 0x1400110ac
cmp qword [r14 + 0x20], 0
je 0x1400110ac
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x1400110ac
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400110ac
movsxd rdi, dword [rax + 0x3c]
add rdi, rsi
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r12, rax
add rax, 8
mov qword [rsp + 0x60], rax
mov qword [r12 + 8], rbp
mov qword [r12], r13
lea rcx, [r12 + 0x10]
mov rax, qword [rsp + 0x48]
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x20], 0
mov qword [r12 + 0x28], 0x20
lea rax, [r12 + 0x30]
mov qword [r12 + 0x18], rax
mov qword [r12 + 0x50], rdi
mov edx, 0x108
call fcn.140015120
cmp qword [r12 + 0x50], 0
je 0x14001108b
cmp qword [r12 + 0x20], 0
je 0x14001108b
mov rdi, qword [r12 + 0x18]
test rdi, rdi
je 0x14001108b
cmp dword [rdi], 0x4550
jne 0x14001108b
movzx eax, word [rdi + 0x18]
cmp eax, 0x20b
jne 0x14001108b
cmp dword [rdi + 0x50], 0x147
jbe 0x14001108b
cmp dword [rdi + 0x84], 0
je 0x14001108b
mov ebx, dword [rdi + 0x88]
test rbx, rbx
je 0x14001108b
cmp dword [rdi + 0x8c], 0
je 0x14001108b
add rbx, rsi
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r13, rax
add rax, 8
mov qword [rsp + 0x68], rax
mov qword [r13 + 8], rbp
lea rax, [0x1400553c0]
mov qword [r13], rax
lea rcx, [r13 + 0x10]
mov rax, qword [rsp + 0x48]
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x20], 0
mov qword [r13 + 0x28], 0x20
lea rax, [r13 + 0x30]
mov qword [r13 + 0x18], rax
mov qword [r13 + 0x50], rbx
mov edx, 0x28
call fcn.140015120
cmp qword [r13 + 0x50], 0
je 0x1400110cb
cmp qword [r13 + 0x20], 0
je 0x1400110cb
mov rbp, qword [r13 + 0x18]
test rbp, rbp
je 0x1400110cb
mov ebx, dword [rbp + 0x14]
test rbx, rbx
je 0x1400110cb
mov eax, dword [rdi + 0x88]
mov ecx, dword [rdi + 0x8c]
add ecx, eax
mov r15, qword [rsp + 0x48]
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], rsi
mov edx, dword [rbp + 0x10]
mov dword [rsp + 0xf0], edx
mov dword [rsp + 0xf4], eax
mov dword [rsp + 0xf8], ecx
mov edi, dword [rbp + 0x1c]
add rdi, rsi
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x1400553c0]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], rdi
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rbx
lea edx, [rbx*4]
call fcn.1400116a0
shr eax, 2
cmp ebx, eax
ja 0x1400110fc
mov edi, dword [rbp + 0x18]
mov ebx, dword [rbp + 0x20]
add rbx, rsi
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x1400553c0]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], rbx
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rdi
lea edx, [rdi*4]
call fcn.1400116a0
shr eax, 2
cmp edi, eax
ja 0x14001110b
mov edi, dword [rbp + 0x18]
mov eax, dword [rbp + 0x24]
add rsi, rax
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x1400553c0]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r15
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], rsi
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rdi
lea edx, [rdi + rdi]
call fcn.1400116a0
shr eax, 1
cmp edi, eax
mov rbx, qword [rsp + 0x50]
ja 0x14001111a
mov rax, qword [rsp + 0x68]
lock dec dword [rax]
mov rdi, qword [rsp + 0x60]
jne 0x14001045b
mov rsi, r13
add rsi, 0xc
mov rax, qword [r13]
mov rax, qword [rax]
mov rcx, r13
call qword [0x14006a010]
lock dec dword [rsi]
jne 0x14001045b
mov rax, qword [r13]
mov rax, qword [rax + 8]
mov rcx, r13
call qword [0x14006a010]
lock dec dword [rdi]
mov rdi, qword [rsp + 0x48]
jne 0x140010492
mov rsi, r12
add rsi, 0xc
mov rax, qword [r12]
mov rax, qword [rax]
mov rcx, r12
call qword [0x14006a010]
lock dec dword [rsi]
jne 0x140010492
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x14006a010]
lock dec dword [rbx]
jne 0x1400104c2
mov rsi, r14
add rsi, 0xc
mov rax, qword [r14]
mov rax, qword [rax]
mov rcx, r14
call qword [0x14006a010]
lock dec dword [rsi]
jne 0x1400104c2
mov rax, qword [r14]
mov rax, qword [rax + 8]
mov rcx, r14
call qword [0x14006a010]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xffff
jbe 0x140011129
xor ebx, ebx
cmp qword [rsp + 0xe8], 0
je 0x140010721
cmp dword [rsp + 0xf4], 0
je 0x140010721
cmp dword [rsp + 0xf8], 0
je 0x140010721
mov rax, qword [rsp + 0x100]
xor ebx, ebx
cmp qword [rax + 0x40], 0
je 0x140010721
cmp qword [rsp + 0x110], 0
je 0x140010721
mov rax, qword [rsp + 0x118]
xor ebx, ebx
cmp qword [rax + 0x40], 0
je 0x140010721
mov rsi, qword [rsp + 0x128]
test rsi, rsi
je 0x140010721
xor ebx, ebx
test rdx, rdx
je 0x140010721
mov rcx, qword [rsp + 0x130]
cmp qword [rcx + 0x40], 0
je 0x140010721
cmp qword [rsp + 0x140], 0
je 0x140010721
cmp byte [rdx], 0
je 0x140011080
mov ecx, 1
lea r12, [rcx + 1]
cmp byte [rdx + rcx], 0
mov rcx, r12
jne 0x140010586
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x1400105aa
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov rbp, rsi
sub rbp, r14
shr rbp, 1
add rbp, r14
mov rax, qword [rsp + 0x50]
mov edi, dword [rax + rbp*4]
add rdi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r13, rax
movabs rax, 0x100000001
mov qword [r13 + 8], rax
lea rax, [0x1400553c0]
mov qword [r13], rax
lea rcx, [r13 + 0x10]
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x20], 0
mov qword [r13 + 0x28], 0x20
lea rax, [r13 + 0x30]
mov qword [r13 + 0x18], rax
mov qword [r13 + 0x50], rdi
mov edx, r12d
call fcn.1400116a0
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x140010631
mov rax, qword [r13 + 0x18]
lea rcx, [r13 + 8]
mov r15, r13
add r15, 0xc
xor edx, edx
mov r8, qword [rsp + 0x58]
mov dil, byte [r8 + rdx]
mov bl, byte [rax + rdx]
test dil, dil
je 0x140010657
inc rdx
cmp dil, bl
je 0x140010643
lock dec dword [rcx]
jne 0x140010683
mov rax, qword [r13]
mov rax, qword [rax]
mov rcx, r13
call qword [0x14006a010]
lock dec dword [r15]
jne 0x140010683
mov rax, qword [r13]
mov rax, qword [rax + 8]
mov rcx, r13
call qword [0x14006a010]
cmp dil, bl
je 0x1400106a5
cmp dil, bl
cmovl rsi, rbp
lea rax, [rbp + 1]
cmovge r14, rax
cmp rsi, r14
jne 0x1400105ad
jmp 0x14001116d
cmp qword [rsp + 0x140], rbp
jbe 0x140011179
mov rax, qword [rsp + 0x130]
xor ebx, ebx
cmp qword [rax + 0x10], 0
mov rdi, qword [rsp + 0x48]
je 0x140010721
mov rax, qword [rax + 8]
test rax, rax
je 0x140010721
movzx eax, word [rax + rbp*2]
cmp qword [rsp + 0x110], rax
jbe 0x140011172
mov rcx, qword [rsp + 0x100]
xor ebx, ebx
cmp qword [rcx + 0x10], 0
je 0x140010721
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140010721
mov eax, dword [rcx + rax*4]
cmp eax, dword [rsp + 0xf4]
jb 0x140010717
cmp eax, dword [rsp + 0xf8]
jb 0x140011172
mov ebx, eax
add rbx, qword [rsp + 0xe8]
mov r15, qword [rsp + 0x138]
test r15, r15
je 0x14001075b
lock dec dword [r15 + 8]
jne 0x14001075b
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x14001075b
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
mov r15, qword [rsp + 0x120]
test r15, r15
je 0x140010795
lock dec dword [r15 + 8]
jne 0x140010795
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x140010795
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
mov r15, qword [rsp + 0x108]
test r15, r15
je 0x1400107cf
lock dec dword [r15 + 8]
jne 0x1400107cf
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x1400107cf
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
test rbx, rbx
movabs rbp, 0x100000001
je 0x1400110f5
mov rcx, qword [rdi]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0xe0]
mov rdx, rbx
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x1400110e7
cmp qword [rsp + 0x80], 0
je 0x1400110f5
cmp dword [rsp + 0xf0], 0
je 0x1400110f5
cmp dword [rsp + 0x100], 0x1000
jne 0x1400110f5
mov qword [rsp + 0x58], rbx
cmp dword [rsp + 0x104], 1
je 0x1400110f5
cmp byte [rdi + 0x34], 0
mov r14, rdi
jne 0x140010a9f
mov r13, qword [r14 + 0x38]
lea rcx, [0x14005aa10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r12, rax
mov eax, dword [0x140064ce0]
cmp eax, 0x601ffff
jbe 0x14001132c
mov eax, dword [0x140064ce0]
cmp eax, 0x9ffffff
ja 0x1400113dd
mov eax, dword [0x14006404c]
mov sil, 1
cmp eax, 0xa000001
jb 0x14001094b
lea r15, [rsp + 0xec]
mov r8d, 0x110
mov rcx, r15
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0xa0000011c
mov qword [r15 - 0xc], rax
mov dword [r15 - 4], 0
mov rsi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rsi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rsi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rsi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rsi
lea rcx, [rsp + 0xe0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete sil
lea rax, [0x14006404c]
lea rcx, [0x140064ce0]
cmove rcx, rax
mov eax, 0xa000000
xchg dword [rcx], eax
mov eax, dword [0x140064ce0]
cmp eax, 0x601ffff
jbe 0x1400113e4
mov eax, dword [0x140064ce0]
cmp eax, 0x602ffff
ja 0x140010fef
mov eax, dword [0x14006404c]
cmp eax, 0x6030001
jb 0x14001161e
lea r15, [rsp + 0xec]
mov r8d, 0x110
mov rcx, r15
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0x60000011c
mov qword [r15 - 0xc], rax
mov dword [r15 - 4], 3
mov rdi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
lea rcx, [rsp + 0xe0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete dil
lea rax, [0x14006404c]
lea rcx, [0x140064ce0]
cmove rcx, rax
mov eax, 0x6030000
xchg dword [rcx], eax
mov r14, qword [rsp + 0x48]
mov rbx, qword [r14 + 0x38]
lea rcx, [0x14005b47c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [r14 + 0x34], 0
jne 0x140010a9f
cmp r13, r12
sete cl
cmp rbx, rax
sete al
mov r10, qword [rsp + 0x58]
cmp r10, qword [sym.imp.KERNEL32.dll_CloseHandle]
sete dl
and dl, sil
and dl, al
or dl, cl
and al, dil
cmp r10, qword [sym.imp.KERNEL32.dll_CreateFileA]
sete cl
mov r8, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp r10, r8
sete r9b
or r9b, cl
and r9b, al
or r9b, dl
movzx ecx, r9b
lea eax, [rcx + 4]
test dil, dil
cmove eax, ecx
cmp r10, r8
cmovne eax, ecx
mov rcx, rax
bts rcx, 0x20
mov qword [r14 + 0x30], rcx
jmp 0x140010aa3
mov eax, dword [r14 + 0x30]
mov rdi, r14
test al, 4
jne 0x140011185
xor esi, esi
mov rax, qword [sym.imp.mozglue.dll_moz_xmalloc]
xor r15d, r15d
mov r14, qword [rsp + 0x58]
mov rbx, r14
cmp r15, rbx
je 0x140010bd7
mov r13, rbx
mov ecx, 0x58
mov r12, rax
call rax
mov r15, rax
mov qword [rax + 8], rbp
lea rax, [0x1400553c0]
mov qword [r15], rax
lea rbp, [r15 + 0x10]
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x20], rsi
mov qword [r15 + 0x28], 0x20
lea rax, [r15 + 0x30]
mov qword [r15 + 0x18], rax
mov qword [r15 + 0x50], rbx
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], r15
mov dword [rsp + 0xf0], 0
mov qword [rsp + 0x80], rsi
mov rcx, rbp
xor edx, edx
call fcn.140015120
mov rax, qword [r15 + 0x18]
cmp byte [rax], 0xeb
je 0x1400111cc
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x80]
call fcn.140011a70
test al, al
jne 0x1400112ee
mov rcx, rbp
xor edx, edx
call fcn.140015120
mov rax, qword [r15 + 0x18]
mov sil, 1
cmp byte [rax], 0xe9
mov rbx, r13
je 0x14001125a
mov r15, qword [rsp + 0xe8]
test r15, r15
je 0x140010bb7
lock dec dword [r15 + 8]
jne 0x140010bb7
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x140010bb7
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
mov r15, r13
test sil, sil
movabs rbp, 0x100000001
mov rax, r12
mov esi, 0
jne 0x140010ac2
jmp 0x140010c38
cmp r15, r14
jne 0x1400112fe
lea rsi, [0x1400553c0]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], rbp
mov qword [rax], rsi
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], r14
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0
cmp byte [rdi + 0x34], 0
je 0x140011314
mov r14d, dword [rdi + 0x30]
and r14d, 1
shl r14, 0x1e
mov eax, dword [0x140064d7c]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010ff6
mov ebp, dword [0x140064d78]
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x80]
mov rcx, rdi
mov r8d, ebp
mov r9, r14
call fcn.1400196a0
test ebp, ebp
je 0x140011325
cmp qword [rdi], 0
je 0x140011325
cmp qword [rdi + 0x18], 0
jne 0x140010e96
mov eax, dword [0x140064d7c]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001103b
mov ecx, dword [0x140064d78]
mov eax, ebp
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, ebp
mov dword [rdi + 0x20], ecx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x4000040
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 8], rax
test rax, rax
je 0x14001131f
mov qword [rsp + 0x20], 0
mov rcx, rax
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14001131f
lea rsi, [rdi + 0x20]
mov r14, qword [rdi]
mov r12, qword [rdi + 8]
cmp byte [rsp + 0x90], 0
je 0x140011532
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x140011495
mov r13d, dword [rdi + 0x20]
mov rbp, qword [rsp + 0x88]
mov eax, dword [0x140064da0]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140010e1a
lea rcx, [0x140064da0]
call fcn.14002efe4
cmp dword [0x140064da0], 0xffffffff
jne 0x140010e1a
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140064d90], rax
mov qword [0x140064d98], 0
test rax, rax
je 0x140010e0e
lea rdx, str.MapViewOfFile3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064d98], rax
test rax, rax
jne 0x140010e0e
mov rcx, qword [0x140064d90]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140064d90], 0
lea rcx, [0x140064da0]
call fcn.14002ef84
mov rax, qword [0x140064d98]
test rax, rax
jne 0x1400114a0
add rbx, rbp
mov edi, 8
mov r15, qword [sym.imp.mozglue.dll_void____ptr64___cdecl_mozilla::MapRemoteViewOfFile_void____ptr64__void____ptr64__unsigned_long_long_unsigned___int64___void____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_int__unsigned_long_int_]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rsp + 0x48]
mov rdx, r14
mov r8, r13
mov r9, rbp
call fcn.140019e50
test rax, rax
je 0x14001156c
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, r12
mov rdx, r14
xor r8d, r8d
mov r9, rax
call r15
test rax, rax
je 0x140011529
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
jmp 0x140010e9a
lea rsi, [rdi + 0x20]
cmp dword [rsi], 0
je 0x140011325
mov qword [rsp + 0xd0], rdi
mov byte [rsp + 0xd8], 1
lea r14, [rsp + 0xe0]
mov rcx, rdi
mov rdx, r14
call fcn.140011c40
cmp byte [r14 + 0x38], 0
je 0x140011325
mov rax, qword [rsp + 0xe0]
lea r14, [rsp + 0x80]
mov qword [r14], rax
mov eax, dword [rsp + 0xe8]
mov dword [r14 + 8], eax
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [r14 + 0x10], xmm0
mov eax, dword [rsp + 0x100]
mov dword [r14 + 0x20], eax
movups xmm0, xmmword [rsp + 0x104]
movups xmmword [r14 + 0x24], xmm0
mov al, byte [rsp + 0x114]
mov byte [r14 + 0x34], al
mov dword [rsp + 0xe8], 0
mov byte [rsp + 0x114], 0
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xb8]
lea r8, [rsp + 0xd0]
mov rcx, rdi
mov r9, r14
call fcn.140011f60
cmp qword [rsi], 0
setne sil
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140010f91
mov r8d, dword [rsp + 0x88]
test r8d, r8d
je 0x140010f91
lea r9, [rsp + 0x88]
mov edx, dword [r9 + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
je 0x140010fc9
lock dec dword [rdi + 8]
jne 0x140010fc9
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
call qword [0x14006a010]
lock dec dword [rdi + 0xc]
jne 0x140010fc9
mov rax, qword [rdi]
mov rax, qword [rax + 8]
mov rcx, rdi
call qword [0x14006a010]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140030150
mov eax, esi
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
jmp 0x140010a1b
lea rcx, [0x140064d7c]
call fcn.14002efe4
cmp dword [0x140064d7c], 0xffffffff
jne 0x140010c73
lea r15, [rsp + 0xe0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r15 + 0x28]
mov dword [0x140064d78], eax
lea rcx, [0x140064d7c]
call fcn.14002ef84
jmp 0x140010c73
lea rcx, [0x140064d7c]
call fcn.14002efe4
cmp dword [0x140064d7c], 0xffffffff
jne 0x140010cd6
lea r14, [rsp + 0xe0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 0x28]
mov dword [0x140064d78], eax
lea rcx, [0x140064d7c]
call fcn.14002ef84
jmp 0x140010cd6
mov r12d, 1
jmp 0x140010593
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
call fcn.140036040
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
jmp 0x14001045b
lea rcx, [rsp + 0xe0]
mov rdi, qword [rsp + 0x48]
mov rdx, rdi
call fcn.140036040
mov rbx, qword [rsp + 0x50]
jmp 0x140010492
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
call fcn.140036040
mov rbx, qword [rsp + 0x50]
jmp 0x14001041f
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
jmp 0x140010fc9
mov eax, eax
mov qword [rsp + 0x110], rax
jmp 0x140010321
mov eax, eax
mov qword [rsp + 0x128], rax
jmp 0x1400103a0
mov eax, eax
mov qword [rsp + 0x140], rax
jmp 0x14001041f
movzx eax, dx
sub eax, dword [rsp + 0xf0]
jb 0x140011179
cmp qword [rsp + 0x110], rax
jbe 0x140011179
mov rcx, qword [rsp + 0x100]
cmp qword [rcx + 0x10], 0
je 0x14001116d
mov rcx, qword [rcx + 8]
test rcx, rcx
mov rdi, qword [rsp + 0x48]
mov ebx, 0
je 0x140010721
mov eax, dword [rcx + rax*4]
jmp 0x140010717
mov rdi, qword [rsp + 0x48]
xor ebx, ebx
jmp 0x140010721
xor ebx, ebx
mov rdi, qword [rsp + 0x48]
jmp 0x140010721
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], rbp
lea rcx, [0x1400553c0]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rax + 0x50], rdx
jmp 0x140010c1d
mov rcx, rbp
mov edx, 1
call fcn.140015120
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x1400111e6
mov rax, qword [r15 + 0x18]
movsx rax, byte [rax + 1]
add rax, 2
mov rbx, qword [r15 + 0x50]
add rbx, rax
mov qword [rsp + 0x80], rbx
shl eax, 0x18
add eax, 0xfe000000
mov ecx, eax
sar ecx, 0x18
mov dword [rsp + 0x50], ecx
test eax, eax
js 0x14001157e
mov sil, 1
je 0x14001160c
xor edi, edi
lea edx, [rdi + 2]
mov rcx, rbp
mov r14, rdx
call fcn.140015120
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x14001123d
mov rax, qword [r15 + 0x18]
cmp byte [rax + r14], 0x90
jne 0x14001160c
inc dil
movsx edi, dil
cmp dword [rsp + 0x50], edi
jg 0x140011222
jmp 0x14001160f
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r15, rax
movabs rax, 0x100000001
mov qword [r15 + 8], rax
lea rax, [0x1400553c0]
mov qword [r15], rax
lea rsi, [r15 + 0x10]
mov rcx, rsi
mov rdx, rbp
mov r8d, 1
call fcn.140036390
mov rcx, rsi
mov edx, 4
call fcn.140015120
mov rax, qword [r15 + 0x18]
mov rcx, qword [r15 + 0x50]
movsxd rax, dword [rax]
add rax, rcx
add rax, 4
mov qword [rsp + 0x80], rax
lock dec dword [r15 + 8]
jne 0x1400112ee
mov rsi, r15
add rsi, 0xc
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [rsi]
jne 0x1400112ee
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
mov sil, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140010b7d
mov rcx, rdi
mov rdx, r15
call fcn.140035fb0
test al, al
cmovne r14, r15
jmp 0x140010be0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x140010f91
mov eax, dword [0x14006404c]
cmp eax, 0x6020001
jb 0x140011631
lea r15, [rsp + 0xec]
mov r8d, 0x110
mov rcx, r15
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0x60000011c
mov qword [r15 - 0xc], rax
mov dword [r15 - 4], 2
mov rsi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rsi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rsi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rsi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rsi
lea rcx, [rsp + 0xe0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140011626
mov eax, 0x6020000
xchg dword [0x140064ce0], eax
movabs rbp, 0x100000001
jmp 0x140010889
xor esi, esi
jmp 0x14001094b
mov eax, dword [0x14006404c]
cmp eax, 0x6020001
jb 0x14001164d
lea r15, [rsp + 0xec]
mov r8d, 0x110
mov rcx, r15
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0x60000011c
mov qword [r15 - 0xc], rax
mov dword [r15 - 4], 2
mov rdi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
lea rcx, [rsp + 0xe0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140011642
mov eax, 0x6020000
xchg dword [0x140064ce0], eax
movabs rbp, 0x100000001
jmp 0x14001095c
int3
lea rcx, [rbx + rbp]
dec rcx
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], 0
lea rcx, [rsp + 0xd0]
mov qword [rcx], 1
lea rdx, [rsp + 0xe0]
mov qword [rcx + 8], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov rcx, r12
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [0x14006a010]
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x140010e9a
jmp 0x140011325
dec rdi
jne 0x140010e39
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, r12
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.mozglue.dll_void____ptr64___cdecl_mozilla::MapRemoteViewOfFile_void____ptr64__void____ptr64__unsigned_long_long_unsigned___int64___void____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_int__unsigned_long_int_]
test rax, rax
jne 0x140010e8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x18], 0
jmp 0x140011325
mov edx, dword [rsp + 0x50]
add dl, 2
mov rcx, rbp
call fcn.140036250
mov sil, 1
test al, al
je 0x14001160c
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r15, rax
movabs rax, 0x100000001
mov qword [r15 + 8], rax
lea rax, [0x1400553c0]
mov qword [r15], rax
lea rax, [r15 + 0x10]
mov rcx, qword [rsp + 0x48]
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x20], 0
mov qword [r15 + 0x28], 0x20
lea rcx, [r15 + 0x30]
mov qword [r15 + 0x18], rcx
mov qword [r15 + 0x50], rbx
lea rcx, [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rcx + 8], r15
mov dword [rcx + 0x10], 0
lea rdx, [rsp + 0x80]
call fcn.140011a70
test al, al
je 0x14001165e
xor esi, esi
mov rbx, r13
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x58]
jmp 0x140010b7d
mov dil, 1
jmp 0x140010a1b
mov eax, 0x6020000
xchg dword [0x14006404c], eax
xor esi, esi
movabs rbp, 0x100000001
jmp 0x14001094b
mov eax, 0x6020000
xchg dword [0x14006404c], eax
xor edi, edi
movabs rbp, 0x100000001
jmp 0x140010a1b
lea rax, [r15 + 8]
lock dec dword [rax]
jne 0x14001160c
mov rdi, r15
add rdi, 0xc
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [rdi]
jne 0x14001160c
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
jmp 0x14001160c