Function at 0x10026d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10026db7
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
je 0x10026db7
mov edx, dword [ebp - 8]
cmp dword [edx + 8], 0
jne 0x1002719c
mov byte [ebp - 0x66], 0x30
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x65], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
shl eax, 0
movsx ecx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor ecx, edx
mov byte [ebp - 0x64], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
shl eax, 1
movsx ecx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor ecx, edx
mov byte [ebp - 0x63], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 3
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x62], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
shl edx, 2
movsx eax, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor eax, ecx
mov byte [ebp - 0x61], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 5
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x60], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 6
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x5f], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 7
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x5e], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
shl edx, 3
movsx eax, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor eax, ecx
mov byte [ebp - 0x5d], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 9
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x5c], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0xa
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x5b], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0xb
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x5a], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0xc
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x59], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0xd
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x58], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0xe
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x57], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0xf
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x56], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
shl ecx, 4
movsx edx, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor edx, eax
mov byte [ebp - 0x55], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0x11
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x54], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0x12
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x53], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0x13
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x52], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0x14
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x51], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0x15
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x50], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0x16
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x4f], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0x17
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x4e], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0x18
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x4d], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0x19
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x4c], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0x1a
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x4b], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0x1b
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x4a], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0x1c
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x49], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0x1d
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x48], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0x1e
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x47], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0x1f
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x46], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
shl ecx, 5
movsx edx, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor edx, eax
mov byte [ebp - 0x45], dl
movsx eax, byte [ebp - 0x66]
mov ecx, 1
imul edx, ecx, 0x21
movsx ecx, byte [edx + str._Detour::Release__Detour_is_not_set_]
xor ecx, eax
mov byte [ebp - 0x44], cl
movsx edx, byte [ebp - 0x66]
mov eax, 1
imul ecx, eax, 0x22
movsx eax, byte [ecx + str._Detour::Release__Detour_is_not_set_]
xor eax, edx
mov byte [ebp - 0x43], al
movsx ecx, byte [ebp - 0x66]
mov edx, 1
imul eax, edx, 0x23
movsx edx, byte [eax + str._Detour::Release__Detour_is_not_set_]
xor edx, ecx
mov byte [ebp - 0x42], dl
xor eax, eax
mov byte [ebp - 0x41], al
mov dword [ebp - 0xc], 0
jmp 0x10027131
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x24
jae 0x1002716e
lea edx, [ebp - 0x65]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
movsx ecx, byte [ebp - 0x66]
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
xor eax, ecx
mov byte [ebp - 1], al
lea ecx, [ebp - 0x65]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov cl, byte [ebp - 1]
mov byte [eax], cl
jmp 0x10027128
lea edx, [ebp - 0x65]
mov dword [ebp - 0x28], edx
mov eax, 0x24
shl eax, 0
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], 0
lea edx, [ebp - 0x65]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.100265e0
add esp, 4
jmp 0x1002720c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
push 0x40
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call fcn.10086630
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret