Function at 0x10012380
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cca5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.10013bb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.10013bb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x100b0014]
add ecx, 0x70
push sym.browser_patcher.dll_struct_asmjit::Operand_const_asmjit::noOperand
cdq
push sym.browser_patcher.dll_struct_asmjit::Operand_const_asmjit::noOperand
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x38]
push sym.browser_patcher.dll_struct_asmjit::Operand_const_asmjit::noOperand
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
push 0x10b
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 0xffffffff
call dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov edi, dword [0x100b001c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x24], 0
mov ecx, dword [eax + 0xb4]
sub ecx, dword [eax + 0xa8]
add ecx, dword [eax + 0xb0]
mov eax, dword [0x100affe4]
mov esi, eax
mov dword [ebp - 0x48], eax
mov eax, dword [0x100b0018]
mov dword [ebp - 0x20], ecx
mov dword [0x100b0010], ecx
mov dword [ebp - 0x40], eax
movq qword [ebp - 0x34], xmm0
mov word [ebp - 0x2c], 0
nop
push ecx
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.1001b260
test byte [ebp - 0x34], 1
mov ebx, eax
mov dword [ebp - 0x44], ebx
jne 0x10012556
cmp ebx, 1
jne 0x10012492
movzx ecx, byte [ebp - 0x30]
mov al, byte [ecx + esi]
cmp al, 0xcc
je 0x10012556
cmp al, 0xc3
jmp 0x1001249f
cmp ebx, 3
jne 0x100124a5
movzx eax, byte [ebp - 0x30]
cmp byte [eax + esi], 0xc2
je 0x10012556
mov eax, dword [ebp - 0x24]
lea ecx, [ebx + eax]
mov dword [ebp - 0x24], ecx
cmp ecx, 0x80
ja 0x10012559
push ebx
push esi
push dword [ebp - 0x40]
call fcn.1004baa0
add esp, 0xc
push ebx
push esi
push edi
call fcn.1004baa0
add esp, 0xc
test byte [ebp - 0x34], 0x80
je 0x10012533
mov al, byte [ebp - 0x2e]
movzx edx, byte [ebp - 0x2c]
test al, al
movzx ecx, al
mov al, byte [ebp - 0x2d]
cmovne edx, ecx
movzx ebx, dl
test al, al
movzx edx, byte [ebp - 0x2b]
movzx ecx, al
cmovne edx, ecx
mov dword [ebp - 0x20], 0
movzx edi, dl
lea eax, [ebx + esi]
push edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1004baa0
add esp, 0xc
mov eax, esi
sub eax, dword [ebp - 0x3c]
add dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push edi
mov edi, dword [ebp - 0x3c]
push eax
lea eax, [ebx + edi]
push eax
call fcn.1004baa0
mov ebx, dword [ebp - 0x44]
add esp, 0xc
mov eax, dword [ebp - 0x24]
add edi, ebx
mov ecx, dword [0x100b0010]
add esi, ebx
add dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp eax, ecx
jb 0x10012460
jmp 0x1001255c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jae 0x1001257e
push ecx
push dword [ebp - 0x48]
mov dword [0x100b0024], 4
push dword [0x100b0018]
call fcn.1004baa0
add esp, 0xc
jmp 0x10012593
sub esi, edi
mov byte [edi], 0xe9
sub esi, 5
mov dword [edi + 1], esi
mov eax, dword [0x100b001c]
mov dword [0x100affec], eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push 0
push 0x100affd8
push eax
mov dword [ebp - 0x38], 0x30403
lea ecx, [ecx + 0x70]
push 0x123
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0x14
mov byte [ebp - 0x35], 5
call sym.browser_patcher.dll_public:_unsigned_int___thiscall_asmjit::Assembler::emit_unsigned_int__struct_asmjit::Operand_const___unsigned_long_long_unsigned___int64__
mov ecx, dword [ebp - 0x18]
mov eax, 0x10010810
push sym.browser_patcher.dll_struct_asmjit::Operand_const_asmjit::noOperand
cdq
add ecx, 0x70
push sym.browser_patcher.dll_struct_asmjit::Operand_const_asmjit::noOperand
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x38]
push sym.browser_patcher.dll_struct_asmjit::Operand_const_asmjit::noOperand
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
push 0x10b
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 0xffffffff
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [0x100b0014]
lea ecx, [ecx + 0x70]
call sym.browser_patcher.dll_public:_unsigned_int___thiscall_asmjit::Assembler::relocCode_void___unsigned_long_long_unsigned___int64__const
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x100affe4]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [ecx + 0x88], eax
mov dword [ecx + 0x8c], 0
mov ecx, dword [ebp - 0x14]
push dword [0x100b0020]
lea ecx, [ecx + 0x70]
call sym.browser_patcher.dll_public:_unsigned_int___thiscall_asmjit::Assembler::relocCode_void___unsigned_long_long_unsigned___int64__const
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x40
push esi
push dword [0x100affe4]
call edi
test eax, eax
jne 0x10012673
xor bl, bl
jmp 0x100126a3
push esi
push dword [0x100b0020]
push dword [0x100affe4]
call fcn.1004baa0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push esi
push dword [0x100affe4]
call edi
test esi, esi
setne bl
mov byte [0x100affd8], bl
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100126b4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100126c8
mov edx, dword [ecx]
push 1
call dword [edx]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004a2e8
mov esp, ebp
pop ebp
ret