Function at 0x10001b20
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Execute shellcode via indirect call
Hook routines via microsoft detours
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
mov eax, edx
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ebx
push edi
test eax, eax
jne 0x10001b69
lea eax, [edx + 0x57]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1000ce2b
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10033f20], eax
je 0x10001b93
mov eax, 0x10dd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1000ce2b
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x10033f1c]
test eax, eax
jne 0x100020b3
test ebx, ebx
je 0x10001bba
mov edi, dword [ebx]
test edi, edi
jne 0x10001bd6
mov dword [0x10033f1c], 6
mov dword [0x10033f28], ebx
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1000ce2b
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
xor ebx, ebx
cmp byte [edi], 0xff
mov dword [esp + 0x28], eax
jne 0x10001c03
cmp byte [edi + 1], 0x25
jne 0x10001c03
mov eax, dword [edi + 2]
mov ecx, edi
mov edx, eax
mov dword [esp + 0x10], eax
call fcn.10001080
test al, al
je 0x10001c03
mov edi, dword [esp + 0x10]
mov edi, dword [edi]
cmp byte [edi], 0xeb
jne 0x10001c46
movsx eax, byte [edi + 1]
add eax, 2
add edi, eax
mov cl, byte [edi]
lea eax, [edi + 1]
cmp cl, 0xff
jne 0x10001c3c
cmp byte [eax], 0x25
jne 0x10001c3c
mov eax, dword [edi + 2]
mov ecx, edi
mov edx, eax
mov dword [esp + 0x10], eax
call fcn.10001080
test al, al
je 0x10001c46
mov edi, dword [esp + 0x10]
mov edi, dword [edi]
jmp 0x10001c46
cmp cl, 0xe9
jne 0x10001c46
add edi, 5
add edi, dword [eax]
mov edx, dword [esp + 0x18]
cmp byte [edx], 0xff
jne 0x10001c7b
cmp byte [edx + 1], 0x25
jne 0x10001c7b
mov eax, dword [edx + 2]
mov edx, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
call fcn.10001080
test al, al
je 0x10001c77
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jmp 0x10001c7b
mov edx, dword [esp + 0x18]
cmp byte [edx], 0xeb
jne 0x10001cd2
movsx eax, byte [edx + 1]
add eax, 2
add edx, eax
mov dword [esp + 0x18], edx
mov cl, byte [edx]
lea eax, [edx + 1]
cmp cl, 0xff
jne 0x10001cbe
cmp byte [eax], 0x25
jne 0x10001cbe
mov eax, dword [edx + 2]
mov edx, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
call fcn.10001080
test al, al
je 0x10001cce
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jmp 0x10001cd2
cmp cl, 0xe9
jne 0x10001cd2
add edx, 5
add edx, dword [eax]
mov dword [esp + 0x18], edx
jmp 0x10001cd2
mov edx, dword [esp + 0x18]
cmp edx, edi
jne 0x10001ce7
cmp dword [0x10033ac0], ebx
jne 0x100020a8
jmp 0x100020d1
push 0x18
call fcn.1000ce47
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.10001150
mov ecx, dword [0x10033f24]
add esp, 8
mov esi, dword [esp + 0x20]
mov eax, dword [0x10033f2c]
test ecx, ecx
jne 0x10001d24
test eax, eax
je 0x10001d3d
mov ecx, eax
mov dword [0x10033f24], ecx
mov edx, dword [ecx + 8]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x10001d41
cmp edx, ebx
jb 0x10001d41
cmp edx, esi
jbe 0x10001dd4
jmp 0x10001d41
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov dword [0x10033f24], ecx
test eax, eax
je 0x10001d6f
mov edx, eax
mov eax, dword [edx + 8]
test eax, eax
je 0x10001d5e
cmp eax, ebx
jb 0x10001d5e
cmp eax, esi
jbe 0x10001dd4
mov ecx, dword [ecx + 4]
mov eax, ecx
mov dword [0x10033f24], ecx
mov edx, ecx
test eax, eax
jne 0x10001d4f
mov ecx, edi
mov edx, ebx
push esi
and ecx, 0xffff0000
call fcn.10001440
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100020ca
mov dword [ecx], 0x52727464
xor edx, edx
mov dword [ecx + 8], 0
mov esi, 0x38b
mov eax, dword [0x10033f2c]
mov dword [ecx + 4], eax
lea eax, [ecx + 0xffa8]
mov dword [0x10033f24], ecx
mov dword [0x10033f2c], ecx
nop word [eax + eax]
mov dword [eax + 0x40], edx
mov edx, eax
sub eax, 0x48
sub esi, 1
jne 0x10001dc0
mov esi, dword [esp + 0x20]
mov dword [ecx + 8], edx
mov ebx, dword [ecx + 8]
cmp ebx, dword [esp + 0x14]
jb 0x100020ca
cmp ebx, esi
ja 0x100020ca
mov eax, dword [ebx + 0x40]
push 0x48
push 0xcc
push ebx
mov dword [ecx + 8], eax
call fcn.1000f540
add esp, 0xc
test ebx, ebx
je 0x100020cc
lea eax, [ebx + 0x38]
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
movq qword [eax], xmm0
mov ecx, ebx
lea eax, [ebx + 0x1e]
mov dword [esp + 0x24], ecx
mov esi, edi
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1f], bl
mov dword [esp + 0x14], ebx
push 0x70
lea eax, [esp + 0x44]
mov dword [esp + 0x38], esi
push 0
push eax
call fcn.1000f540
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x60], eax
test ebx, ebx
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x70]
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
cmovne ecx, ebx
mov dword [esp + 0x64], eax
test esi, esi
jne 0x10001e84
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10001e9c
movzx eax, byte [esi]
push esi
push ecx
lea ecx, [esp + 0x48]
lea eax, [eax*8 + 0x10034820]
push eax
mov eax, dword [eax + 4]
call eax
mov esi, eax
mov edx, dword [esp + 0x34]
mov eax, esi
sub eax, edx
add eax, dword [esp + 0x38]
add ebx, eax
mov dword [esp + 0x24], ebx
mov ebx, esi
mov ecx, dword [esp + 0x24]
sub ebx, edi
sub cl, byte [esp + 0x1f]
mov al, bl
shl cl, 3
and al, 7
or cl, al
mov eax, dword [esp + 0x10]
mov byte [eax], cl
inc eax
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
cmp ecx, 8
jae 0x10001f31
mov al, byte [edx]
cmp al, 0xeb
je 0x10001f31
cmp al, 0xe9
je 0x10001f31
cmp al, 0xe0
je 0x10001f31
cmp al, 0xc2
je 0x10001f31
cmp al, 0xc3
je 0x10001f31
cmp al, 0xcc
je 0x10001f31
cmp al, 0xf3
jne 0x10001f97
cmp byte [edx + 1], 0xc3
je 0x10001f31
cmp al, 0x26
je 0x10001f1c
cmp al, 0x2e
je 0x10001f1c
cmp al, 0x36
je 0x10001f1c
cmp al, 0x3e
je 0x10001f1c
cmp al, 0x64
je 0x10001f1c
cmp al, 0x65
jne 0x10001f28
cmp byte [edx + 1], 0xff
jne 0x10001f28
cmp byte [edx + 2], 0x25
je 0x10001f31
cmp ebx, 5
jb 0x10001e34
cmp ebx, 5
jae 0x10001f54
mov ecx, esi
call fcn.100011e0
test eax, eax
je 0x1000205d
add esi, eax
mov ebx, esi
sub ebx, edi
cmp ebx, 5
jb 0x10001f36
mov ecx, dword [esp + 0x20]
cmp ecx, 8
ja 0x1000205d
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
cmp ecx, esi
jbe 0x10001f6a
int3
mov eax, dword [esp + 0x14]
sub cl, al
push ebx
push edi
mov byte [eax + 0x1e], cl
mov byte [eax + 0x36], bl
add eax, 0x20
push eax
call fcn.1000f6a0
add esp, 0xc
cmp ebx, 0x19
jbe 0x10001fa5
mov ebx, dword [esp + 0x14]
mov esi, 6
jmp 0x100020d1
cmp al, 0xff
jne 0x10001f04
cmp byte [edx + 1], 0x25
jmp 0x10001f26
mov eax, dword [esp + 0x14]
lea edx, [edi + ebx]
mov ecx, dword [esp + 0x18]
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 0x10001fe8
push eax
push 0xcc
push ecx
call fcn.1000f540
add esp, 0xc
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002014
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x14]
mov esi, eax
jmp 0x100020d1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], edi
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x14], eax
mov eax, dword [0x10033f34]
mov dword [ecx], eax
xor eax, eax
mov dword [0x10033f34], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1000ce2b
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x10033ac0], 0
mov esi, 9
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], esi
je 0x100020d1
mov edi, dword [esp + 0x28]
push 0x48
push 0
mov esi, ebx
push ebx
and esi, 0xffff0000
call fcn.1000f540
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebx + 0x40], eax
mov dword [esi + 8], ebx
mov esi, dword [esp + 0x10]
test edi, edi
je 0x100020a8
push 0x18
push edi
call fcn.1000ce77
add esp, 8
mov eax, dword [esp + 0x30]
mov dword [0x10033f28], eax
mov eax, esi
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000ce2b
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
mov esi, 8
mov edi, dword [esp + 0x28]
mov dword [0x10033f1c], esi
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x10002099
jmp 0x10002077