Function at 0x1000e860
Capabilities:
Allocate or change rwx memory
Check for software breakpoints

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x14
push ebp
push esi
xor esi, esi
push edi
test eax, eax
je 0x1000e872
mov dword [eax], esi
mov edi, dword [esp + 0x30]
test edi, edi
je 0x1000e87c
mov dword [edi], esi
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x1000e887
mov dword [ebp], esi
cmp dword [esp + 0x28], esi
jne 0x1000e89b
pop edi
pop esi
mov eax, 0x57
pop ebp
add esp, 0x14
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1005ca40], eax
je 0x1000e8b7
pop edi
pop esi
mov eax, 0x10dd
pop ebp
add esp, 0x14
ret 0x14
mov eax, dword [0x1005ca44]
test eax, eax
jne 0x1000eb98
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1000e8e2
mov eax, dword [ecx]
test eax, eax
jne 0x1000e8f0
mov dword [0x1005ca44], 6
mov dword [0x1005ca48], ecx
pop edi
pop esi
mov eax, 6
pop ebp
add esp, 0x14
ret 0x14
push ebx
xor ebx, ebx
push ebx
push eax
call fcn.1000ebb0
push ebx
push dword [esp + 0x30]
mov dword [esp + 0x3c], eax
call fcn.1000ebb0
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x34]
jne 0x1000e925
cmp dword [0x1005ca38], ebx
jne 0x1000eb8c
xor ebp, ebp
jmp 0x1000eb56
mov esi, dword [esp + 0x34]
test edi, edi
je 0x1000e92f
mov dword [edi], esi
test ebp, ebp
je 0x1000e936
mov dword [ebp], eax
push 0x18
call fcn.10026826
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1000e94e
lea esi, [eax + 8]
jmp 0x1000eb56
push esi
call fcn.1000e220
mov ebx, eax
add esp, 4
mov dword [esp + 0x2c], ebx
test ebx, ebx
jne 0x1000e969
lea esi, [eax + 8]
jmp 0x1000eb56
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1000e973
mov dword [eax], ebx
xorps xmm0, xmm0
lea eax, [ebx + 0x1e]
movq qword [ebx + 0x38], xmm0
mov ecx, ebx
mov dword [esp + 0x14], eax
mov edi, esi
xor eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0
push edi
lea eax, [esp + 0x20]
mov esi, edi
push eax
push ecx
call fcn.1000f810
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x18]
mov ebx, edi
sub ebx, dword [esp + 0x34]
sub eax, esi
mov edx, dword [esp + 0x2c]
add eax, edi
add ecx, eax
mov al, bl
mov dword [esp + 0x38], ecx
and al, 7
sub cl, dl
shl cl, 3
xor cl, al
mov eax, dword [esp + 0x10]
mov byte [edx + eax + 0x38], cl
inc eax
mov dword [esp + 0x10], eax
cmp eax, 8
jae 0x1000ea41
mov al, byte [esi]
cmp al, 0xeb
je 0x1000ea41
cmp al, 0xe9
je 0x1000ea41
cmp al, 0xe0
je 0x1000ea41
cmp al, 0xc2
je 0x1000ea41
cmp al, 0xc3
je 0x1000ea41
cmp al, 0xcc
je 0x1000ea41
cmp al, 0xf3
jne 0x1000eaa7
cmp byte [esi + 1], 0xc3
je 0x1000ea41
cmp al, 0x26
je 0x1000ea28
cmp al, 0x2e
je 0x1000ea28
cmp al, 0x36
je 0x1000ea28
cmp al, 0x3e
je 0x1000ea28
cmp al, 0x64
je 0x1000ea28
cmp al, 0x65
jne 0x1000ea34
cmp byte [esi + 1], 0xff
jne 0x1000ea34
cmp byte [esi + 2], 0x25
je 0x1000ea41
mov ecx, dword [esp + 0x38]
cmp ebx, 5
jb 0x1000e990
cmp ebx, 5
jae 0x1000ea68
push edi
call fcn.1000e530
add esp, 4
test eax, eax
je 0x1000eb44
add edi, eax
mov ebx, edi
sub ebx, dword [esp + 0x34]
cmp ebx, 5
jb 0x1000ea46
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x10], 8
ja 0x1000eb44
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x14]
jbe 0x1000ea7e
int3
mov edi, dword [esp + 0x34]
sub al, dl
push ebx
mov byte [edx + 0x1e], al
lea eax, [edx + 0x20]
push edi
push eax
mov byte [edx + 0x36], bl
call fcn.100282d0
add esp, 0xc
cmp ebx, 0x19
jbe 0x1000eab8
mov esi, 6
jmp 0x1000eb52
cmp al, 0xff
jne 0x1000ea10
cmp byte [esi + 1], 0x25
jmp 0x1000ea32
mov esi, dword [esp + 0x2c]
lea edx, [ebx + edi]
mov eax, dword [esp + 0x20]
movzx ecx, byte [esi + 0x1e]
add ecx, esi
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], edx
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub edx, eax
lea eax, [ecx + 5]
mov dword [ecx + 1], edx
push dword [esp + 0x14]
push eax
call fcn.1000e4f0
add esp, 8
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000eb0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000eb52
mov eax, dword [esp + 0x28]
mov dword [ebp + 8], eax
pop ebx
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], edi
mov dword [ebp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [0x1005ca50]
pop edi
mov dword [ebp], eax
xor eax, eax
pop esi
mov dword [0x1005ca50], ebp
pop ebp
add esp, 0x14
ret 0x14
cmp dword [0x1005ca38], 0
mov esi, 9
jne 0x1000eb62
mov ebx, dword [esp + 0x2c]
mov dword [0x1005ca44], esi
test ebx, ebx
je 0x1000eb7d
jmp 0x1000eb66
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.1000e4c0
mov eax, dword [esp + 0x34]
add esp, 4
test eax, eax
je 0x1000eb7d
mov dword [eax], 0
test ebp, ebp
je 0x1000eb8c
push 0x18
push ebp
call fcn.10026818
add esp, 8
mov eax, dword [esp + 0x28]
mov dword [0x1005ca48], eax
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 0x14