Function at 0x140010490
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, 0x158
mov qword [rsp + 0x68], rdx
mov rax, qword [0x140062030]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x1400113c7
mov rbx, r9
mov rsi, r8
mov r13, rcx
and rdx, 0xfffffffffffffffc
mov rcx, qword [rcx]
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x88]
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x1400113b9
cmp qword [rsp + 0xf0], 0
je 0x1400113c7
cmp dword [rsp + 0x98], 0
je 0x1400113c7
cmp dword [rsp + 0xa8], 0x1000
jne 0x1400113c7
cmp dword [rsp + 0xac], 1
je 0x1400113c7
mov qword [rsp + 0x78], rsi
mov rbp, qword [r13 + 0x38]
and rbp, 0xfffffffffffffffc
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r14, rax
add rax, 8
mov qword [rsp + 0x58], rax
movabs rdi, 0x100000001
mov qword [r14 + 8], rdi
lea r15, [0x140053450]
mov qword [r14], r15
lea rcx, [r14 + 0x10]
mov qword [r14 + 0x10], r13
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.140014f30
cmp qword [r14 + 0x50], 0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x80], rbx
je 0x14001137b
cmp qword [r14 + 0x20], 0
je 0x14001137b
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x14001137b
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14001137b
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 + 0x60], rax
mov qword [r12 + 8], rdi
mov qword [r12], r15
lea rcx, [r12 + 0x10]
mov qword [r12 + 0x10], r13
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.140014f30
cmp qword [r12 + 0x50], 0
je 0x140011352
cmp qword [r12 + 0x20], 0
je 0x140011352
mov rdi, qword [r12 + 0x18]
test rdi, rdi
je 0x140011352
cmp dword [rdi], 0x4550
jne 0x140011352
movzx eax, word [rdi + 0x18]
cmp eax, 0x20b
jne 0x140011352
cmp dword [rdi + 0x50], 0x147
jbe 0x140011352
cmp dword [rdi + 0x84], 0
je 0x140011352
mov esi, dword [rdi + 0x88]
test rsi, rsi
je 0x140011352
cmp dword [rdi + 0x8c], 0
je 0x140011352
add rsi, rbp
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
add rax, 8
mov qword [rsp + 0x70], rax
movabs rax, 0x100000001
mov qword [rbx + 8], rax
mov qword [rbx], r15
lea rcx, [rbx + 0x10]
mov qword [rbx + 0x10], r13
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.140014f30
cmp qword [rbx + 0x50], 0
je 0x140011395
cmp qword [rbx + 0x20], 0
je 0x140011395
mov r13, qword [rbx + 0x18]
test r13, r13
je 0x140011395
mov esi, dword [r13 + 0x14]
test rsi, rsi
je 0x140011395
mov eax, dword [rdi + 0x88]
mov ecx, dword [rdi + 0x8c]
add ecx, eax
mov r15, qword [rsp + 0x50]
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], rbp
mov edx, dword [r13 + 0x10]
mov dword [rsp + 0x98], edx
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0xa0], 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, [0x140053450]
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 + 0xa8], rcx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rsi
lea edx, [rsi*4]
call fcn.1400119e0
shr eax, 2
cmp esi, eax
ja 0x14001141f
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, [0x140053450]
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 + 0xc0], rcx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rsi
lea edx, [rsi*4]
call fcn.1400119e0
shr eax, 2
cmp esi, eax
ja 0x14001142e
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 rdi, 0x100000001
mov qword [rax + 8], rdi
lea rcx, [0x140053450]
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 + 0xd8], rcx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rsi
lea edx, [rsi + rsi]
call fcn.1400119e0
shr eax, 1
cmp esi, eax
mov r13, r15
ja 0x14001143d
mov rax, qword [rsp + 0x70]
lock dec dword [rax]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
jne 0x14001093e
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 0x14001093e
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [r15]
lea r15, [0x140053450]
jne 0x140010978
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 0x140010978
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140068010]
lock dec dword [rbp]
jne 0x1400109a9
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 0x1400109a9
mov rax, qword [r14]
mov rax, qword [rax + 8]
mov rcx, r14
call qword [0x140068010]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xffff
jbe 0x1400113ce
xor r14d, r14d
cmp qword [rsp + 0x90], 0
je 0x140010c2e
cmp dword [rsp + 0x9c], 0
je 0x140010c2e
cmp dword [rsp + 0xa0], 0
je 0x140010c2e
mov rax, qword [rsp + 0xa8]
xor r14d, r14d
cmp qword [rax + 0x40], 0
je 0x140010c2e
cmp qword [rsp + 0xb8], 0
je 0x140010c2e
mov rax, qword [rsp + 0xc0]
xor r14d, r14d
cmp qword [rax + 0x40], 0
je 0x140010c2e
mov rsi, qword [rsp + 0xd0]
test rsi, rsi
je 0x140010c2e
xor r14d, r14d
test rdx, rdx
je 0x140010c2e
mov rcx, qword [rsp + 0xd8]
cmp qword [rcx + 0x40], 0
je 0x140010c2e
cmp qword [rsp + 0xe8], 0
je 0x140010c2e
cmp byte [rdx], 0
je 0x14001134b
xor ecx, ecx
lea rbx, [rcx + 1]
cmp byte [rdx + rcx + 1], 0
mov rcx, rbx
jne 0x140010a6e
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x140010a93
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
inc ebx
xor r13d, r13d
mov rbp, rsi
sub rbp, r13
shr rbp, 1
add rbp, r13
mov rax, qword [rsp + 0x58]
mov edi, dword [rax + rbp*4]
add rdi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x88]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r12, rax
movabs rax, 0x100000001
mov qword [r12 + 8], rax
mov qword [r12], r15
lea rcx, [r12 + 0x10]
mov qword [r12 + 0x10], r14
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.1400119e0
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x140010b1e
mov rax, qword [r12 + 0x18]
lea rcx, [r12 + 8]
mov r15, r12
add r15, 0xc
xor edx, edx
mov r8, qword [rsp + 0x68]
mov dil, byte [r8 + rdx]
mov r14b, byte [rax + rdx]
test dil, dil
je 0x140010b46
inc rdx
cmp dil, r14b
je 0x140010b31
lock dec dword [rcx]
jne 0x140010b72
mov rax, qword [r12]
mov rax, qword [rax]
mov rcx, r12
call qword [0x140068010]
lock dec dword [r15]
jne 0x140010b72
mov rax, qword [r12]
mov rax, qword [rax + 8]
mov rcx, r12
call qword [0x140068010]
cmp dil, r14b
je 0x140010bad
cmp dil, r14b
cmovl rsi, rbp
lea rax, [rbp + 1]
cmovge r13, rax
cmp rsi, r13
lea r15, [0x140053450]
jne 0x140010a98
mov r13, qword [rsp + 0x50]
movabs rdi, 0x100000001
xor r14d, r14d
jmp 0x140010c2e
cmp qword [rsp + 0xe8], rbp
jbe 0x1400115e7
mov rax, qword [rsp + 0xd8]
xor r14d, r14d
cmp qword [rax + 0x10], 0
mov r13, qword [rsp + 0x50]
movabs rdi, 0x100000001
je 0x140010c2e
mov rax, qword [rax + 8]
test rax, rax
je 0x140010c2e
movzx eax, word [rax + rbp*2]
cmp qword [rsp + 0xb8], rax
jbe 0x140010ba5
mov rcx, qword [rsp + 0xa8]
xor r14d, r14d
cmp qword [rcx + 0x10], 0
je 0x140010c2e
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140010c2e
mov eax, dword [rcx + rax*4]
cmp eax, dword [rsp + 0x9c]
jb 0x140010c23
cmp eax, dword [rsp + 0xa0]
jb 0x140010ba5
mov r14d, eax
add r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xe0]
test rbx, rbx
je 0x140010c66
lock dec dword [rbx + 8]
jne 0x140010c66
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x140010c66
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
je 0x140010c9e
lock dec dword [rbx + 8]
jne 0x140010c9e
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x140010c9e
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
je 0x140010cd6
lock dec dword [rbx + 8]
jne 0x140010cd6
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x140010cd6
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
test r14, r14
je 0x1400113c7
mov rcx, qword [r13]
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x88]
mov rdx, r14
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x1400113b9
cmp qword [rsp + 0xf0], 0
je 0x1400113c7
cmp dword [rsp + 0x98], 0
je 0x1400113c7
cmp dword [rsp + 0xa8], 0x1000
jne 0x1400113c7
cmp dword [rsp + 0xac], 1
je 0x1400113c7
cmp byte [r13 + 0x34], 0
jne 0x140010d80
mov rsi, qword [r13 + 0x38]
lea rcx, [0x1400596f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [r13 + 0x34], 0
jne 0x140010d80
xor ecx, ecx
cmp rsi, rax
sete cl
bts rcx, 0x20
mov qword [r13 + 0x30], rcx
test byte [r13 + 0x30], 4
jne 0x14001144c
xor esi, esi
mov rax, qword [sym.imp.mozglue.dll_moz_xmalloc]
xor ebx, ebx
mov qword [rsp + 0x68], r14
cmp rbx, r14
je 0x140010ea5
mov r15, r14
mov ecx, 0x58
mov r12, rax
call rax
mov rbp, rax
mov qword [rax + 8], rdi
lea rax, [0x140053450]
mov qword [rbp], rax
lea rbx, [rbp + 0x10]
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 0x20
lea rax, [rbp + 0x30]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x50], r14
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x98], 0
mov qword [rsp + 0xf0], rsi
mov rcx, rbx
xor edx, edx
call fcn.140014f30
mov rax, qword [rbp + 0x18]
cmp byte [rax], 0xeb
je 0x14001148e
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0xf0]
call fcn.140011dc0
test al, al
jne 0x1400115a8
mov rcx, rbx
xor edx, edx
call fcn.140014f30
mov rax, qword [rbp + 0x18]
mov sil, 1
cmp byte [rax], 0xe9
mov r14, r15
je 0x14001151c
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x140010e8f
lock dec dword [rbx + 8]
jne 0x140010e8f
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rbx + 0xc]
jne 0x140010e8f
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
mov rbx, r15
test sil, sil
mov esi, 0
mov rax, r12
jne 0x140010d9b
jmp 0x140010f0b
mov r12, qword [rsp + 0x68]
cmp rbx, r12
jne 0x1400115b8
lea rsi, [0x140053450]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], rdi
mov qword [rax], rsi
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r13
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 + 0x128], rcx
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x138], 0
cmp byte [r13 + 0x34], 0
je 0x1400115cf
mov r14d, dword [r13 + 0x30]
and r14d, 1
shl r14, 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 0x1400112c2
mov ebx, dword [0x140064b00]
lea rcx, [rsp + 0xf0]
mov edx, ebx
mov r8, r14
mov r9d, r14d
call fcn.140007ac0
test ebx, ebx
je 0x1400115e0
cmp qword [r13], 0
je 0x1400115e0
cmp qword [r13 + 0x18], 0
jne 0x14001116c
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 0x140011306
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 [r13 + 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 [r13 + 8], rax
test rax, rax
je 0x1400115da
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 [r13 + 0x10], rax
test rax, rax
je 0x1400115da
lea rsi, [r13 + 0x20]
mov r14, qword [r13]
mov r12, qword [r13 + 8]
cmp byte [rsp + 0x100], 0
je 0x140011881
mov rbp, qword [rsp + 0xf0]
test rbp, rbp
je 0x14001160b
mov r13d, dword [r13 + 0x20]
mov rbx, qword [rsp + 0xf8]
mov eax, dword [0x140062d58]
mov ecx, dword [0x1400624b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x1400110d7
lea rcx, [0x140062d58]
call fcn.14002b4a4
cmp dword [0x140062d58], 0xffffffff
jne 0x1400110d7
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140062d48], rax
mov qword [0x140062d50], 0
test rax, rax
je 0x1400110cb
lea rdx, str.MapViewOfFile3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140062d50], rax
test rax, rax
je 0x1400118c3
lea rcx, [0x140062d58]
call fcn.14002b444
mov rax, qword [0x140062d50]
test rax, rax
je 0x140011616
lea rcx, [rbx + rbp]
dec rcx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0x140]
mov qword [rcx], 1
lea rdx, [rsp + 0x88]
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 r13, qword [rsp + 0x50]
mov qword [r13 + 0x18], rax
test rax, rax
jne 0x140011170
jmp 0x1400115e0
lea rsi, [r13 + 0x20]
cmp dword [rsi], 0
je 0x1400115e0
mov qword [rsp + 0x140], r13
mov byte [rsp + 0x148], 1
lea rbx, [rsp + 0x88]
mov rcx, r13
mov rdx, rbx
call fcn.140011f90
cmp byte [rbx + 0x38], 0
je 0x1400115e0
mov rax, qword [rsp + 0x88]
lea rbx, [rsp + 0xf0]
mov qword [rbx], rax
mov eax, dword [rsp + 0x90]
mov dword [rbx + 8], eax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rbx + 0x20], xmm0
mov eax, dword [rsp + 0xb8]
mov dword [rbx + 0x30], eax
mov al, byte [rsp + 0xbc]
mov byte [rbx + 0x34], al
mov dword [rsp + 0x90], 0
mov byte [rsp + 0xbc], 0
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x128]
lea r8, [rsp + 0x140]
mov rcx, r13
mov r9, rbx
call fcn.1400122c0
cmp qword [rsi], 0
setne sil
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140011264
mov r8d, dword [rsp + 0xf8]
test r8d, r8d
je 0x140011264
lea r9, [rsp + 0xf8]
mov edx, dword [r9 + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x130]
test rdi, rdi
je 0x14001129c
lock dec dword [rdi + 8]
jne 0x14001129c
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
call qword [0x140068010]
lock dec dword [rdi + 0xc]
jne 0x14001129c
mov rax, qword [rdi]
mov rax, qword [rax + 8]
mov rcx, rdi
call qword [0x140068010]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14002c610
mov eax, esi
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064b04]
call fcn.14002b4a4
cmp dword [0x140064b04], 0xffffffff
jne 0x140010f47
lea rbx, [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 0x28]
mov dword [0x140064b00], eax
lea rcx, [0x140064b04]
call fcn.14002b444
jmp 0x140010f47
lea rcx, [0x140064b04]
call fcn.14002b4a4
cmp dword [0x140064b04], 0xffffffff
jne 0x140010fa5
lea r14, [rsp + 0x88]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 0x28]
mov dword [0x140064b00], eax
lea rcx, [0x140064b04]
call fcn.14002b444
jmp 0x140010fa5
xor ebx, ebx
jmp 0x140010a7c
lea rcx, [rsp + 0x88]
mov rdx, r13
call fcn.140034be0
movabs rdi, 0x100000001
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
jmp 0x14001093e
lea rcx, [rsp + 0x88]
mov rdx, r13
call fcn.140034be0
mov rbp, qword [rsp + 0x58]
jmp 0x140010978
lea rcx, [rsp + 0x88]
mov r13, qword [rsp + 0x50]
mov rdx, r13
call fcn.140034be0
movabs rdi, 0x100000001
jmp 0x1400108ff
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
jmp 0x14001129c
movzx eax, dx
sub eax, dword [rsp + 0x98]
jb 0x1400115fe
cmp qword [rsp + 0xb8], rax
jbe 0x1400115fe
mov rcx, qword [rsp + 0xa8]
cmp qword [rcx + 0x10], 0
je 0x1400119d3
mov rcx, qword [rcx + 8]
test rcx, rcx
mov r13, qword [rsp + 0x50]
mov r14d, 0
je 0x140010c2e
mov eax, dword [rcx + rax*4]
jmp 0x140010c23
mov eax, eax
mov qword [rsp + 0xb8], rax
jmp 0x1400107ff
mov eax, eax
mov qword [rsp + 0xd0], rax
jmp 0x140010880
mov eax, eax
mov qword [rsp + 0xe8], rax
jmp 0x1400108ff
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov qword [rax + 8], rdi
lea rcx, [0x140053450]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], r14
jmp 0x140010ef0
mov rcx, rbx
mov edx, 1
call fcn.140014f30
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x1400114a8
mov rax, qword [rbp + 0x18]
movsx rax, byte [rax + 1]
add rax, 2
mov r14, qword [rbp + 0x50]
add r14, rax
mov qword [rsp + 0xf0], r14
shl eax, 0x18
add eax, 0xfe000000
mov ecx, eax
sar ecx, 0x18
mov dword [rsp + 0x58], ecx
test eax, eax
js 0x1400118e0
mov sil, 1
je 0x14001196e
xor edi, edi
lea edx, [rdi + 2]
mov rcx, rbx
mov r13, rdx
call fcn.140014f30
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x1400114ff
mov rax, qword [rbp + 0x18]
cmp byte [rax + r13], 0x90
jne 0x14001196e
inc dil
movsx edi, dil
cmp dword [rsp + 0x58], edi
jg 0x1400114e4
jmp 0x140011971
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbp, rax
mov qword [rax + 8], rdi
lea rax, [0x140053450]
mov qword [rbp], rax
lea rsi, [rbp + 0x10]
mov rcx, rsi
mov rdx, rbx
mov r8d, 1
call fcn.140015110
mov rcx, rsi
mov edx, 4
call fcn.140014f30
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x50]
movsxd rax, dword [rax]
add rax, rcx
add rax, 4
mov qword [rsp + 0xf0], rax
lock dec dword [rbp + 8]
jne 0x1400115a8
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 0x1400115a8
mov rax, qword [rbp]
mov rax, qword [rax + 8]
mov rcx, rbp
call qword [0x140068010]
mov sil, 1
mov r14, qword [rsp + 0xf0]
jmp 0x140010e57
mov rcx, qword [r13]
mov rdx, rbx
call fcn.1400348c0
test al, al
cmovne r12, rbx
jmp 0x140010eb3
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x140011264
xor r14d, r14d
mov r13, qword [rsp + 0x50]
movabs rdi, 0x100000001
jmp 0x140010c2e
xor r14d, r14d
mov r13, qword [rsp + 0x50]
jmp 0x140010c2e
int3
add rbp, rbx
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
mov rcx, r14
mov rdx, r13
mov r8, rbx
mov r9, rbp
call fcn.140034950
test rax, rax
je 0x14001198b
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 0x1400118b5
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 0x140011985
mov r13, qword [rsp + 0x50]
mov qword [r13 + 0x18], rax
jmp 0x140011170
mov rcx, qword [0x140062d48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140062d48], 0
jmp 0x1400110cb
mov edx, dword [rsp + 0x58]
add dl, 2
mov rcx, rbx
call fcn.140034b70
mov sil, 1
test al, al
je 0x14001196e
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
movabs rax, 0x100000001
mov qword [rbx + 8], rax
lea rax, [0x140053450]
mov qword [rbx], rax
lea rax, [rbx + 0x10]
mov rcx, qword [rsp + 0x50]
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], r14
lea rcx, [rsp + 0x128]
mov qword [rcx], rax
mov qword [rcx + 8], rbx
mov dword [rcx + 0x10], 0
lea rdx, [rsp + 0xf0]
call fcn.140011dc0
test al, al
je 0x14001199d
xor esi, esi
mov r14, r15
mov r13, qword [rsp + 0x50]
movabs rdi, 0x100000001
jmp 0x140010e57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x18], 0
jmp 0x1400115e0
lea rax, [rbx + 8]
lock dec dword [rax]
jne 0x14001196e
mov rdi, rbx
add rdi, 0xc
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [0x140068010]
lock dec dword [rdi]
jne 0x14001196e
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140068010]
jmp 0x14001196e
mov r13, qword [rsp + 0x50]
jmp 0x140010ba5