Function at 0x14000f290
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, 0x1e8
mov qword [rsp + 0x40], rdx
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rdx, qword [rcx + 0x38]
test rdx, rdx
je 0x14001021d
mov rsi, r9
mov rdi, r8
mov r12, rcx
and rdx, 0xfffffffffffffffc
mov rcx, qword [rcx]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0xc0]
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x14001020f
cmp qword [rsp + 0x90], 0
je 0x14001021d
cmp dword [rsp + 0xd0], 0
je 0x14001021d
cmp dword [rsp + 0xe0], 0x1000
jne 0x14001021d
cmp dword [rsp + 0xe4], 1
je 0x14001021d
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
mov r14, qword [r12 + 0x38]
and r14, 0xfffffffffffffffc
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r13, rax
movabs rsi, 0x100000001
mov qword [rax + 8], rsi
lea rbx, [0x14004e380]
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
add rax, 0x30
mov qword [r13 + 0x18], rax
mov qword [r13 + 0x50], r14
mov edx, 0x40
call fcn.1400133c0
cmp qword [r13 + 0x50], 0
mov qword [rsp + 0x38], r12
je 0x1400101db
cmp qword [r13 + 0x20], 0
je 0x1400101db
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x1400101db
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400101db
movsxd rdi, dword [rax + 0x3c]
add rdi, r14
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r15, rax
mov qword [rax + 8], rsi
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
add rax, 0x30
mov qword [r15 + 0x18], rax
mov qword [r15 + 0x50], rdi
mov edx, 0x108
call fcn.1400133c0
cmp qword [r15 + 0x50], 0
je 0x1400101b4
cmp qword [r15 + 0x20], 0
je 0x1400101b4
mov rdi, qword [r15 + 0x18]
test rdi, rdi
je 0x1400101b4
cmp dword [rdi], 0x4550
jne 0x1400101b4
movzx eax, word [rdi + 0x18]
cmp eax, 0x20b
jne 0x1400101b4
cmp dword [rdi + 0x50], 0x147
jbe 0x1400101b4
cmp dword [rdi + 0x84], 0
je 0x1400101b4
mov ebp, dword [rdi + 0x88]
test rbp, rbp
je 0x1400101b4
cmp dword [rdi + 0x8c], 0
je 0x1400101b4
add rbp, r14
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbx, rax
movabs rax, 0x100000001
mov qword [rbx + 8], rax
lea rax, [0x14004e380]
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0x20
lea rax, [rbx + 0x30]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x50], rbp
mov edx, 0x28
call fcn.1400133c0
cmp qword [rbx + 0x50], 0
je 0x1400101f5
cmp qword [rbx + 0x20], 0
je 0x1400101f5
mov rbp, qword [rbx + 0x18]
test rbp, rbp
je 0x1400101f5
cmp dword [rbp + 0x14], 0
je 0x1400101f5
mov eax, dword [rdi + 0x88]
mov ecx, dword [rdi + 0x8c]
add ecx, eax
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r14
mov edx, dword [rbp + 0x10]
mov dword [rsp + 0xd0], edx
mov dword [rsp + 0xd4], eax
mov dword [rsp + 0xd8], ecx
mov rsi, r12
mov r12d, dword [rbp + 0x14]
mov edi, dword [rbp + 0x1c]
add rdi, r14
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x14004e380]
mov qword [rax], rcx
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], rdi
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], r12
lea edx, [r12*4]
call fcn.140010670
shr eax, 2
cmp qword [rsp + 0xf0], rax
ja 0x14001022b
mov r14d, dword [rbp + 0x18]
mov edi, dword [rbp + 0x20]
add rdi, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xc0]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x14004e380]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], r12
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 + 0xf8], rcx
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], r14
lea edx, [r14*4]
call fcn.140010670
shr eax, 2
cmp qword [rsp + 0x108], rax
mov rsi, qword [rsp + 0x40]
ja 0x140010238
mov r14d, dword [rbp + 0x18]
mov ebp, dword [rbp + 0x24]
add rbp, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x14004e380]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rdx, [rax + 0x30]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x50], rbp
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], r14
lea edx, [r14 + r14]
call fcn.140010670
shr eax, 1
cmp qword [rsp + 0x120], rax
mov r12, qword [rsp + 0x38]
ja 0x140010245
lock dec dword [rbx + 8]
jne 0x14000f739
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
call qword [case.0x14001b2ee.0]
lock dec dword [rbx + 0xc]
jne 0x14000f739
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x14001b2ee.0]
lock dec dword [r15 + 8]
jne 0x14000f766
mov rax, qword [r15]
mov rax, qword [rax]
mov rcx, r15
call qword [case.0x14001b2ee.0]
lock dec dword [r15 + 0xc]
jne 0x14000f766
mov rax, qword [r15]
mov rax, qword [rax + 8]
mov rcx, r15
call qword [case.0x14001b2ee.0]
lock dec dword [r13 + 8]
jne 0x14000f795
mov rax, qword [r13]
mov rax, qword [rax]
mov rcx, r13
call qword [case.0x14001b2ee.0]
lock dec dword [r13 + 0xc]
jne 0x14000f795
mov rax, qword [r13]
mov rax, qword [rax + 8]
mov rcx, r13
call qword [case.0x14001b2ee.0]
cmp rsi, 0xffff
jbe 0x140010252
cmp qword [rsp + 0xc8], 0
je 0x1400101d3
cmp dword [rsp + 0xd4], 0
je 0x1400101d3
cmp dword [rsp + 0xd8], 0
je 0x1400101d3
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x40], 0
je 0x1400101d3
cmp qword [rsp + 0xf0], 0
je 0x1400101d3
mov rax, qword [rsp + 0xf8]
cmp qword [rax + 0x40], 0
je 0x1400101d3
mov rdx, qword [rsp + 0x108]
test rdx, rdx
je 0x1400101d3
mov rcx, qword [rsp + 0x110]
cmp qword [rcx + 0x40], 0
je 0x1400101d3
xor r14d, r14d
test rsi, rsi
je 0x14000f9f1
cmp qword [rsp + 0x120], 0
je 0x14000f9f1
cmp byte [rsi], 0
je 0x1400101a9
mov ecx, 1
lea r15, [rcx + 1]
cmp byte [rsi + rcx], 0
mov rcx, r15
jne 0x14000f84f
cmp qword [rax + 0x10], 0
je 0x140010299
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov qword [rsp + 0x48], rdx
mov rbx, rdx
sub rbx, r12
je 0x1400101ce
shr rbx, 1
add rbx, r12
mov rax, qword [rsp + 0x50]
mov esi, dword [rax + rbx*4]
add rsi, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbp, rax
movabs rax, 0x100000001
mov qword [rbp + 8], rax
lea rax, [0x14004e380]
mov qword [rbp], rax
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0x20
lea rax, [rbp + 0x30]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x50], rsi
mov edx, r15d
call fcn.140010670
mov rax, qword [rbp + 0x18]
xor ecx, ecx
mov rdx, qword [rsp + 0x40]
movsx r14d, byte [rdx + rcx]
mov r13b, byte [rax + rcx]
test r14d, r14d
je 0x14000f916
inc rcx
cmp r14b, r13b
je 0x14000f900
lock dec dword [rbp + 8]
jne 0x14000f943
mov rax, qword [rbp]
mov rax, qword [rax]
mov rcx, rbp
call qword [case.0x14001b2ee.0]
lock dec dword [rbp + 0xc]
jne 0x14000f943
mov rax, qword [rbp]
mov rax, qword [rax + 8]
mov rcx, rbp
call qword [case.0x14001b2ee.0]
movsx eax, r13b
mov ecx, r14d
sub ecx, eax
lea rdx, [rbx + 1]
test ecx, ecx
cmovg r12, rdx
cmp r14d, eax
mov rdx, qword [rsp + 0x48]
cmovs rdx, rbx
jne 0x14000f873
cmp qword [rsp + 0x120], rbx
jbe 0x1400102a0
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x10], 0
mov r12, qword [rsp + 0x38]
je 0x1400101d3
mov rax, qword [rax + 8]
test rax, rax
je 0x1400101d3
movzx eax, word [rax + rbx*2]
cmp qword [rsp + 0xf0], rax
jbe 0x1400101d3
mov rcx, qword [rsp + 0xe0]
cmp qword [rcx + 0x10], 0
je 0x1400101d3
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400101d3
mov r14d, dword [rcx + rax*4]
cmp r14d, dword [rsp + 0xd4]
jb 0x14000f9e9
cmp r14d, dword [rsp + 0xd8]
jb 0x1400101d3
add r14, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x118]
test rsi, rsi
je 0x14000fa29
lock dec dword [rsi + 8]
jne 0x14000fa29
mov rax, qword [rsi]
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
lock dec dword [rsi + 0xc]
jne 0x14000fa29
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
mov rsi, qword [rsp + 0x100]
test rsi, rsi
je 0x14000fa61
lock dec dword [rsi + 8]
jne 0x14000fa61
mov rax, qword [rsi]
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
lock dec dword [rsi + 0xc]
jne 0x14000fa61
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
mov rsi, qword [rsp + 0xe8]
test rsi, rsi
je 0x14000fa99
lock dec dword [rsi + 8]
jne 0x14000fa99
mov rax, qword [rsi]
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
lock dec dword [rsi + 0xc]
jne 0x14000fa99
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
test r14, r14
je 0x14001021d
mov rcx, qword [r12]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0xc0]
mov rdx, r14
xor r8d, r8d
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x14001020f
cmp qword [rsp + 0x90], 0
je 0x14001021d
cmp dword [rsp + 0xd0], 0
je 0x14001021d
cmp dword [rsp + 0xe0], 0x1000
jne 0x14001021d
cmp dword [rsp + 0xe4], 1
je 0x14001021d
cmp byte [r12 + 0x34], 0
jne 0x14000fd57
mov rbx, qword [r12 + 0x38]
lea rcx, [0x140052dc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
mov eax, dword [0x14005cad8]
cmp eax, 0x601ffff
jbe 0x140010408
mov eax, dword [0x14005cad8]
cmp eax, 0x9ffffff
ja 0x14001062a
mov eax, dword [0x14005c03c]
cmp eax, 0xa000001
jb 0x1400104b8
lea rdi, [rsp + 0xcc]
xor ebp, ebp
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0xa0000011c
mov qword [rdi - 0xc], rax
mov dword [rdi - 4], ebp
mov dword [rdi + 0x108], ebp
mov rdi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
lea rcx, [rsp + 0xc0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete bpl
lea rax, [0x14005c03c]
lea rcx, [0x14005cad8]
cmove rcx, rax
mov eax, 0xa000000
xchg dword [rcx], eax
mov eax, dword [0x14005cad8]
cmp eax, 0x601ffff
jbe 0x1400104c0
mov eax, dword [0x14005cad8]
cmp eax, 0x602ffff
ja 0x14001063c
mov eax, dword [0x14005c03c]
cmp eax, 0x6030001
jb 0x140010570
lea rdi, [rsp + 0xcc]
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0x60000011c
mov qword [rdi - 0xc], rax
mov dword [rdi - 4], 3
mov dword [rdi + 0x108], 0
mov rdi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
lea rcx, [rsp + 0xc0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete dil
lea rax, [0x14005c03c]
lea rcx, [0x14005cad8]
cmove rcx, rax
mov eax, 0x6030000
xchg dword [rcx], eax
cmp rbx, rsi
sete bl
mov rsi, qword [r12 + 0x38]
lea rcx, [0x14005351e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rsi, rax
sete al
cmp r14, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
sete r8b
cmp r14, qword [sym.imp.KERNEL32.dll_CloseHandle]
sete cl
cmp r14, qword [sym.imp.KERNEL32.dll_CreateFileA]
sete dl
cmp byte [r12 + 0x34], 0
jne 0x14000fd57
and bpl, al
and cl, bpl
or bl, cl
or dl, r8b
and al, dil
and al, dl
or al, bl
movzx eax, al
lea ecx, [rax + 4]
test dil, dil
cmove ecx, eax
cmp r14, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmovne ecx, eax
bts rcx, 0x20
mov qword [r12 + 0x30], rcx
test byte [r12 + 0x30], 4
jne 0x14000fe84
xor r15d, r15d
mov rbx, qword [sym.imp.mozglue.dll_moz_xmalloc]
xor esi, esi
mov r13, r14
cmp rsi, r13
je 0x14000fe7b
mov rdi, r13
mov ecx, 0x58
call rbx
mov rbp, rax
movabs rax, 0x100000001
mov qword [rbp + 8], rax
lea rax, [0x14004e380]
mov qword [rbp], rax
lea rsi, [rbp + 0x10]
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 0x20
lea rax, [rbp + 0x30]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x50], r13
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rbp
mov dword [rsp + 0xd0], 0
mov qword [rsp + 0x90], r15
mov rcx, rsi
xor edx, edx
call fcn.1400133c0
mov rax, qword [rbp + 0x18]
cmp byte [rax], 0xeb
je 0x1400102ad
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x90]
call fcn.140010ad0
test al, al
jne 0x1400103c3
mov rcx, rsi
xor edx, edx
call fcn.1400133c0
mov rax, qword [rbp + 0x18]
mov bpl, 1
cmp byte [rax], 0xe9
mov r13, rdi
je 0x140010333
mov rsi, qword [rsp + 0xc8]
test rsi, rsi
je 0x14000fe6d
lock dec dword [rsi + 8]
jne 0x14000fe6d
mov rax, qword [rsi]
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
lock dec dword [rsi + 0xc]
jne 0x14000fe6d
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
mov rsi, rdi
test bpl, bpl
jne 0x14000fd72
jmp 0x14000fee5
cmp rsi, r14
jne 0x1400103d3
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, [0x14004e380]
mov qword [rax], rcx
lea rdx, [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
lea rcx, [rax + 0x30]
mov qword [rax + 0x18], rcx
mov qword [rax + 0x50], r14
lea rcx, [rsp + 0x80]
mov qword [rcx - 8], rdx
mov qword [rcx], rax
mov dword [rsp + 0x88], 0
mov edi, dword [r12 + 0x30]
and edi, 1
shl rdi, 0x1e
mov eax, dword [0x14005cb6c]
mov ecx, dword [0x14005c2c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010165
mov ebx, dword [0x14005cb68]
mov dword [rsp + 0x20], edi
lea rsi, [rsp + 0xc0]
mov rcx, r12
mov rdx, rsi
mov r8d, ebx
mov r9, rdi
call fcn.140008a00
test ebx, ebx
je 0x1400103ef
cmp qword [r12], 0
je 0x1400103ef
cmp qword [r12 + 0x18], 0
jne 0x140010010
call fcn.140010a40
mov ecx, eax
mov eax, ebx
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, ebx
mov dword [r12 + 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 [r12 + 8], rax
test rax, rax
je 0x1400103e9
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rax
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [r12 + 0x10], rax
test rax, rax
je 0x1400103e9
mov rax, qword [r12 + 8]
lea r9, [rsp + 0x90]
mov qword [r9], rax
lea rcx, [rsp + 0x68]
mov qword [rcx], rax
mov r8d, dword [r12 + 0x20]
mov rdx, qword [r12]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
mov rcx, r12
call fcn.14001f2d0
mov qword [r12 + 0x18], rax
test rax, rax
je 0x140010015
mov edi, dword [r12 + 0x20]
test edi, edi
je 0x1400103ef
mov dl, 1
xor eax, eax
mov rcx, r12
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dl
mov edx, dword [rsp + 0x90]
mov ebp, dword [rsp + 0x93]
mov dword [rsp + 0x71], edx
mov dword [rsp + 0x74], ebp
test al, al
jne 0x140010224
lea rsi, [rsp + 0xc0]
mov rdx, rsi
call fcn.140010c90
cmp byte [rsi + 0x30], 0
je 0x140010224
mov rax, qword [rsp + 0xc0]
lea rdi, [rsp + 0x90]
mov qword [rdi], rax
mov eax, dword [rsp + 0xc8]
mov dword [rdi + 8], eax
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rdi + 0x10], xmm0
mov eax, dword [rsp + 0xe0]
mov dword [rdi + 0x20], eax
mov rax, qword [rsp + 0xe4]
mov qword [rdi + 0x24], rax
mov al, byte [rsp + 0xec]
mov byte [rdi + 0x2c], al
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x78]
lea r8, [rsp + 0x68]
mov rcx, r12
mov r9, rdi
call fcn.140010f00
cmp qword [rsi], 0
setne sil
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140010107
mov r8d, dword [rsp + 0x98]
test r8d, r8d
je 0x140010107
lea r9, [rsp + 0x98]
mov edx, dword [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x14001013f
lock dec dword [rdi + 8]
jne 0x14001013f
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
call qword [case.0x14001b2ee.0]
lock dec dword [rdi + 0xc]
jne 0x14001013f
mov rax, qword [rdi]
mov rax, qword [rax + 8]
mov rcx, rdi
call qword [case.0x14001b2ee.0]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14001bc70
mov eax, esi
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14005cb6c]
call fcn.14001aa20
cmp dword [0x14005cb6c], 0xffffffff
jne 0x14000ff16
lea rsi, [rsp + 0xc0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 0x28]
mov dword [0x14005cb68], eax
lea rcx, [0x14005cb6c]
call fcn.14001a9c0
jmp 0x14000ff16
mov r15d, 1
jmp 0x14000f85c
lea rcx, [rsp + 0xc0]
mov rdx, r12
call fcn.140020fb0
mov rsi, qword [rsp + 0x40]
jmp 0x14000f739
mov r12, qword [rsp + 0x38]
xor r14d, r14d
jmp 0x14000f9f1
lea rcx, [rsp + 0xc0]
mov rdx, r12
call fcn.140020fb0
mov rsi, qword [rsp + 0x40]
jmp 0x14000f766
lea rcx, [rsp + 0xc0]
mov rdx, r12
call fcn.140020fb0
mov rsi, qword [rsp + 0x40]
jmp 0x14000f70e
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
xor esi, esi
jmp 0x14001013f
xor esi, esi
jmp 0x140010107
mov qword [rsp + 0xf0], rax
jmp 0x14000f5e1
mov qword [rsp + 0x108], rax
jmp 0x14000f67a
mov qword [rsp + 0x120], rax
jmp 0x14000f70e
movzx eax, si
sub eax, dword [rsp + 0xd0]
jb 0x1400101d3
cmp qword [rsp + 0xf0], rax
jbe 0x1400101d3
mov rcx, qword [rsp + 0xe0]
cmp qword [rcx + 0x10], 0
je 0x1400101d3
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400101d3
mov r14d, dword [rcx + rax*4]
jmp 0x14000f9e9
xor eax, eax
jmp 0x14000f86b
xor r14d, r14d
mov r12, qword [rsp + 0x38]
jmp 0x14000f9f1
mov qword [rsp + 0x48], r14
mov rcx, rsi
mov edx, 1
call fcn.1400133c0
mov rax, qword [rbp + 0x18]
movsx rax, byte [rax + 1]
add rax, 2
mov r13, qword [rbp + 0x50]
add r13, rax
mov qword [rsp + 0x90], r13
shl eax, 0x18
add eax, 0xfe000000
mov ebx, eax
sar ebx, 0x18
test eax, eax
js 0x140010578
je 0x140010603
xor r14d, r14d
mov r12b, 1
add r14d, 2
mov rcx, rsi
mov edx, r14d
call fcn.1400133c0
mov rax, qword [rbp + 0x18]
mov al, byte [rax + r14]
movsx ecx, r12b
cmp ebx, ecx
jle 0x140010325
mov r14, rcx
inc r12b
cmp al, 0x90
je 0x1400102fc
cmp al, 0x90
cmovne r13, rdi
mov bpl, 1
jmp 0x140010609
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rbp, rax
movabs rax, 0x100000001
mov qword [rbp + 8], rax
lea rax, [0x14004e380]
mov qword [rbp], rax
lea r13, [rbp + 0x10]
mov rcx, r13
mov rdx, rsi
mov r8d, 1
call fcn.140021120
mov rcx, r13
mov edx, 4
call fcn.1400133c0
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x50]
movsxd rax, dword [rax]
add rax, rcx
add rax, 4
mov qword [rsp + 0x90], rax
lock dec dword [rbp + 8]
jne 0x1400103c3
mov rax, qword [rbp]
mov rax, qword [rax]
mov rcx, rbp
call qword [case.0x14001b2ee.0]
lock dec dword [rbp + 0xc]
jne 0x1400103c3
mov rax, qword [rbp]
mov rax, qword [rax + 8]
mov rcx, rbp
call qword [case.0x14001b2ee.0]
mov bpl, 1
mov r13, qword [rsp + 0x90]
jmp 0x14000fe35
mov rcx, r12
mov rdx, rsi
call fcn.1400211d0
test al, al
cmovne r14, rsi
jmp 0x14000fe84
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [rsp + 0x93], ecx
mov dword [rsp + 0x90], ecx
mov al, 1
xor edx, edx
jmp 0x140010024
mov eax, dword [0x14005c03c]
cmp eax, 0x6020001
jb 0x14001062a
lea rdi, [rsp + 0xcc]
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0x60000011c
mov qword [rdi - 0xc], rax
mov dword [rdi - 4], 2
mov dword [rdi + 0x108], 0
mov rdi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
lea rcx, [rsp + 0xc0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x14001061f
mov eax, 0x6020000
xchg dword [0x14005cad8], eax
jmp 0x14000fb45
mov bpl, 1
jmp 0x14000fc07
mov eax, dword [0x14005c03c]
cmp eax, 0x6020001
jb 0x14001063c
lea rdi, [rsp + 0xcc]
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call sub.ntdll.dll_memset
movabs rax, 0x60000011c
mov qword [rdi - 0xc], rax
mov dword [rdi - 4], 2
mov dword [rdi + 0x108], 0
mov rdi, qword [sym.imp.ntdll.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
lea rcx, [rsp + 0xc0]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140010631
mov eax, 0x6020000
xchg dword [0x14005cad8], eax
jmp 0x14000fc18
mov dil, 1
jmp 0x14000fce0
add bl, 2
mov rcx, rsi
mov edx, ebx
call fcn.1400210c0
mov bpl, 1
test al, al
je 0x140010606
mov ecx, 0x58
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov rsi, rax
movabs rax, 0x100000001
mov qword [rsi + 8], rax
lea rax, [0x14004e380]
mov qword [rsi], rax
lea rax, [rsi + 0x10]
mov rcx, qword [rsp + 0x38]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x20], 0
mov qword [rsi + 0x28], 0x20
lea rcx, [rsi + 0x30]
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x50], r13
lea rcx, [rsp + 0x78]
mov qword [rcx], rax
mov qword [rcx + 8], rsi
mov dword [rcx + 0x10], 0
lea rdx, [rsp + 0x90]
call fcn.140010ad0
test al, al
je 0x140010643
xor ebp, ebp
jmp 0x140010606
mov bpl, 1
mov r13, rdi
mov r12, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov rbx, qword [sym.imp.mozglue.dll_moz_xmalloc]
jmp 0x14000fe35
mov eax, 0x6020000
xchg dword [0x14005c03c], eax
xor ebp, ebp
jmp 0x14000fc07
mov eax, 0x6020000
xchg dword [0x14005c03c], eax
xor edi, edi
jmp 0x14000fce0
lock dec dword [rsi + 8]
jne 0x140010606
mov rax, qword [rsi]
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
lock dec dword [rsi + 0xc]
jne 0x140010606
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov rcx, rsi
call qword [case.0x14001b2ee.0]
jmp 0x140010606