Function at 0x140002770
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xf0
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rsi, [rsp + 0x78]
mov rcx, rsi
mov rdx, r8
call fcn.14000c100
mov dword [rsp + 0xa0], 0
mov byte [rsp + 0xac], 0
mov qword [rsp + 0xb0], 0
lea rcx, [0x14004c3fe]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0xb0], rax
mov rcx, rdi
mov rdx, rsi
call fcn.140002b40
test al, al
je 0x140002a9e
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140002bf0
test al, al
je 0x140002abc
lea rax, sym.firefox.exe_Ordinal_0
and rax, 0xfffffffffffffffc
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x48], 0
je 0x1400029e1
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400029e1
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rsp + 0x38], rcx
je 0x1400029e1
cmp dword [rcx], 0x4550
jne 0x1400029e1
movzx edx, word [rcx + 0x18]
cmp edx, 0x20b
jne 0x1400029e1
mov ecx, dword [rcx + 0x50]
cmp ecx, 0x148
jb 0x1400029e1
add ecx, 0xffffffff
add rax, rcx
mov qword [rsp + 0x40], rax
je 0x1400029e1
lea rcx, [rsp + 0xd0]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov r9, rdi
call fcn.140002ca0
mov al, byte [rsp + 0xe0]
test al, al
jne 0x140002ada
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xb8]
call fcn.140002f80
cmp byte [rsp + 0xc8], 0
je 0x140002afd
mov rbx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
shl rbx, 3
lea rcx, [rsp + 0x50]
mov rdx, rsi
mov r8, rbx
mov r9, rdi
call fcn.140003000
mov eax, dword [rsp + 0x6c]
test eax, eax
js 0x140002b1b
lea r15, [rsp + 0x70]
mov qword [rsp + 0x20], r15
mov rcx, rdi
mov rdx, rsi
mov r8, rsi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002a0a
cmp qword [rsp + 0x70], rbx
jne 0x140002a0a
cmp dword [rsp + 0x6c], 0
js 0x140002959
lea rax, [rsp + 0x68]
mov r9d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov dword [rsp + 0x50], 2
mov qword [rsp + 0x20], r15
lea rdx, [0x140054888]
lea r8, [rsp + 0x50]
mov r9d, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002a6d
cmp qword [rsp + 0x70], 4
jne 0x140002a6d
xor eax, eax
mov byte [r14 + 0x10], al
mov byte [rsp + 0xc8], 0
cmp byte [rsp + 0xac], 0
je 0x1400029b5
mov byte [rsp + 0xac], 0
lea rcx, [rsp + 0x78]
call fcn.14000c8c0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140045f60
mov rax, r14
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov byte [r14 + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [r14], rax
movabs rax, 0x800700c100000042
mov qword [r14 + 8], rax
cmp byte [rsp + 0xac], 0
jne 0x1400029ad
jmp 0x1400029b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [r14 + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [r14], rax
mov dword [r14 + 8], 0x62
mov dword [r14 + 0xc], ecx
cmp dword [rsp + 0x6c], 0
js 0x14000299b
lea rax, [rsp + 0x68]
mov r9d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x14000299b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str.z:_task_1579288126_build_src_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [r14], rax
mov dword [r14 + 8], 0x6b
mov dword [r14 + 0xc], ecx
mov al, 1
jmp 0x140002997
mov byte [r14 + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [r14], rax
movabs rax, 0x8007050700000025
jmp 0x1400029fa
mov byte [r14 + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [r14], rax
movabs rax, 0x800705070000002b
jmp 0x1400029fa
mov byte [r14 + 0x10], al
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [r14], xmm0
cmp byte [rsp + 0xac], 0
jne 0x1400029ad
jmp 0x1400029b5
mov byte [r14 + 0x10], 1
lea rax, str.z:_task_1579288126_build_src_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [r14], rax
movabs rax, 0x8007000d00000050
jmp 0x1400029fa
mov byte [r14 + 0x10], 1
lea rcx, str.z:_task_1579288126_build_src_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [r14], rcx
mov dword [r14 + 8], 0x5c
mov dword [r14 + 0xc], eax
jmp 0x14000299b