Function at 0x211072a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
push esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
and ecx, 2
je 0x211072c7
cmp dword [ebp + 8], 0
je 0x211072c7
call sym.AhnHelper.dll__AntiHookGetSelfModuleHandle_0
cmp dword [ebp + 8], eax
jne 0x211072ce
xor al, al
jmp 0x21107515
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x211072e8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x21107302
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0x21107309
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [ebp + 8]
jne 0x21107309
xor al, al
jmp 0x21107515
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x2110731e
xor al, al
jmp 0x21107515
mov eax, dword [ebp + 0xc]
push eax
call fcn.21106cc0
movzx ecx, al
test ecx, ecx
jne 0x21107335
xor al, al
jmp 0x21107515
push 0x104
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp + 8]
push ecx
call fcn.21106d80
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.21106dc0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2110738d
xor al, al
jmp 0x21107515
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call sym.AhnHelper.dll__AntiHookGetProcAddress_8
mov dword [ebp - 4], eax
jmp 0x211073ad
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
je 0x21107513
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0
jne 0x211073c7
jmp 0x21107513
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x211073df
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x130], ecx
jmp 0x211073ee
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x124], eax
jmp 0x21107429
mov ecx, dword [ebp - 0x128]
add ecx, 4
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x124]
add edx, 4
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x128]
cmp dword [eax], 0
je 0x2110750e
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
and edx, 0x80000000
je 0x2110745b
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 4]
jne 0x21107459
jmp 0x21107489
jmp 0x2110740b
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x12c]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x21107489
jmp 0x2110740b
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx]
push edx
call sym.AhnHelper.dll__AntiHookGetSelfModuleByAddress_4
mov esi, eax
call sym.AhnHelper.dll__AntiHookGetSelfModuleHandle_0
cmp esi, eax
jne 0x211074a6
xor al, al
jmp 0x21107515
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x124]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x10], 0
je 0x21107505
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
cmp dword [eax], 0
jne 0x21107505
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [edx], ecx
mov al, 1
jmp 0x21107515
jmp 0x211073a4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8