Function at 0x140011680
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 [0x140062018]
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, [0x140059456]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x38], rax
lea rdx, [0x1400570f8]
lea r8, [0x140029830]
lea r9, [rsp + 0xa0]
mov rcx, rsi
call fcn.140012490
test al, al
je 0x140011c86
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
lea rsi, [rsp + 0x80]
mov rcx, r13
mov rdx, rsi
call fcn.140011e70
cmp byte [rsi + 0x10], 0
jne 0x140011c86
mov rax, qword [r13 + 0x30]
lea rdx, [0x140062db0]
test rax, rax
je 0x14001179d
cmp qword [r13 + 0x10], rdx
ja 0x14001179d
lea rcx, [0x140062db0]
cmp qword [r13 + 0x20], rcx
jb 0x14001179d
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 0x140011c80
lea rdx, str.LdrLoadDll
lea r8, [0x140028730]
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0xa0]
call fcn.140012490
test al, al
je 0x140011cab
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
lea rsi, [rsp + 0x80]
mov rcx, r13
mov rdx, rsi
call fcn.140011e70
cmp byte [rsi + 0x10], 0
jne 0x140011cab
mov rax, qword [r13 + 0x30]
lea rdx, [0x140062da8]
test rax, rax
je 0x140011848
cmp qword [r13 + 0x10], rdx
ja 0x140011848
lea rcx, [0x140062da8]
cmp qword [r13 + 0x20], rcx
jb 0x140011848
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 0x140011ca5
lea rsi, [rsp + 0xa0]
mov rcx, rsi
mov rdx, r12
mov r8, r13
call fcn.140011fc0
cmp byte [rsi + 0x10], 0
jne 0x140011cca
lea rcx, [0x140059456]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and rax, 0xfffffffffffffffc
je 0x140011c5e
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140011c5e
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140011c5e
movzx edx, word [rax + rcx + 0x18]
cmp edx, 0x20b
jne 0x140011c5e
mov edx, dword [rax + rcx + 0x50]
cmp rdx, 0x148
jb 0x140011c5e
lea rcx, [r13 + 0x10]
test r15, r15
je 0x1400119dc
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 0x140011ce0
cmp ebp, 2
jb 0x140011cf6
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x140011cf6
mov edx, dword [rdx + 0x90]
mov rsi, qword [r13 + 0x10]
add rdx, rsi
cmp rdx, rcx
ja 0x140011cf6
test rdx, rdx
je 0x140011cf6
test rsi, rsi
je 0x140011cf6
cmp dword [rdx], 0
je 0x140011cf6
mov r9, qword [r13 + 0x20]
lea r8, [0x1400572b1]
test r9, r9
sete cl
mov r11d, dword [rdx + 0xc]
add r11, rsi
cmp r11, r9
seta bl
test r10b, r10b
jne 0x14001198b
or cl, bl
jne 0x140011cf6
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 0x1400119c4
inc rbx
cmp bpl, cl
je 0x14001198d
cmp bpl, cl
je 0x140011c16
cmp dword [rdx + 0x14], 0
lea rdx, [rdx + 0x14]
jne 0x14001196b
jmp 0x140011cf6
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.140012300
cmp byte [rsi + 0x10], 0
je 0x140011cf6
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.140011e70
mov rcx, qword [r13]
mov rax, qword [r13 + 0x30]
mov rdx, rsi
test rax, rax
je 0x140011a63
mov rdx, rsi
cmp qword [r13 + 0x10], rsi
ja 0x140011a63
mov rdx, rsi
cmp qword [r13 + 0x20], rsi
jb 0x140011a63
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 0x140011d80
mov ecx, dword [rsp + 0x9c]
test ecx, ecx
js 0x140011da0
lea rdi, [rsp + 0xb8]
mov rcx, r13
mov rdx, rdi
call fcn.140011e70
cmp byte [rdi + 0x10], 0
jne 0x140011dbc
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x140011ae6
cmp qword [r13 + 0x10], rsi
ja 0x140011ae6
cmp qword [r13 + 0x20], rsi
jb 0x140011ae6
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 0x140011dd4
mov sil, 1
mov rdi, qword [rsp + 0x38]
cmp dword [rsp + 0x9c], 0
js 0x140011b47
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 0x140011d17
mov ecx, dword [rsp + 0x140]
xor eax, eax
test byte [0x140062a88], 2
sete al
xor eax, 3
mov dword [rsp + 0xb8], eax
cmp ecx, 0xb
jne 0x140011bfc
or eax, 4
mov dword [rsp + 0xb8], eax
lea rsi, [rsp + 0x80]
mov rcx, r13
mov rdx, rsi
call fcn.140011e70
cmp byte [rsi + 0x10], 0
jne 0x140011e0d
mov rax, qword [r13 + 0x30]
lea rdx, [0x140062a88]
test rax, rax
je 0x140011bca
cmp qword [r13 + 0x10], rdx
ja 0x140011bca
lea rcx, [0x140062a88]
cmp qword [r13 + 0x20], rcx
jb 0x140011bca
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 0x140011e25
mov byte [rdi + 0x10], 0
jmp 0x140011d17
cmp ecx, 5
je 0x140011e5c
cmp ecx, 8
jne 0x140011b80
or eax, 8
jmp 0x140011b79
test r9, r9
je 0x140011cf6
mov eax, dword [rdx + 0x10]
add rsi, rax
cmp rsi, r9
ja 0x140011cf6
cmp qword [rsi], 0
mov rbx, rsi
je 0x140011c48
mov rax, rsi
lea rbx, [rax + 8]
cmp qword [rax + 8], 0
mov rax, rbx
jne 0x140011c3a
sub rbx, rsi
cmp rbx, 0xfffffffffffffff8
je 0x140011e64
sar rbx, 3
jmp 0x140011a20
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, 0x800700c100000062
jmp 0x140011d13
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, 0x8007050700000042
jmp 0x140011d13
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, 0x8007050700000048
jmp 0x140011d13
mov rdi, qword [rsp + 0x38]
mov byte [rdi + 0x10], 1
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
jmp 0x140011d17
cmp ebp, 2
jb 0x140011cf6
mov edx, dword [rdx + 0x90]
mov rsi, qword [rcx]
add rdx, rsi
jmp 0x140011945
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, 0x8007000d0000007a
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140011d30
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011d49
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011d59
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002fae0
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 0x140011aa5
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], 0x86
jmp 0x140011e03
mov rax, qword [rsp + 0xb8]
mov edx, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xc4]
jmp 0x140011df4
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, 0x5d8
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 0x140011b12
mov rax, qword [rsp + 0x80]
mov edx, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8c]
jmp 0x140011e45
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, 0x5d8
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 0x140011d17
or eax, 0x10
jmp 0x140011b79
int3