Function at 0x1400111e0
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 0x140012325
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 0x140012317
cmp qword [rsp + 0x80], 0
je 0x140012325
cmp dword [rsp + 0xf0], 0
je 0x140012325
cmp dword [rsp + 0x100], 0x1000
jne 0x140012325
cmp dword [rsp + 0x104], 1
je 0x140012325
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.140016350
cmp qword [r14 + 0x50], 0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], r15
je 0x1400122dc
cmp qword [r14 + 0x20], 0
je 0x1400122dc
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x1400122dc
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400122dc
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.140016350
cmp qword [r12 + 0x50], 0
je 0x1400122bb
cmp qword [r12 + 0x20], 0
je 0x1400122bb
mov rdi, qword [r12 + 0x18]
test rdi, rdi
je 0x1400122bb
cmp dword [rdi], 0x4550
jne 0x1400122bb
movzx eax, word [rdi + 0x18]
cmp eax, 0x20b
jne 0x1400122bb
cmp dword [rdi + 0x50], 0x147
jbe 0x1400122bb
cmp dword [rdi + 0x84], 0
je 0x1400122bb
mov ebx, dword [rdi + 0x88]
test rbx, rbx
je 0x1400122bb
cmp dword [rdi + 0x8c], 0
je 0x1400122bb
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.140016350
cmp qword [r13 + 0x50], 0
je 0x1400122fb
cmp qword [r13 + 0x20], 0
je 0x1400122fb
mov rbp, qword [r13 + 0x18]
test rbp, rbp
je 0x1400122fb
mov ebx, dword [rbp + 0x14]
test rbx, rbx
je 0x1400122fb
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.1400128d0
shr eax, 2
cmp ebx, eax
ja 0x14001232c
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.1400128d0
shr eax, 2
cmp edi, eax
ja 0x14001233b
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.1400128d0
shr eax, 1
cmp edi, eax
mov rbx, qword [rsp + 0x50]
ja 0x14001234a
mov rax, qword [rsp + 0x68]
lock dec dword [rax]
mov rdi, qword [rsp + 0x60]
jne 0x14001168b
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 0x14001168b
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 0x1400116c2
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 0x1400116c2
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x14006a010]
lock dec dword [rbx]
jne 0x1400116f2
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 0x1400116f2
mov rax, qword [r14]
mov rax, qword [rax + 8]
mov rcx, r14
call qword [0x14006a010]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xffff
jbe 0x140012359
xor ebx, ebx
cmp qword [rsp + 0xe8], 0
je 0x140011951
cmp dword [rsp + 0xf4], 0
je 0x140011951
cmp dword [rsp + 0xf8], 0
je 0x140011951
mov rax, qword [rsp + 0x100]
xor ebx, ebx
cmp qword [rax + 0x40], 0
je 0x140011951
cmp qword [rsp + 0x110], 0
je 0x140011951
mov rax, qword [rsp + 0x118]
xor ebx, ebx
cmp qword [rax + 0x40], 0
je 0x140011951
mov rsi, qword [rsp + 0x128]
test rsi, rsi
je 0x140011951
xor ebx, ebx
test rdx, rdx
je 0x140011951
mov rcx, qword [rsp + 0x130]
cmp qword [rcx + 0x40], 0
je 0x140011951
cmp qword [rsp + 0x140], 0
je 0x140011951
cmp byte [rdx], 0
je 0x1400122b0
mov ecx, 1
lea r12, [rcx + 1]
cmp byte [rdx + rcx], 0
mov rcx, r12
jne 0x1400117b6
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x1400117da
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.1400128d0
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x140011861
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 0x140011887
inc rdx
cmp dil, bl
je 0x140011873
lock dec dword [rcx]
jne 0x1400118b3
mov rax, qword [r13]
mov rax, qword [rax]
mov rcx, r13
call qword [0x14006a010]
lock dec dword [r15]
jne 0x1400118b3
mov rax, qword [r13]
mov rax, qword [rax + 8]
mov rcx, r13
call qword [0x14006a010]
cmp dil, bl
je 0x1400118d5
cmp dil, bl
cmovl rsi, rbp
lea rax, [rbp + 1]
cmovge r14, rax
cmp rsi, r14
jne 0x1400117dd
jmp 0x14001239d
cmp qword [rsp + 0x140], rbp
jbe 0x1400123a9
mov rax, qword [rsp + 0x130]
xor ebx, ebx
cmp qword [rax + 0x10], 0
mov rdi, qword [rsp + 0x48]
je 0x140011951
mov rax, qword [rax + 8]
test rax, rax
je 0x140011951
movzx eax, word [rax + rbp*2]
cmp qword [rsp + 0x110], rax
jbe 0x1400123a2
mov rcx, qword [rsp + 0x100]
xor ebx, ebx
cmp qword [rcx + 0x10], 0
je 0x140011951
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140011951
mov eax, dword [rcx + rax*4]
cmp eax, dword [rsp + 0xf4]
jb 0x140011947
cmp eax, dword [rsp + 0xf8]
jb 0x1400123a2
mov ebx, eax
add rbx, qword [rsp + 0xe8]
mov r15, qword [rsp + 0x138]
test r15, r15
je 0x14001198b
lock dec dword [r15 + 8]
jne 0x14001198b
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x14001198b
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
mov r15, qword [rsp + 0x120]
test r15, r15
je 0x1400119c5
lock dec dword [r15 + 8]
jne 0x1400119c5
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x1400119c5
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
mov r15, qword [rsp + 0x108]
test r15, r15
je 0x1400119ff
lock dec dword [r15 + 8]
jne 0x1400119ff
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x1400119ff
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
test rbx, rbx
movabs rbp, 0x100000001
je 0x140012325
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 0x140012317
cmp qword [rsp + 0x80], 0
je 0x140012325
cmp dword [rsp + 0xf0], 0
je 0x140012325
cmp dword [rsp + 0x100], 0x1000
jne 0x140012325
mov qword [rsp + 0x58], rbx
cmp dword [rsp + 0x104], 1
je 0x140012325
cmp byte [rdi + 0x34], 0
mov r14, rdi
jne 0x140011ccf
mov r13, qword [r14 + 0x38]
lea rcx, [0x14005aa16]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r12, rax
mov eax, dword [0x140064ce0]
cmp eax, 0x601ffff
jbe 0x14001255c
mov eax, dword [0x140064ce0]
cmp eax, 0x9ffffff
ja 0x14001260d
mov eax, dword [0x14006404c]
mov sil, 1
cmp eax, 0xa000001
jb 0x140011b7b
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 0x140012614
mov eax, dword [0x140064ce0]
cmp eax, 0x602ffff
ja 0x14001221f
mov eax, dword [0x14006404c]
cmp eax, 0x6030001
jb 0x14001284e
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, [0x14005b482]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [r14 + 0x34], 0
jne 0x140011ccf
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 0x140011cd3
mov eax, dword [r14 + 0x30]
mov rdi, r14
test al, 4
jne 0x1400123b5
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 0x140011e07
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.140016350
mov rax, qword [r15 + 0x18]
cmp byte [rax], 0xeb
je 0x1400123fc
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x80]
call fcn.140012ca0
test al, al
jne 0x14001251e
mov rcx, rbp
xor edx, edx
call fcn.140016350
mov rax, qword [r15 + 0x18]
mov sil, 1
cmp byte [rax], 0xe9
mov rbx, r13
je 0x14001248a
mov r15, qword [rsp + 0xe8]
test r15, r15
je 0x140011de7
lock dec dword [r15 + 8]
jne 0x140011de7
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [0x14006a010]
lock dec dword [r15 + 0xc]
jne 0x140011de7
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 0x140011cf2
jmp 0x140011e68
cmp r15, r14
jne 0x14001252e
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 0x140012544
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 0x140012226
mov ebp, dword [0x140064d78]
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x80]
mov rcx, rdi
mov r8d, ebp
mov r9, r14
call fcn.14001a8d0
test ebp, ebp
je 0x140012555
cmp qword [rdi], 0
je 0x140012555
cmp qword [rdi + 0x18], 0
jne 0x1400120c6
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 0x14001226b
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 0x14001254f
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 0x14001254f
lea rsi, [rdi + 0x20]
mov r14, qword [rdi]
mov r12, qword [rdi + 8]
cmp byte [rsp + 0x90], 0
je 0x140012762
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x1400126c5
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 0x14001204a
lea rcx, [0x140064da0]
call fcn.14002f024
cmp dword [0x140064da0], 0xffffffff
jne 0x14001204a
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140064d90], rax
mov qword [0x140064d98], 0
test rax, rax
je 0x14001203e
lea rdx, str.MapViewOfFile3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064d98], rax
test rax, rax
jne 0x14001203e
mov rcx, qword [0x140064d90]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140064d90], 0
lea rcx, [0x140064da0]
call fcn.14002efc4
mov rax, qword [0x140064d98]
test rax, rax
jne 0x1400126d0
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.14001b080
test rax, rax
je 0x14001279c
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 0x140012759
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
jmp 0x1400120ca
lea rsi, [rdi + 0x20]
cmp dword [rsi], 0
je 0x140012555
mov qword [rsp + 0xd0], rdi
mov byte [rsp + 0xd8], 1
lea r14, [rsp + 0xe0]
mov rcx, rdi
mov rdx, r14
call fcn.140012e70
cmp byte [r14 + 0x38], 0
je 0x140012555
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.140013190
cmp qword [rsi], 0
setne sil
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1400121c1
mov r8d, dword [rsp + 0x88]
test r8d, r8d
je 0x1400121c1
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 0x1400121f9
lock dec dword [rdi + 8]
jne 0x1400121f9
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
call qword [0x14006a010]
lock dec dword [rdi + 0xc]
jne 0x1400121f9
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.140030190
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 0x140011c4b
lea rcx, [0x140064d7c]
call fcn.14002f024
cmp dword [0x140064d7c], 0xffffffff
jne 0x140011ea3
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.14002efc4
jmp 0x140011ea3
lea rcx, [0x140064d7c]
call fcn.14002f024
cmp dword [0x140064d7c], 0xffffffff
jne 0x140011f06
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.14002efc4
jmp 0x140011f06
mov r12d, 1
jmp 0x1400117c3
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
call fcn.1400360d0
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
jmp 0x14001168b
lea rcx, [rsp + 0xe0]
mov rdi, qword [rsp + 0x48]
mov rdx, rdi
call fcn.1400360d0
mov rbx, qword [rsp + 0x50]
jmp 0x1400116c2
lea rcx, [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
call fcn.1400360d0
mov rbx, qword [rsp + 0x50]
jmp 0x14001164f
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
jmp 0x1400121f9
mov eax, eax
mov qword [rsp + 0x110], rax
jmp 0x140011551
mov eax, eax
mov qword [rsp + 0x128], rax
jmp 0x1400115d0
mov eax, eax
mov qword [rsp + 0x140], rax
jmp 0x14001164f
movzx eax, dx
sub eax, dword [rsp + 0xf0]
jb 0x1400123a9
cmp qword [rsp + 0x110], rax
jbe 0x1400123a9
mov rcx, qword [rsp + 0x100]
cmp qword [rcx + 0x10], 0
je 0x14001239d
mov rcx, qword [rcx + 8]
test rcx, rcx
mov rdi, qword [rsp + 0x48]
mov ebx, 0
je 0x140011951
mov eax, dword [rcx + rax*4]
jmp 0x140011947
mov rdi, qword [rsp + 0x48]
xor ebx, ebx
jmp 0x140011951
xor ebx, ebx
mov rdi, qword [rsp + 0x48]
jmp 0x140011951
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 0x140011e4d
mov rcx, rbp
mov edx, 1
call fcn.140016350
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x140012416
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 0x1400127ae
mov sil, 1
je 0x14001283c
xor edi, edi
lea edx, [rdi + 2]
mov rcx, rbp
mov r14, rdx
call fcn.140016350
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x14001246d
mov rax, qword [r15 + 0x18]
cmp byte [rax + r14], 0x90
jne 0x14001283c
inc dil
movsx edi, dil
cmp dword [rsp + 0x50], edi
jg 0x140012452
jmp 0x14001283f
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.140036420
mov rcx, rsi
mov edx, 4
call fcn.140016350
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 0x14001251e
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 0x14001251e
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
mov sil, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140011dad
mov rcx, rdi
mov rdx, r15
call fcn.140036040
test al, al
cmovne r14, r15
jmp 0x140011e10
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x1400121c1
mov eax, dword [0x14006404c]
cmp eax, 0x6020001
jb 0x140012861
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 0x140012856
mov eax, 0x6020000
xchg dword [0x140064ce0], eax
movabs rbp, 0x100000001
jmp 0x140011ab9
xor esi, esi
jmp 0x140011b7b
mov eax, dword [0x14006404c]
cmp eax, 0x6020001
jb 0x14001287d
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 0x140012872
mov eax, 0x6020000
xchg dword [0x140064ce0], eax
movabs rbp, 0x100000001
jmp 0x140011b8c
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 0x1400120ca
jmp 0x140012555
dec rdi
jne 0x140012069
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 0x1400120bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x18], 0
jmp 0x140012555
mov edx, dword [rsp + 0x50]
add dl, 2
mov rcx, rbp
call fcn.1400362e0
mov sil, 1
test al, al
je 0x14001283c
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.140012ca0
test al, al
je 0x14001288e
xor esi, esi
mov rbx, r13
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x58]
jmp 0x140011dad
mov dil, 1
jmp 0x140011c4b
mov eax, 0x6020000
xchg dword [0x14006404c], eax
xor esi, esi
movabs rbp, 0x100000001
jmp 0x140011b7b
mov eax, 0x6020000
xchg dword [0x14006404c], eax
xor edi, edi
movabs rbp, 0x100000001
jmp 0x140011c4b
lea rax, [r15 + 8]
lock dec dword [rax]
jne 0x14001283c
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 0x14001283c
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [0x14006a010]
jmp 0x14001283c