Function at 0x140011800
Capabilities:
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, 0xd8
mov r15, r9
mov r13, r8
mov r12, rdx
mov qword [rsp + 0x38], rcx
mov rax, qword [0x14005e018]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, qword [r8]
xor ebp, ebp
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x20], rbp
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov r14, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r14
mov rdi, rax
call r14
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x438
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [rsi + 0x28], ebp
mov byte [rsi + 0x30], bpl
mov byte [rsi + 0x34], bpl
mov qword [rsi + 0x38], rbp
lea rcx, [0x1400552ba]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x38], rax
lea rdx, [0x140052fc0]
lea r8, [0x140026b10]
lea r9, [rsp + 0xa0]
mov rcx, rsi
call fcn.140012600
test al, al
je 0x140011dee
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
lea rsi, [rsp + 0x80]
mov rcx, r13
mov rdx, rsi
call fcn.140011fe0
cmp byte [rsi + 0x10], 0
jne 0x140011dee
mov rax, qword [r13 + 0x30]
lea rdx, [0x14005ed88]
test rax, rax
je 0x14001191d
cmp qword [r13 + 0x10], rdx
ja 0x14001191d
lea rcx, [0x14005ed88]
cmp qword [r13 + 0x20], rcx
jb 0x14001191d
sub rcx, qword [r13 + 8]
add rax, rcx
mov rdx, rax
mov rcx, qword [r13]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0xb8]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140011de8
lea rdx, str.LdrLoadDll
lea r8, [0x1400267d0]
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0xa0]
call fcn.140012600
test al, al
je 0x140011e13
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
lea rsi, [rsp + 0x80]
mov rcx, r13
mov rdx, rsi
call fcn.140011fe0
cmp byte [rsi + 0x10], 0
jne 0x140011e13
mov rax, qword [r13 + 0x30]
lea rdx, [0x14005ed80]
test rax, rax
je 0x1400119c8
cmp qword [r13 + 0x10], rdx
ja 0x1400119c8
lea rcx, [0x14005ed80]
cmp qword [r13 + 0x20], rcx
jb 0x1400119c8
sub rcx, qword [r13 + 8]
add rax, rcx
mov rdx, rax
mov rcx, qword [r13]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0xb8]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140011e0d
lea rsi, [rsp + 0xa0]
mov rcx, rsi
mov rdx, r12
mov r8, r13
call fcn.140012130
cmp byte [rsi + 0x10], 0
jne 0x140011e32
lea rcx, [0x1400552ba]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and rax, 0xfffffffffffffffc
je 0x140011dc6
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140011dc6
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140011dc6
movzx edx, word [rax + rcx + 0x18]
cmp edx, 0x20b
jne 0x140011dc6
mov edx, dword [rax + rcx + 0x50]
cmp rdx, 0x148
jb 0x140011dc6
lea rcx, [r13 + 0x10]
test r15, r15
je 0x140011b5c
mov r10b, byte [r13 + 0x28]
mov rdx, qword [r13 + 0x18]
mov ebx, dword [rdx + 0x84]
cmp ebx, 0x10
mov ebp, 0x10
cmovb ebp, ebx
test r10b, r10b
jne 0x140011e48
cmp ebp, 2
jb 0x140011e5e
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x140011e5e
mov edx, dword [rdx + 0x90]
mov rsi, qword [r13 + 0x10]
add rdx, rsi
cmp rdx, rcx
ja 0x140011e5e
test rdx, rdx
je 0x140011e5e
test rsi, rsi
je 0x140011e5e
cmp dword [rdx], 0
je 0x140011e5e
mov r9, qword [r13 + 0x20]
lea r8, [0x140053179]
test r9, r9
sete cl
mov r11d, dword [rdx + 0xc]
add r11, rsi
cmp r11, r9
seta bl
test r10b, r10b
jne 0x140011b0b
or cl, bl
jne 0x140011e5e
xor ebx, ebx
movzx ecx, byte [rbx + r8]
lea ebp, [rcx - 0x41]
lea eax, [rcx + 0x20]
cmp bpl, 0x1a
movzx ebp, al
cmovae ebp, ecx
movzx eax, byte [r11 + rbx]
lea ecx, [rax - 0x41]
lea edi, [rax + 0x20]
cmp cl, 0x1a
movzx ecx, dil
cmovae ecx, eax
test bpl, bpl
je 0x140011b44
inc rbx
cmp bpl, cl
je 0x140011b0d
cmp bpl, cl
je 0x140011d7e
cmp dword [rdx + 0x14], 0
lea rdx, [rdx + 0x14]
jne 0x140011aeb
jmp 0x140011e5e
add rdx, rax
lea r8, [rsp + 0x80]
mov qword [r8], rax
mov qword [r8 + 8], rdx
mov byte [r8 + 0x10], 1
lea rsi, [rsp + 0xb8]
mov rdx, rsi
call fcn.140012470
cmp byte [rsi + 0x10], 0
je 0x140011e5e
mov rbx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov r15, rsi
shl rbx, 3
lea rdx, [rsp + 0x80]
mov rcx, r13
call fcn.140011fe0
mov rcx, qword [r13]
mov rax, qword [r13 + 0x30]
mov rdx, rsi
test rax, rax
je 0x140011be3
mov rdx, rsi
cmp qword [r13 + 0x10], rsi
ja 0x140011be3
mov rdx, rsi
cmp qword [r13 + 0x20], rsi
jb 0x140011be3
mov rdx, rsi
sub rdx, qword [r13 + 8]
add rax, rdx
mov rdx, rax
lea r12, [rsp + 0x98]
mov qword [r12 - 0x18], rdx
mov qword [r12 - 0x10], rbx
mov qword [r12 - 8], rcx
mov qword [r12], 0
mov qword [rsp + 0x20], r12
mov r8, rbx
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140011ee8
mov ecx, dword [rsp + 0x9c]
test ecx, ecx
js 0x140011f08
lea rdi, [rsp + 0xb8]
mov rcx, r13
mov rdx, rdi
call fcn.140011fe0
cmp byte [rdi + 0x10], 0
jne 0x140011f24
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x140011c66
cmp qword [r13 + 0x10], rsi
ja 0x140011c66
cmp qword [r13 + 0x20], rsi
jb 0x140011c66
sub rsi, qword [r13 + 8]
add rsi, rax
mov rcx, qword [r13]
mov qword [rsp + 0x20], 0
mov rdx, rsi
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140011f3c
mov sil, 1
mov rdi, qword [rsp + 0x38]
cmp dword [rsp + 0x9c], 0
js 0x140011cc7
mov r9d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test sil, sil
je 0x140011e7f
xor ecx, ecx
test byte [0x14005ec88], 2
sete cl
movzx eax, byte [rsp + 0x140]
lea eax, [rax*4 + 3]
xor eax, ecx
cmp byte [rsp + 0x148], 0
jne 0x140011f75
mov dword [rsp + 0xb8], eax
lea rsi, [rsp + 0x80]
mov rcx, r13
mov rdx, rsi
call fcn.140011fe0
cmp byte [rsi + 0x10], 0
jne 0x140011f7d
mov rax, qword [r13 + 0x30]
lea rdx, [0x14005ec88]
test rax, rax
je 0x140011d4c
cmp qword [r13 + 0x10], rdx
ja 0x140011d4c
lea rcx, [0x14005ec88]
cmp qword [r13 + 0x20], rcx
jb 0x140011d4c
sub rcx, qword [r13 + 8]
add rax, rcx
mov rdx, rax
mov rcx, qword [r13]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0xb8]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140011f95
mov byte [rdi + 0x10], 0
jmp 0x140011e7f
test r9, r9
je 0x140011e5e
mov eax, dword [rdx + 0x10]
add rsi, rax
cmp rsi, r9
ja 0x140011e5e
cmp qword [rsi], 0
mov rbx, rsi
je 0x140011db0
mov rax, rsi
lea rbx, [rax + 8]
cmp qword [rax + 8], 0
mov rax, rbx
jne 0x140011da2
sub rbx, rsi
cmp rbx, 0xfffffffffffffff8
je 0x140011fcc
sar rbx, 3
jmp 0x140011ba0
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [rdi], rax
movabs rax, 0x800700c100000058
jmp 0x140011e7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [rdi], rax
movabs rax, 0x8007050700000038
jmp 0x140011e7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [rdi], rax
movabs rax, 0x800705070000003e
jmp 0x140011e7b
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
jmp 0x140011e7f
cmp ebp, 2
jb 0x140011e5e
mov edx, dword [rdx + 0x90]
mov rsi, qword [rcx]
add rdx, rsi
jmp 0x140011ac5
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [rdi], rax
movabs rax, 0x8007000d00000070
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140011e98
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011eb1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011ec1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002c730
mov rax, rdi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x9c], ecx
jmp 0x140011c25
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_DllBlocklistInit.cpp
mov qword [rdi], rax
mov dword [rdi + 8], 0x7c
jmp 0x140011f6b
mov rax, qword [rsp + 0xb8]
mov edx, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xc4]
jmp 0x140011f5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str._builds_worker_workspace_obj_build_dist_include_mozilla_NativeNt.h
mov edx, 0x5cf
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
mov qword [rdi], rax
mov dword [rdi + 8], edx
mov dword [rdi + 0xc], ecx
xor esi, esi
jmp 0x140011c92
or eax, 8
jmp 0x140011cfb
mov rax, qword [rsp + 0x80]
mov edx, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8c]
jmp 0x140011fb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str._builds_worker_workspace_obj_build_dist_include_mozilla_NativeNt.h
mov edx, 0x5cf
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
mov qword [rdi], rax
mov dword [rdi + 8], edx
mov dword [rdi + 0xc], ecx
jmp 0x140011e7f
int3