Function at 0x14001f2c0
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 [0x140061030]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x14002019a
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 0x14002018c
cmp qword [rsp + 0xe0], 0
je 0x14002019a
cmp dword [rsp + 0x88], 0
je 0x14002019a
cmp dword [rsp + 0x98], 0x1000
jne 0x14002019a
cmp dword [rsp + 0x9c], 1
je 0x14002019a
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, [0x140052420]
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.14001a280
cmp qword [r14 + 0x50], 0
mov qword [rsp + 0x70], rbx
je 0x14002015e
cmp qword [r14 + 0x20], 0
je 0x14002015e
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x14002015e
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14002015e
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, [0x140052420]
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.14001a280
cmp qword [r12 + 0x50], 0
je 0x140020142
cmp qword [r12 + 0x20], 0
je 0x140020142
mov rdi, qword [r12 + 0x18]
test rdi, rdi
je 0x140020142
cmp dword [rdi], 0x4550
jne 0x140020142
movzx eax, word [rdi + 0x18]
cmp eax, 0x20b
jne 0x140020142
cmp dword [rdi + 0x50], 0x147
jbe 0x140020142
cmp dword [rdi + 0x84], 0
je 0x140020142
mov esi, dword [rdi + 0x88]
test rsi, rsi
je 0x140020142
cmp dword [rdi + 0x8c], 0
je 0x140020142
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, [0x140052420]
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.14001a280
cmp qword [rbx + 0x50], 0
je 0x140020175
cmp qword [rbx + 0x20], 0
je 0x140020175
mov r13, qword [rbx + 0x18]
test r13, r13
je 0x140020175
mov esi, dword [r13 + 0x14]
test rsi, rsi
je 0x140020175
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, [0x140052420]
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.14001a580
shr eax, 2
cmp esi, eax
ja 0x1400201fb
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, [0x140052420]
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.14001a580
shr eax, 2
cmp esi, eax
ja 0x14002020a
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, [0x140052420]
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.14001a580
shr eax, 1
cmp esi, eax
mov rdi, qword [rsp + 0x50]
ja 0x140020219
mov rax, qword [rsp + 0x60]
lock dec dword [rax]
mov r13, qword [rsp + 0x48]
jne 0x14001f75c
mov rsi, rbx
add rsi, 0xc
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140067010]
lock dec dword [rsi]
jne 0x14001f75c
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140067010]
lock dec dword [r13]
jne 0x14001f790
mov rsi, r12
add rsi, 0xc
mov rax, qword [r12]
mov rax, qword [rax]
mov rcx, r12
call qword [0x140067010]
lock dec dword [rsi]
jne 0x14001f790
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140067010]
lock dec dword [rdi]
jne 0x14001f7c0
mov rsi, r14
add rsi, 0xc
mov rax, qword [r14]
mov rax, qword [rax]
mov rcx, r14
call qword [0x140067010]
lock dec dword [rsi]
jne 0x14001f7c0
mov rax, qword [r14]
mov rax, qword [rax + 8]
mov rcx, r14
call qword [0x140067010]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xffff
mov qword [rsp + 0x48], r15
jbe 0x1400201a1
xor r12d, r12d
cmp qword [rsp + 0x80], 0
je 0x14001fa33
cmp dword [rsp + 0x8c], 0
je 0x14001fa33
cmp dword [rsp + 0x90], 0
je 0x14001fa33
mov rax, qword [rsp + 0x98]
xor r12d, r12d
cmp qword [rax + 0x40], 0
je 0x14001fa33
cmp qword [rsp + 0xa8], 0
je 0x14001fa33
mov rax, qword [rsp + 0xb0]
xor r12d, r12d
cmp qword [rax + 0x40], 0
je 0x14001fa33
mov r13, qword [rsp + 0xc0]
test r13, r13
je 0x14001fa33
xor r12d, r12d
test rdx, rdx
je 0x14001fa33
mov rcx, qword [rsp + 0xc8]
cmp qword [rcx + 0x40], 0
je 0x14001fa33
cmp qword [rsp + 0xd8], 0
je 0x14001fa33
cmp byte [rdx], 0
je 0x14002013b
xor ecx, ecx
lea rbx, [rcx + 1]
cmp byte [rdx + rcx + 1], 0
mov rcx, rbx
jne 0x14001f88a
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x14001f8af
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, [0x140052420]
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.14001a580
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x14001f93e
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 0x14001f966
inc rdx
cmp dil, bpl
je 0x14001f951
lock dec dword [rcx]
jne 0x14001f992
mov rax, qword [r12]
mov rax, qword [rax]
mov rcx, r12
call qword [0x140067010]
lock dec dword [r15]
jne 0x14001f992
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140067010]
cmp dil, bpl
je 0x14001f9b4
cmp dil, bpl
cmovl r13, rsi
lea rax, [rsi + 1]
cmovge r14, rax
cmp r13, r14
jne 0x14001f8b4
jmp 0x1400201ee
cmp qword [rsp + 0xd8], rsi
mov r15, qword [rsp + 0x48]
jbe 0x1400201f3
mov rax, qword [rsp + 0xc8]
xor r12d, r12d
cmp qword [rax + 0x10], 0
je 0x14001fa33
mov rax, qword [rax + 8]
test rax, rax
je 0x14001fa33
movzx eax, word [rax + rsi*2]
cmp qword [rsp + 0xa8], rax
jbe 0x1400201f3
mov rcx, qword [rsp + 0x98]
xor r12d, r12d
cmp qword [rcx + 0x10], 0
je 0x14001fa33
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14001fa33
mov eax, dword [rcx + rax*4]
cmp eax, dword [rsp + 0x8c]
jb 0x14001fa28
cmp eax, dword [rsp + 0x90]
jb 0x1400201f3
mov r12d, eax
add r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
je 0x14001fa6b
lock dec dword [rbx + 8]
jne 0x14001fa6b
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140067010]
lock dec dword [rbx + 0xc]
jne 0x14001fa6b
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140067010]
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
je 0x14001faa3
lock dec dword [rbx + 8]
jne 0x14001faa3
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140067010]
lock dec dword [rbx + 0xc]
jne 0x14001faa3
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140067010]
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
movabs rdi, 0x100000001
lea r14, [0x140052420]
je 0x14001faec
lock dec dword [rbx + 8]
jne 0x14001faec
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140067010]
lock dec dword [rbx + 0xc]
jne 0x14001faec
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140067010]
test r12, r12
je 0x14002019a
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 0x14002018c
cmp qword [rsp + 0xe0], 0
je 0x14002019a
cmp dword [rsp + 0x88], 0
je 0x14002019a
cmp dword [rsp + 0x98], 0x1000
jne 0x14002019a
cmp dword [rsp + 0x9c], 1
je 0x14002019a
cmp byte [r15 + 0x34], 0
jne 0x14001fb92
mov rsi, qword [r15 + 0x38]
lea rcx, [0x140058a10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [r15 + 0x34], 0
jne 0x14001fb92
xor ecx, ecx
cmp rsi, rax
sete cl
bts rcx, 0x20
mov qword [r15 + 0x30], rcx
test byte [r15 + 0x30], 4
jne 0x140020228
xor r13d, r13d
mov rax, qword [sym.imp.mozglue.dll_moz_xmalloc]
xor ebx, ebx
mov rsi, r12
cmp rbx, rsi
je 0x14001fcb5
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.14001a280
mov rax, qword [rbp + 0x18]
cmp byte [rax], 0xeb
je 0x140020247
mov r13, r12
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0xe0]
call fcn.14001a880
test al, al
jne 0x14002036c
mov rcx, rbx
xor edx, edx
call fcn.14001a280
mov rax, qword [rbp + 0x18]
mov r12b, 1
cmp byte [rax], 0xe9
mov rsi, r15
je 0x1400202e8
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x14001fc97
lock dec dword [rbx + 8]
jne 0x14001fc97
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140067010]
lock dec dword [rbx + 0xc]
jne 0x14001fc97
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140067010]
mov rbx, r15
test r12b, r12b
mov r12, r13
mov r13d, 0
mov rax, qword [sym.imp.mozglue.dll_moz_xmalloc]
jne 0x14001fbac
jmp 0x14001fd14
cmp rbx, r12
jne 0x14002037c
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 0x140020397
mov r14d, dword [rdi + 0x30]
and r14d, 1
shl r14d, 0x1e
mov eax, dword [0x140063b04]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400200b8
mov ebx, dword [0x140063b00]
lea rcx, [rsp + 0xe0]
mov edx, ebx
mov r8, r14
mov r9d, r14d
call fcn.140009b70
test ebx, ebx
je 0x1400203a8
cmp qword [rdi], 0
je 0x1400203a8
cmp qword [rdi + 0x18], 0
jne 0x14001ff6b
mov eax, dword [0x140063b04]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400200f9
mov ecx, dword [0x140063b00]
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 0x1400203a2
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 0x1400203a2
lea rsi, [rdi + 0x20]
mov r14, qword [rdi]
mov r12, qword [rdi + 8]
cmp byte [rsp + 0xf0], 0
je 0x140020632
mov rbp, qword [rsp + 0xe0]
test rbp, rbp
je 0x1400203bc
mov r13d, dword [rdi + 0x20]
mov rbx, qword [rsp + 0xe8]
mov eax, dword [0x140061d48]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14001fee1
lea rcx, [0x140061d48]
call fcn.14002af90
cmp dword [0x140061d48], 0xffffffff
jne 0x14001fee1
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140061d38], rax
mov qword [0x140061d40], 0
test rax, rax
je 0x14001fed5
lea rdx, str.MapViewOfFile3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140061d40], rax
test rax, rax
je 0x140020674
lea rcx, [0x140061d48]
call fcn.14002aff8
mov rax, qword [0x140061d40]
test rax, rax
je 0x1400203c7
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 [0x140067010]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14001ff6f
jmp 0x1400203a8
lea rsi, [rdi + 0x20]
cmp dword [rsi], 0
je 0x1400203a8
mov qword [rsp + 0x130], rdi
mov byte [rsp + 0x138], 1
lea rbx, [rsp + 0x78]
mov rcx, rdi
mov rdx, rbx
call fcn.14001aa50
cmp byte [rbx + 0x38], 0
je 0x1400203a8
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.14001ad60
cmp qword [rsi], 0
setne sil
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14002005a
mov r8d, dword [rsp + 0xe8]
test r8d, r8d
je 0x14002005a
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 0x140020092
lock dec dword [rdi + 8]
jne 0x140020092
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
call qword [0x140067010]
lock dec dword [rdi + 0xc]
jne 0x140020092
mov rax, qword [rdi]
mov rax, qword [rax + 8]
mov rcx, rdi
call qword [0x140067010]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14002ba20
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, [0x140063b04]
call fcn.14002af90
cmp dword [0x140063b04], 0xffffffff
jne 0x14001fd54
lea rbx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 0x28]
mov dword [0x140063b00], eax
lea rcx, [0x140063b04]
call fcn.14002aff8
jmp 0x14001fd54
lea rcx, [0x140063b04]
call fcn.14002af90
cmp dword [0x140063b04], 0xffffffff
jne 0x14001fdb1
lea r14, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 0x28]
mov dword [0x140063b00], eax
lea rcx, [0x140063b04]
call fcn.14002aff8
jmp 0x14001fdb1
xor ebx, ebx
jmp 0x14001f898
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140033770
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
jmp 0x14001f75c
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140033770
mov rdi, qword [rsp + 0x50]
jmp 0x14001f790
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140033770
mov rdi, qword [rsp + 0x50]
jmp 0x14001f722
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
jmp 0x140020092
movzx eax, dx
sub eax, dword [rsp + 0x88]
jb 0x1400203af
cmp qword [rsp + 0xa8], rax
jbe 0x1400203af
mov rcx, qword [rsp + 0x98]
cmp qword [rcx + 0x10], 0
je 0x1400201ee
mov rcx, qword [rcx + 8]
test rcx, rcx
mov r15, qword [rsp + 0x48]
mov r12d, 0
je 0x14001fa33
mov eax, dword [rcx + rax*4]
jmp 0x14001fa28
mov r15, qword [rsp + 0x48]
xor r12d, r12d
jmp 0x14001fa33
mov eax, eax
mov qword [rsp + 0xa8], rax
jmp 0x14001f620
mov eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x14001f6a1
mov eax, eax
mov qword [rsp + 0xd8], rax
jmp 0x14001f722
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 0x14001fcdd
mov r13, r12
mov rcx, rbx
mov edx, 1
call fcn.14001a280
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x140020264
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 0x140020691
je 0x140020722
mov eax, 2
mov qword [rsp + 0x58], rax
mov dil, 1
mov rcx, rbx
mov rdx, qword [rsp + 0x58]
call fcn.14001a280
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x1400202c0
mov rax, qword [rbp + 0x18]
mov r12b, 1
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0x90
jne 0x140020725
movsx eax, dil
inc qword [rsp + 0x58]
lea edi, [rax + 1]
cmp r14d, eax
jg 0x1400202a6
jmp 0x140020728
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.14001d580
mov rcx, rsi
mov edx, 4
call fcn.14001a280
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 0x14002036c
mov rsi, rbp
add rsi, 0xc
mov rax, qword [rbp]
mov rax, qword [rax]
mov rcx, rbp
call qword [0x140067010]
lock dec dword [rsi]
jne 0x14002036c
mov rax, qword [rbp]
mov rax, qword [rax + 8]
mov rcx, rbp
call qword [0x140067010]
mov r12b, 1
mov rsi, qword [rsp + 0xe0]
jmp 0x14001fc5f
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.140030e40
test al, al
cmovne r12, rbx
jmp 0x14001fcc3
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x14002005a
xor r12d, r12d
mov r15, qword [rsp + 0x48]
jmp 0x14001fa33
int3
add rbp, rbx
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140033560
test rax, rax
je 0x140020744
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 0x140020666
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 0x14002073e
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
jmp 0x14001ff6f
mov rcx, qword [0x140061d38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140061d38], 0
jmp 0x14001fed5
add r14b, 2
mov rcx, rbx
mov edx, r14d
call fcn.1400310a0
mov r12b, 1
test al, al
je 0x140020725
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
movabs rax, 0x100000001
mov qword [rbx + 8], rax
lea rax, [0x140052420]
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.14001a880
test al, al
je 0x140020756
xor r12d, r12d
jmp 0x140020725
mov r12b, 1
mov rsi, r15
movabs rdi, 0x100000001
lea r14, [0x140052420]
jmp 0x14001fc5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x18], 0
jmp 0x1400203a8
lea rax, [rbx + 8]
lock dec dword [rax]
jne 0x140020725
mov rsi, rbx
add rsi, 0xc
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140067010]
lock dec dword [rsi]
jne 0x140020725
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140067010]
jmp 0x140020725