Function at 0x10007a00
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Execute shellcode via indirect call
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10059040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, edx
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xa4], ebx
push edi
test eax, eax
jne 0x10007a42
lea eax, [edx + 0x57]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10029593
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1005b174], eax
je 0x10007a68
mov eax, 0x10dd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10029593
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x1005b170]
test eax, eax
jne 0x10007fed
test ebx, ebx
je 0x10007a8f
mov edi, dword [ebx]
test edi, edi
jne 0x10007aa7
mov dword [0x1005b170], 6
mov dword [0x1005b17c], ebx
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10029593
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
xor ebx, ebx
cmp byte [edi], 0xff
mov dword [ebp - 0x9c], eax
jne 0x10007ada
cmp byte [edi + 1], 0x25
jne 0x10007ada
mov eax, dword [edi + 2]
mov ecx, edi
mov edx, eax
mov dword [ebp - 0x84], eax
call fcn.10007080
test al, al
je 0x10007ada
mov edi, dword [ebp - 0x84]
mov edi, dword [edi]
cmp byte [edi], 0xeb
jne 0x10007b21
movsx eax, byte [edi + 1]
add eax, 2
add edi, eax
mov cl, byte [edi]
lea eax, [edi + 1]
cmp cl, 0xff
jne 0x10007b17
cmp byte [eax], 0x25
jne 0x10007b17
mov eax, dword [edi + 2]
mov ecx, edi
mov edx, eax
mov dword [ebp - 0x84], eax
call fcn.10007080
test al, al
je 0x10007b21
mov edi, dword [ebp - 0x84]
mov edi, dword [edi]
jmp 0x10007b21
cmp cl, 0xe9
jne 0x10007b21
add edi, 5
add edi, dword [eax]
mov edx, dword [ebp - 0x8c]
cmp byte [edx], 0xff
jne 0x10007b62
cmp byte [edx + 1], 0x25
jne 0x10007b62
mov eax, dword [edx + 2]
mov edx, eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
call fcn.10007080
test al, al
je 0x10007b5c
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
mov dword [ebp - 0x8c], edx
jmp 0x10007b62
mov edx, dword [ebp - 0x8c]
cmp byte [edx], 0xeb
jne 0x10007bc7
movsx eax, byte [edx + 1]
add eax, 2
add edx, eax
mov dword [ebp - 0x8c], edx
mov cl, byte [edx]
lea eax, [edx + 1]
cmp cl, 0xff
jne 0x10007baf
cmp byte [eax], 0x25
jne 0x10007baf
mov eax, dword [edx + 2]
mov edx, eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
call fcn.10007080
test al, al
je 0x10007bc1
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
mov dword [ebp - 0x8c], edx
jmp 0x10007bc7
cmp cl, 0xe9
jne 0x10007bc7
add edx, 5
add edx, dword [eax]
mov dword [ebp - 0x8c], edx
jmp 0x10007bc7
mov edx, dword [ebp - 0x8c]
cmp edx, edi
jne 0x10007bdc
cmp dword [0x1005b0e0], ebx
jne 0x10007fe0
jmp 0x10008007
push 0x18
call fcn.1002965b
add esp, 4
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x94]
mov ecx, edi
lea edx, [ebp - 0x88]
push eax
call fcn.10007150
mov ecx, dword [0x1005b178]
add esp, 4
mov esi, dword [ebp - 0x94]
mov eax, dword [0x1005b180]
test ecx, ecx
jne 0x10007c24
test eax, eax
je 0x10007c3f
mov ecx, eax
mov dword [0x1005b178], ecx
mov edx, dword [ecx + 8]
mov ebx, dword [ebp - 0x88]
test edx, edx
je 0x10007c45
cmp edx, ebx
jb 0x10007c45
cmp edx, esi
jbe 0x10007cd6
jmp 0x10007c45
mov ebx, dword [ebp - 0x88]
mov ecx, eax
mov dword [0x1005b178], ecx
test eax, eax
je 0x10007c73
mov edx, eax
mov eax, dword [edx + 8]
test eax, eax
je 0x10007c62
cmp eax, ebx
jb 0x10007c62
cmp eax, esi
jbe 0x10007cd6
mov ecx, dword [ecx + 4]
mov eax, ecx
mov dword [0x1005b178], ecx
mov edx, ecx
test eax, eax
jne 0x10007c53
mov ecx, edi
mov edx, ebx
push esi
and ecx, 0xffff0000
call fcn.10007440
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10008000
mov dword [ecx], 0x52727464
xor edx, edx
mov dword [ecx + 8], 0
mov esi, 0x38b
mov eax, dword [0x1005b180]
mov dword [ecx + 4], eax
lea eax, [ecx + 0xffa8]
mov dword [0x1005b178], ecx
mov dword [0x1005b180], ecx
nop
mov dword [eax + 0x40], edx
mov edx, eax
sub eax, 0x48
sub esi, 1
jne 0x10007cc0
mov esi, dword [ebp - 0x94]
mov dword [ecx + 8], edx
mov ebx, dword [ecx + 8]
cmp ebx, dword [ebp - 0x88]
jb 0x10008000
cmp ebx, esi
ja 0x10008000
mov eax, dword [ebx + 0x40]
push 0x48
push 0xcc
push ebx
mov dword [ecx + 8], eax
call fcn.1002b2b0
add esp, 0xc
test ebx, ebx
je 0x10008002
lea eax, [ebx + 0x38]
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
mov dword [ebp - 0x84], eax
movq qword [eax], xmm0
mov ecx, ebx
lea eax, [ebx + 0x1e]
mov dword [ebp - 0x98], ecx
mov esi, edi
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0x8d], bl
mov dword [ebp - 0x88], ebx
push 0x70
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xa8], esi
push 0
push eax
call fcn.1002b2b0
mov ebx, dword [ebp - 0x98]
lea eax, [ebp - 0x50]
add esp, 0xc
mov dword [ebp - 0x5c], eax
test ebx, ebx
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
cmovne ecx, ebx
mov dword [ebp - 0x58], eax
test esi, esi
jne 0x10007d90
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10007dab
movzx eax, byte [esi]
mov edx, dword [eax*8 + 0x1005c834]
lea eax, [eax*8 + 0x1005c830]
push esi
push ecx
push eax
lea ecx, [ebp - 0x7c]
call edx
mov esi, eax
mov edx, dword [ebp - 0xa8]
mov eax, esi
sub eax, edx
add eax, dword [ebp - 0x80]
add ebx, eax
mov dword [ebp - 0x98], ebx
mov ebx, esi
mov ecx, dword [ebp - 0x98]
sub ebx, edi
sub cl, byte [ebp - 0x8d]
mov al, bl
shl cl, 3
and al, 7
or cl, al
mov eax, dword [ebp - 0x84]
mov byte [eax], cl
inc eax
mov ecx, dword [ebp - 0x94]
inc ecx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x94], ecx
cmp ecx, 8
jae 0x10007e4f
mov al, byte [edx]
cmp al, 0xeb
je 0x10007e4f
cmp al, 0xe9
je 0x10007e4f
cmp al, 0xe0
je 0x10007e4f
cmp al, 0xc2
je 0x10007e4f
cmp al, 0xc3
je 0x10007e4f
cmp al, 0xcc
je 0x10007e4f
cmp al, 0xf3
jne 0x10007ebf
cmp byte [edx + 1], 0xc3
je 0x10007e4f
cmp al, 0x26
je 0x10007e3a
cmp al, 0x2e
je 0x10007e3a
cmp al, 0x36
je 0x10007e3a
cmp al, 0x3e
je 0x10007e3a
cmp al, 0x64
je 0x10007e3a
cmp al, 0x65
jne 0x10007e46
cmp byte [edx + 1], 0xff
jne 0x10007e46
cmp byte [edx + 2], 0x25
je 0x10007e4f
cmp ebx, 5
jb 0x10007d44
cmp ebx, 5
jae 0x10007e74
mov ecx, esi
call fcn.100071e0
test eax, eax
je 0x10007f8d
add esi, eax
mov ebx, esi
sub ebx, edi
cmp ebx, 5
jb 0x10007e54
mov ecx, dword [ebp - 0x94]
cmp ecx, 8
ja 0x10007f8d
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 0xa0]
cmp ecx, esi
jbe 0x10007e8e
int3
mov eax, dword [ebp - 0x88]
sub cl, al
push ebx
push edi
mov byte [eax + 0x1e], cl
mov byte [eax + 0x36], bl
add eax, 0x20
push eax
call fcn.1002ad30
add esp, 0xc
cmp ebx, 0x19
jbe 0x10007ed0
mov ebx, dword [ebp - 0x88]
mov esi, 6
jmp 0x10008007
cmp al, 0xff
jne 0x10007e22
cmp byte [edx + 1], 0x25
jmp 0x10007e44
mov eax, dword [ebp - 0x88]
lea edx, [edi + ebx]
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0x44], ecx
movzx ecx, byte [eax + 0x1e]
add ecx, eax
mov dword [eax + 0x40], edx
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub edx, eax
mov eax, esi
mov dword [ecx + 1], edx
add ecx, 5
sub eax, ecx
xor edx, edx
cmp ecx, esi
cmova eax, edx
test eax, eax
je 0x10007f17
push eax
push 0xcc
push ecx
call fcn.1002b2b0
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10007f43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0x88]
mov esi, eax
jmp 0x10008007
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x88]
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], edi
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [0x1005b188]
mov dword [ecx], eax
xor eax, eax
mov dword [0x1005b188], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10029593
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x1005b0e0], 0
mov esi, 9
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x84], esi
je 0x10008007
mov edi, dword [ebp - 0x9c]
push 0x48
push 0
mov esi, ebx
push ebx
and esi, 0xffff0000
call fcn.1002b2b0
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebx + 0x40], eax
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x84]
test edi, edi
je 0x10007fe0
push 0x18
push edi
call fcn.100299a5
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [0x1005b17c], eax
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029593
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
mov esi, 8
mov edi, dword [ebp - 0x9c]
mov dword [0x1005b170], esi
mov dword [ebp - 0x84], esi
test ebx, ebx
je 0x10007fd1
jmp 0x10007fad