Function at 0x1400130e0
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 [0x140062030]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x140013fba
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 0x140013fac
cmp qword [rsp + 0xe0], 0
je 0x140013fba
cmp dword [rsp + 0x88], 0
je 0x140013fba
cmp dword [rsp + 0x98], 0x1000
jne 0x140013fba
cmp dword [rsp + 0x9c], 1
je 0x140013fba
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.140017b70
cmp qword [r14 + 0x50], 0
mov qword [rsp + 0x70], rbx
je 0x140013f7e
cmp qword [r14 + 0x20], 0
je 0x140013f7e
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x140013f7e
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140013f7e
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.140017b70
cmp qword [r12 + 0x50], 0
je 0x140013f62
cmp qword [r12 + 0x20], 0
je 0x140013f62
mov rdi, qword [r12 + 0x18]
test rdi, rdi
je 0x140013f62
cmp dword [rdi], 0x4550
jne 0x140013f62
movzx eax, word [rdi + 0x18]
cmp eax, 0x20b
jne 0x140013f62
cmp dword [rdi + 0x50], 0x147
jbe 0x140013f62
cmp dword [rdi + 0x84], 0
je 0x140013f62
mov esi, dword [rdi + 0x88]
test rsi, rsi
je 0x140013f62
cmp dword [rdi + 0x8c], 0
je 0x140013f62
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.140017b70
cmp qword [rbx + 0x50], 0
je 0x140013f95
cmp qword [rbx + 0x20], 0
je 0x140013f95
mov r13, qword [rbx + 0x18]
test r13, r13
je 0x140013f95
mov esi, dword [r13 + 0x14]
test rsi, rsi
je 0x140013f95
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.1400145b0
shr eax, 2
cmp esi, eax
ja 0x14001401b
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.1400145b0
shr eax, 2
cmp esi, eax
ja 0x14001402a
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.1400145b0
shr eax, 1
cmp esi, eax
mov rdi, qword [rsp + 0x50]
ja 0x140014039
mov rax, qword [rsp + 0x60]
lock dec dword [rax]
mov r13, qword [rsp + 0x48]
jne 0x14001357c
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 0x14001357c
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [r13]
jne 0x1400135b0
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 0x1400135b0
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140068010]
lock dec dword [rdi]
jne 0x1400135e0
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 0x1400135e0
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 0x140013fc1
xor r12d, r12d
cmp qword [rsp + 0x80], 0
je 0x140013853
cmp dword [rsp + 0x8c], 0
je 0x140013853
cmp dword [rsp + 0x90], 0
je 0x140013853
mov rax, qword [rsp + 0x98]
xor r12d, r12d
cmp qword [rax + 0x40], 0
je 0x140013853
cmp qword [rsp + 0xa8], 0
je 0x140013853
mov rax, qword [rsp + 0xb0]
xor r12d, r12d
cmp qword [rax + 0x40], 0
je 0x140013853
mov r13, qword [rsp + 0xc0]
test r13, r13
je 0x140013853
xor r12d, r12d
test rdx, rdx
je 0x140013853
mov rcx, qword [rsp + 0xc8]
cmp qword [rcx + 0x40], 0
je 0x140013853
cmp qword [rsp + 0xd8], 0
je 0x140013853
cmp byte [rdx], 0
je 0x140013f5b
xor ecx, ecx
lea rbx, [rcx + 1]
cmp byte [rdx + rcx + 1], 0
mov rcx, rbx
jne 0x1400136aa
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x1400136cf
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.1400145b0
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x14001375e
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 0x140013786
inc rdx
cmp dil, bpl
je 0x140013771
lock dec dword [rcx]
jne 0x1400137b2
mov rax, qword [r12]
mov rax, qword [rax]
mov rcx, r12
call qword [0x140068010]
lock dec dword [r15]
jne 0x1400137b2
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140068010]
cmp dil, bpl
je 0x1400137d4
cmp dil, bpl
cmovl r13, rsi
lea rax, [rsi + 1]
cmovge r14, rax
cmp r13, r14
jne 0x1400136d4
jmp 0x14001400e
cmp qword [rsp + 0xd8], rsi
mov r15, qword [rsp + 0x48]
jbe 0x140014013
mov rax, qword [rsp + 0xc8]
xor r12d, r12d
cmp qword [rax + 0x10], 0
je 0x140013853
mov rax, qword [rax + 8]
test rax, rax
je 0x140013853
movzx eax, word [rax + rsi*2]
cmp qword [rsp + 0xa8], rax
jbe 0x140014013
mov rcx, qword [rsp + 0x98]
xor r12d, r12d
cmp qword [rcx + 0x10], 0
je 0x140013853
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140013853
mov eax, dword [rcx + rax*4]
cmp eax, dword [rsp + 0x8c]
jb 0x140013848
cmp eax, dword [rsp + 0x90]
jb 0x140014013
mov r12d, eax
add r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
je 0x14001388b
lock dec dword [rbx + 8]
jne 0x14001388b
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x14001388b
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
mov rbx, qword [rsp + 0xb8]
test rbx, rbx
je 0x1400138c3
lock dec dword [rbx + 8]
jne 0x1400138c3
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x1400138c3
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 0x14001390c
lock dec dword [rbx + 8]
jne 0x14001390c
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x14001390c
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
test r12, r12
je 0x140013fba
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 0x140013fac
cmp qword [rsp + 0xe0], 0
je 0x140013fba
cmp dword [rsp + 0x88], 0
je 0x140013fba
cmp dword [rsp + 0x98], 0x1000
jne 0x140013fba
cmp dword [rsp + 0x9c], 1
je 0x140013fba
cmp byte [r15 + 0x34], 0
jne 0x1400139b2
mov rsi, qword [r15 + 0x38]
lea rcx, [0x1400598e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [r15 + 0x34], 0
jne 0x1400139b2
xor ecx, ecx
cmp rsi, rax
sete cl
bts rcx, 0x20
mov qword [r15 + 0x30], rcx
test byte [r15 + 0x30], 4
jne 0x140014048
xor r13d, r13d
mov rax, qword [sym.imp.mozglue.dll_moz_xmalloc]
xor ebx, ebx
mov rsi, r12
cmp rbx, rsi
je 0x140013ad5
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.140017b70
mov rax, qword [rbp + 0x18]
cmp byte [rax], 0xeb
je 0x140014067
mov r13, r12
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0xe0]
call fcn.140014960
test al, al
jne 0x14001418c
mov rcx, rbx
xor edx, edx
call fcn.140017b70
mov rax, qword [rbp + 0x18]
mov r12b, 1
cmp byte [rax], 0xe9
mov rsi, r15
je 0x140014108
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x140013ab7
lock dec dword [rbx + 8]
jne 0x140013ab7
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x140013ab7
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 0x1400139cc
jmp 0x140013b34
cmp rbx, r12
jne 0x14001419c
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 0x1400141b7
mov r14d, dword [rdi + 0x30]
and r14d, 1
shl r14d, 0x1e
mov eax, dword [0x140064b04]
mov ecx, dword [0x1400624b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140013ed8
mov ebx, dword [0x140064b00]
lea rcx, [rsp + 0xe0]
mov edx, ebx
mov r8, r14
mov r9d, r14d
call fcn.140004360
test ebx, ebx
je 0x1400141c8
cmp qword [rdi], 0
je 0x1400141c8
cmp qword [rdi + 0x18], 0
jne 0x140013d8b
mov eax, dword [0x140064b04]
mov ecx, dword [0x1400624b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140013f19
mov ecx, dword [0x140064b00]
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 0x1400141c2
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 0x1400141c2
lea rsi, [rdi + 0x20]
mov r14, qword [rdi]
mov r12, qword [rdi + 8]
cmp byte [rsp + 0xf0], 0
je 0x140014452
mov rbp, qword [rsp + 0xe0]
test rbp, rbp
je 0x1400141dc
mov r13d, dword [rdi + 0x20]
mov rbx, qword [rsp + 0xe8]
mov eax, dword [0x140062d48]
mov ecx, dword [0x1400624b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140013d01
lea rcx, [0x140062d48]
call fcn.14002de38
cmp dword [0x140062d48], 0xffffffff
jne 0x140013d01
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140062d38], rax
mov qword [0x140062d40], 0
test rax, rax
je 0x140013cf5
lea rdx, str.MapViewOfFile3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140062d40], rax
test rax, rax
je 0x140014494
lea rcx, [0x140062d48]
call fcn.14002ddd8
mov rax, qword [0x140062d40]
test rax, rax
je 0x1400141e7
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 0x140013d8f
jmp 0x1400141c8
lea rsi, [rdi + 0x20]
cmp dword [rsi], 0
je 0x1400141c8
mov qword [rsp + 0x130], rdi
mov byte [rsp + 0x138], 1
lea rbx, [rsp + 0x78]
mov rcx, rdi
mov rdx, rbx
call fcn.140014b30
cmp byte [rbx + 0x38], 0
je 0x1400141c8
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.140014e40
cmp qword [rsi], 0
setne sil
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140013e7a
mov r8d, dword [rsp + 0xe8]
test r8d, r8d
je 0x140013e7a
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 0x140013eb2
lock dec dword [rdi + 8]
jne 0x140013eb2
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
call qword [0x140068010]
lock dec dword [rdi + 0xc]
jne 0x140013eb2
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.14002ef70
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, [0x140064b04]
call fcn.14002de38
cmp dword [0x140064b04], 0xffffffff
jne 0x140013b74
lea rbx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 0x28]
mov dword [0x140064b00], eax
lea rcx, [0x140064b04]
call fcn.14002ddd8
jmp 0x140013b74
lea rcx, [0x140064b04]
call fcn.14002de38
cmp dword [0x140064b04], 0xffffffff
jne 0x140013bd1
lea r14, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 0x28]
mov dword [0x140064b00], eax
lea rcx, [0x140064b04]
call fcn.14002ddd8
jmp 0x140013bd1
xor ebx, ebx
jmp 0x1400136b8
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140034310
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
jmp 0x14001357c
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140034310
mov rdi, qword [rsp + 0x50]
jmp 0x1400135b0
lea rcx, [rsp + 0x78]
mov rdx, r15
call fcn.140034310
mov rdi, qword [rsp + 0x50]
jmp 0x140013542
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
jmp 0x140013eb2
movzx eax, dx
sub eax, dword [rsp + 0x88]
jb 0x1400141cf
cmp qword [rsp + 0xa8], rax
jbe 0x1400141cf
mov rcx, qword [rsp + 0x98]
cmp qword [rcx + 0x10], 0
je 0x14001400e
mov rcx, qword [rcx + 8]
test rcx, rcx
mov r15, qword [rsp + 0x48]
mov r12d, 0
je 0x140013853
mov eax, dword [rcx + rax*4]
jmp 0x140013848
mov r15, qword [rsp + 0x48]
xor r12d, r12d
jmp 0x140013853
mov eax, eax
mov qword [rsp + 0xa8], rax
jmp 0x140013440
mov eax, eax
mov qword [rsp + 0xc0], rax
jmp 0x1400134c1
mov eax, eax
mov qword [rsp + 0xd8], rax
jmp 0x140013542
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 0x140013afd
mov r13, r12
mov rcx, rbx
mov edx, 1
call fcn.140017b70
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x140014084
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 0x1400144b1
je 0x140014542
mov eax, 2
mov qword [rsp + 0x58], rax
mov dil, 1
mov rcx, rbx
mov rdx, qword [rsp + 0x58]
call fcn.140017b70
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x1400140e0
mov rax, qword [rbp + 0x18]
mov r12b, 1
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0x90
jne 0x140014545
movsx eax, dil
inc qword [rsp + 0x58]
lea edi, [rax + 1]
cmp r14d, eax
jg 0x1400140c6
jmp 0x140014548
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.140018080
mov rcx, rsi
mov edx, 4
call fcn.140017b70
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 0x14001418c
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 0x14001418c
mov rax, qword [rbp]
mov rax, qword [rax + 8]
mov rcx, rbp
call qword [0x140068010]
mov r12b, 1
mov rsi, qword [rsp + 0xe0]
jmp 0x140013a7f
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov rdx, rbx
call fcn.140033f90
test al, al
cmovne r12, rbx
jmp 0x140013ae3
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x140013e7a
xor r12d, r12d
mov r15, qword [rsp + 0x48]
jmp 0x140013853
int3
add rbp, rbx
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034020
test rax, rax
je 0x140014564
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 0x140014486
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 0x14001455e
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
jmp 0x140013d8f
mov rcx, qword [0x140062d38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140062d38], 0
jmp 0x140013cf5
add r14b, 2
mov rcx, rbx
mov edx, r14d
call fcn.140034220
mov r12b, 1
test al, al
je 0x140014545
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.140014960
test al, al
je 0x140014576
xor r12d, r12d
jmp 0x140014545
mov r12b, 1
mov rsi, r15
movabs rdi, 0x100000001
lea r14, [0x140053420]
jmp 0x140013a7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x18], 0
jmp 0x1400141c8
lea rax, [rbx + 8]
lock dec dword [rax]
jne 0x140014545
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 0x140014545
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
jmp 0x140014545