Function at 0x140009d00
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, 0x148
mov qword [rsp + 0x58], rdx
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x14000abda
mov rbx, r9
mov rsi, r8
mov r15, rcx
and rdx, 0xfffffffffffffffc
mov rcx, qword [rcx]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x78]
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x14000abcc
cmp qword [rsp + 0xe0], 0
je 0x14000abda
cmp dword [rsp + 0x88], 0
je 0x14000abda
cmp dword [rsp + 0x98], 0x1000
jne 0x14000abda
cmp dword [rsp + 0x9c], 1
je 0x14000abda
mov qword [rsp + 0x68], rsi
mov rbp, qword [r15 + 0x38]
and rbp, 0xfffffffffffffffc
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r14, rax
add rax, 8
mov qword [rsp + 0x50], rax
movabs r13, 0x100000001
mov qword [r14 + 8], r13
lea rax, [0x140053420]
mov qword [r14], rax
lea rcx, [r14 + 0x10]
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x20], 0
mov qword [r14 + 0x28], 0x20
lea rax, [r14 + 0x30]
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x50], rbp
mov edx, 0x40
call fcn.14000b1d0
cmp qword [r14 + 0x50], 0
mov qword [rsp + 0x70], rbx
je 0x14000ab9e
cmp qword [r14 + 0x20], 0
je 0x14000ab9e
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x14000ab9e
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14000ab9e
movsxd rsi, dword [rax + 0x3c]
add rsi, rbp
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r12, rax
add rax, 8
mov qword [rsp + 0x48], rax
mov qword [r12 + 8], r13
lea rax, [0x140053420]
mov qword [r12], rax
lea rcx, [r12 + 0x10]
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x20], 0
mov qword [r12 + 0x28], 0x20
lea rax, [r12 + 0x30]
mov qword [r12 + 0x18], rax
mov qword [r12 + 0x50], rsi
mov edx, 0x108
call fcn.14000b1d0
cmp qword [r12 + 0x50], 0
je 0x14000ab82
cmp qword [r12 + 0x20], 0
je 0x14000ab82
mov rdi, qword [r12 + 0x18]
test rdi, rdi
je 0x14000ab82
cmp dword [rdi], 0x4550
jne 0x14000ab82
movzx eax, word [rdi + 0x18]
cmp eax, 0x20b
jne 0x14000ab82
cmp dword [rdi + 0x50], 0x147
jbe 0x14000ab82
cmp dword [rdi + 0x84], 0
je 0x14000ab82
mov esi, dword [rdi + 0x88]
test rsi, rsi
je 0x14000ab82
cmp dword [rdi + 0x8c], 0
je 0x14000ab82
add rsi, rbp
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
add rax, 8
mov qword [rsp + 0x60], rax
mov qword [rbx + 8], r13
lea rax, [0x140053420]
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0x20
lea rax, [rbx + 0x30]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x50], rsi
mov edx, 0x28
call fcn.14000b1d0
cmp qword [rbx + 0x50], 0
je 0x14000abb5
cmp qword [rbx + 0x20], 0
je 0x14000abb5
mov r13, qword [rbx + 0x18]
test r13, r13
je 0x14000abb5
mov esi, dword [r13 + 0x14]
test rsi, rsi
je 0x14000abb5
mov eax, dword [rdi + 0x88]
mov ecx, dword [rdi + 0x8c]
add ecx, eax
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], rbp
mov edx, dword [r13 + 0x10]
mov dword [rsp + 0x88], edx
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x90], ecx
mov edi, dword [r13 + 0x1c]
add rdi, rbp
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x140053420]
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 + 0x98], rcx
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rsi
lea edx, [rsi*4]
call fcn.14000b4d0
shr eax, 2
cmp esi, eax
ja 0x14000ac3b
mov esi, dword [r13 + 0x18]
mov edi, dword [r13 + 0x20]
add rdi, rbp
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x140053420]
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 + 0xb0], rcx
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rsi
lea edx, [rsi*4]
call fcn.14000b4d0
shr eax, 2
cmp esi, eax
ja 0x14000ac4a
mov esi, dword [r13 + 0x18]
mov eax, dword [r13 + 0x24]
add rbp, rax
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x140053420]
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], rbp
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rsi
lea edx, [rsi + rsi]
call fcn.14000b4d0
shr eax, 1
cmp esi, eax
mov rdi, qword [rsp + 0x50]
ja 0x14000ac59
mov rax, qword [rsp + 0x60]
lock dec dword [rax]
mov r13, qword [rsp + 0x48]
jne 0x14000a19c
mov rsi, rbx
add rsi, 0xc
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rsi]
jne 0x14000a19c
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [r13]
jne 0x14000a1d0
mov rsi, r12
add rsi, 0xc
mov rax, qword [r12]
mov rax, qword [rax]
mov rcx, r12
call qword [0x140068010]
lock dec dword [rsi]
jne 0x14000a1d0
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140068010]
lock dec dword [rdi]
jne 0x14000a200
mov rsi, r14
add rsi, 0xc
mov rax, qword [r14]
mov rax, qword [rax]
mov rcx, r14
call qword [0x140068010]
lock dec dword [rsi]
jne 0x14000a200
mov rax, qword [r14]
mov rax, qword [rax + 8]
mov rcx, r14
call qword [0x140068010]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xffff
mov qword [rsp + 0x48], r15
jbe 0x14000abe1
xor r12d, r12d
cmp qword [rsp + 0x80], 0
je 0x14000a473
cmp dword [rsp + 0x8c], 0
je 0x14000a473
cmp dword [rsp + 0x90], 0
je 0x14000a473
mov rax, qword [rsp + 0x98]
xor r12d, r12d
cmp qword [rax + 0x40], 0
je 0x14000a473
cmp qword [rsp + 0xa8], 0
je 0x14000a473
mov rax, qword [rsp + 0xb0]
xor r12d, r12d
cmp qword [rax + 0x40], 0
je 0x14000a473
mov r13, qword [rsp + 0xc0]
test r13, r13
je 0x14000a473
xor r12d, r12d
test rdx, rdx
je 0x14000a473
mov rcx, qword [rsp + 0xc8]
cmp qword [rcx + 0x40], 0
je 0x14000a473
cmp qword [rsp + 0xd8], 0
je 0x14000a473
cmp byte [rdx], 0
je 0x14000ab7b
xor ecx, ecx
lea rbx, [rcx + 1]
cmp byte [rdx + rcx + 1], 0
mov rcx, rbx
jne 0x14000a2ca
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x14000a2ef
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
inc ebx
xor r14d, r14d
mov rsi, r13
sub rsi, r14
shr rsi, 1
add rsi, r14
mov rax, qword [rsp + 0x50]
mov edi, dword [rax + rsi*4]
add rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x78]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r12, rax
movabs rax, 0x100000001
mov qword [r12 + 8], rax
lea rax, [0x140053420]
mov qword [r12], rax
lea rcx, [r12 + 0x10]
mov qword [r12 + 0x10], r15
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, ebx
call fcn.14000b4d0
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x14000a37e
mov rax, qword [r12 + 0x18]
lea rcx, [r12 + 8]
mov r15, r12
add r15, 0xc
xor edx, edx
mov r8, qword [rsp + 0x58]
mov dil, byte [r8 + rdx]
mov bpl, byte [rax + rdx]
test dil, dil
je 0x14000a3a6
inc rdx
cmp dil, bpl
je 0x14000a391
lock dec dword [rcx]
jne 0x14000a3d2
mov rax, qword [r12]
mov rax, qword [rax]
mov rcx, r12
call qword [0x140068010]
lock dec dword [r15]
jne 0x14000a3d2
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140068010]
cmp dil, bpl
je 0x14000a3f4
cmp dil, bpl
cmovl r13, rsi
lea rax, [rsi + 1]
cmovge r14, rax
cmp r13, r14
jne 0x14000a2f4
jmp 0x14000ac2e
cmp qword [rsp + 0xd8], rsi
mov r15, qword [rsp + 0x48]
jbe 0x14000ac33
mov rax, qword [rsp + 0xc8]
xor r12d, r12d
cmp qword [rax + 0x10], 0
je 0x14000a473
mov rax, qword [rax + 8]
test rax, rax
je 0x14000a473
movzx eax, word [rax + rsi*2]
cmp qword [rsp + 0xa8], rax
jbe 0x14000ac33
mov rcx, qword [rsp + 0x98]
xor r12d, r12d
cmp qword [rcx + 0x10], 0
je 0x14000a473
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14000a473
mov eax, dword [rcx + rax*4]
cmp eax, dword [rsp + 0x8c]
jb 0x14000a468
cmp eax, dword [rsp + 0x90]
jb 0x14000ac33
mov r12d, eax
add r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
je 0x14000a4ab
lock dec dword [rbx + 8]
jne 0x14000a4ab
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x14000a4ab
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
je 0x14000a4e3
lock dec dword [rbx + 8]
jne 0x14000a4e3
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x14000a4e3
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
movabs rdi, 0x100000001
lea r14, [0x140053420]
je 0x14000a52c
lock dec dword [rbx + 8]
jne 0x14000a52c
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x14000a52c
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
test r12, r12
je 0x14000abda
mov rcx, qword [r15]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x78]
mov rdx, r12
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x14000abcc
cmp qword [rsp + 0xe0], 0
je 0x14000abda
cmp dword [rsp + 0x88], 0
je 0x14000abda
cmp dword [rsp + 0x98], 0x1000
jne 0x14000abda
cmp dword [rsp + 0x9c], 1
je 0x14000abda
cmp byte [r15 + 0x34], 0
jne 0x14000a5d2
mov rsi, qword [r15 + 0x38]
lea rcx, [0x140059960]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [r15 + 0x34], 0
jne 0x14000a5d2
xor ecx, ecx
cmp rsi, rax
sete cl
bts rcx, 0x20
mov qword [r15 + 0x30], rcx
test byte [r15 + 0x30], 4
jne 0x14000ac68
xor r13d, r13d
mov rax, qword [sym.imp.mozglue.dll_moz_xmalloc]
xor ebx, ebx
mov rsi, r12
cmp rbx, rsi
je 0x14000a6f5
mov r15, rsi
mov ecx, 0x58
call rax
mov rbp, rax
mov qword [rax + 8], rdi
mov qword [rax], r14
lea rbx, [rax + 0x10]
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 0x20
lea rax, [rbp + 0x30]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x50], rsi
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov dword [rsp + 0x88], 0
mov qword [rsp + 0xe0], r13
mov rcx, rbx
xor edx, edx
call fcn.14000b1d0
mov rax, qword [rbp + 0x18]
cmp byte [rax], 0xeb
je 0x14000ac87
mov r13, r12
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0xe0]
call fcn.14000b7d0
test al, al
jne 0x14000adac
mov rcx, rbx
xor edx, edx
call fcn.14000b1d0
mov rax, qword [rbp + 0x18]
mov r12b, 1
cmp byte [rax], 0xe9
mov rsi, r15
je 0x14000ad28
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x14000a6d7
lock dec dword [rbx + 8]
jne 0x14000a6d7
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x14000a6d7
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
mov rbx, r15
test r12b, r12b
mov r12, r13
mov r13d, 0
mov rax, qword [sym.imp.mozglue.dll_moz_xmalloc]
jne 0x14000a5ec
jmp 0x14000a754
cmp rbx, r12
jne 0x14000adbc
mov rsi, qword [rsp + 0x48]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], rdi
mov qword [rax], r14
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], r12
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x128], 0
mov rdi, qword [rsp + 0x48]
cmp byte [rdi + 0x34], 0
je 0x14000add7
mov r14d, dword [rdi + 0x30]
and r14d, 1
shl r14d, 0x1e
mov eax, dword [0x140064af4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000aaf8
mov ebx, dword [0x140064af0]
lea rcx, [rsp + 0xe0]
mov edx, ebx
mov r8, r14
mov r9d, r14d
call fcn.14000fed0
test ebx, ebx
je 0x14000ade8
cmp qword [rdi], 0
je 0x14000ade8
cmp qword [rdi + 0x18], 0
jne 0x14000a9ab
mov eax, dword [0x140064af4]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ab39
mov ecx, dword [0x140064af0]
mov eax, ebx
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, ebx
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 0x14000ade2
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 0x14000ade2
lea rsi, [rdi + 0x20]
mov r14, qword [rdi]
mov r12, qword [rdi + 8]
cmp byte [rsp + 0xf0], 0
je 0x14000b072
mov rbp, qword [rsp + 0xe0]
test rbp, rbp
je 0x14000adfc
mov r13d, dword [rdi + 0x20]
mov rbx, qword [rsp + 0xe8]
mov eax, dword [0x140062d48]
mov ecx, dword [0x1400624d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14000a921
lea rcx, [0x140062d48]
call fcn.14002b1c8
cmp dword [0x140062d48], 0xffffffff
jne 0x14000a921
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140062d38], rax
mov qword [0x140062d40], 0
test rax, rax
je 0x14000a915
lea rdx, str.MapViewOfFile3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140062d40], rax
test rax, rax
je 0x14000b0b4
lea rcx, [0x140062d48]
call fcn.14002b240
mov rax, qword [0x140062d40]
test rax, rax
je 0x14000ae07
lea rcx, [rbx + rbp]
dec rcx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x130]
mov qword [rcx], 1
lea rdx, [rsp + 0x78]
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 [0x140068010]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14000a9af
jmp 0x14000ade8
lea rsi, [rdi + 0x20]
cmp dword [rsi], 0
je 0x14000ade8
mov qword [rsp + 0x130], rdi
mov byte [rsp + 0x138], 1
lea rbx, [rsp + 0x78]
mov rcx, rdi
mov rdx, rbx
call fcn.14000b9a0
cmp byte [rbx + 0x38], 0
je 0x14000ade8
mov rax, qword [rsp + 0x78]
lea rbx, [rsp + 0xe0]
mov qword [rbx], rax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 8], eax
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rbx + 0x20], xmm0
mov eax, dword [rsp + 0xa8]
mov dword [rbx + 0x30], eax
mov al, byte [rsp + 0xac]
mov byte [rbx + 0x34], al
mov dword [rsp + 0x80], 0
mov byte [rsp + 0xac], 0
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x118]
lea r8, [rsp + 0x130]
mov rcx, rdi
mov r9, rbx
call fcn.14000cf70
cmp qword [rsi], 0
setne sil
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000aa9a
mov r8d, dword [rsp + 0xe8]
test r8d, r8d
je 0x14000aa9a
lea r9, [rsp + 0xe8]
mov edx, dword [r9 + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x120]
test rdi, rdi
je 0x14000aad2
lock dec dword [rdi + 8]
jne 0x14000aad2
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
call qword [0x140068010]
lock dec dword [rdi + 0xc]
jne 0x14000aad2
mov rax, qword [rdi]
mov rax, qword [rax + 8]
mov rcx, rdi
call qword [0x140068010]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14002ba50
mov eax, esi
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064af4]
call fcn.14002b1c8
cmp dword [0x140064af4], 0xffffffff
jne 0x14000a794
lea rbx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 0x28]
mov dword [0x140064af0], eax
lea rcx, [0x140064af4]
call fcn.14002b240
jmp 0x14000a794
lea rcx, [0x140064af4]
call fcn.14002b1c8
cmp dword [0x140064af4], 0xffffffff
jne 0x14000a7f1
lea r14, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 0x28]
mov dword [0x140064af0], eax
lea rcx, [0x140064af4]
call fcn.14002b240
jmp 0x14000a7f1
xor ebx, ebx
jmp 0x14000a2d8
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140034a40
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
jmp 0x14000a19c
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140034a40
mov rdi, qword [rsp + 0x50]
jmp 0x14000a1d0
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140034a40
mov rdi, qword [rsp + 0x50]
jmp 0x14000a162
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
jmp 0x14000aad2
movzx eax, dx
sub eax, dword [rsp + 0x88]
jb 0x14000adef
cmp qword [rsp + 0xa8], rax
jbe 0x14000adef
mov rcx, qword [rsp + 0x98]
cmp qword [rcx + 0x10], 0
je 0x14000ac2e
mov rcx, qword [rcx + 8]
test rcx, rcx
mov r15, qword [rsp + 0x48]
mov r12d, 0
je 0x14000a473
mov eax, dword [rcx + rax*4]
jmp 0x14000a468
mov r15, qword [rsp + 0x48]
xor r12d, r12d
jmp 0x14000a473
mov eax, eax
mov qword [rsp + 0xa8], rax
jmp 0x14000a060
mov eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x14000a0e1
mov eax, eax
mov qword [rsp + 0xd8], rax
jmp 0x14000a162
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], rdi
mov qword [rax], r14
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r15
jmp 0x14000a71d
mov r13, r12
mov rcx, rbx
mov edx, 1
call fcn.14000b1d0
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x14000aca4
mov rax, qword [rbp + 0x18]
movsx rax, byte [rax + 1]
add rax, 2
mov rsi, qword [rbp + 0x50]
add rsi, rax
mov qword [rsp + 0xe0], rsi
shl eax, 0x18
add eax, 0xfe000000
mov r14d, eax
sar r14d, 0x18
test eax, eax
js 0x14000b0d1
je 0x14000b162
mov eax, 2
mov qword [rsp + 0x58], rax
mov dil, 1
mov rcx, rbx
mov rdx, qword [rsp + 0x58]
call fcn.14000b1d0
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x14000ad00
mov rax, qword [rbp + 0x18]
mov r12b, 1
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0x90
jne 0x14000b165
movsx eax, dil
inc qword [rsp + 0x58]
lea edi, [rax + 1]
cmp r14d, eax
jg 0x14000ace6
jmp 0x14000b168
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbp, rax
mov qword [rax + 8], rdi
mov qword [rax], r14
lea rsi, [rax + 0x10]
mov rcx, rsi
mov rdx, rbx
mov r8d, 1
call fcn.14000bd40
mov rcx, rsi
mov edx, 4
call fcn.14000b1d0
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x50]
movsxd rax, dword [rax]
add rax, rcx
add rax, 4
mov qword [rsp + 0xe0], rax
lock dec dword [rbp + 8]
jne 0x14000adac
mov rsi, rbp
add rsi, 0xc
mov rax, qword [rbp]
mov rax, qword [rax]
mov rcx, rbp
call qword [0x140068010]
lock dec dword [rsi]
jne 0x14000adac
mov rax, qword [rbp]
mov rax, qword [rax + 8]
mov rcx, rbp
call qword [0x140068010]
mov r12b, 1
mov rsi, qword [rsp + 0xe0]
jmp 0x14000a69f
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.14002d3a0
test al, al
cmovne r12, rbx
jmp 0x14000a703
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x14000aa9a
xor r12d, r12d
mov r15, qword [rsp + 0x48]
jmp 0x14000a473
int3
add rbp, rbx
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034830
test rax, rax
je 0x14000b184
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 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 0x14000b0a6
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
je 0x14000b17e
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
jmp 0x14000a9af
mov rcx, qword [0x140062d38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140062d38], 0
jmp 0x14000a915
add r14b, 2
mov rcx, rbx
mov edx, r14d
call fcn.14002d6c0
mov r12b, 1
test al, al
je 0x14000b165
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
movabs rax, 0x100000001
mov qword [rbx + 8], rax
lea rax, [0x140053420]
mov qword [rbx], rax
lea rax, [rbx + 0x10]
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0x20
lea rcx, [rbx + 0x30]
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x50], rsi
lea rcx, [rsp + 0x118]
mov qword [rcx], rax
mov qword [rcx + 8], rbx
mov dword [rcx + 0x10], 0
lea rdx, [rsp + 0xe0]
call fcn.14000b7d0
test al, al
je 0x14000b196
xor r12d, r12d
jmp 0x14000b165
mov r12b, 1
mov rsi, r15
movabs rdi, 0x100000001
lea r14, [0x140053420]
jmp 0x14000a69f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x18], 0
jmp 0x14000ade8
lea rax, [rbx + 8]
lock dec dword [rax]
jne 0x14000b165
mov rsi, rbx
add rsi, 0xc
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rsi]
jne 0x14000b165
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
jmp 0x14000b165