Function at 0x100043e0
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, 0xa0
mov eax, dword [0x1001d040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, edx
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xa0], ebx
test eax, eax
jne 0x10004422
lea eax, [edx + 0x57]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1001e8a0], eax
je 0x10004448
mov eax, 0x10dd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x1001e89c]
test eax, eax
jne 0x100049f4
test ebx, ebx
je 0x1000446f
mov esi, dword [ebx]
test esi, esi
jne 0x10004487
mov dword [0x1001e89c], 6
mov dword [0x1001e8a8], ebx
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
xor ebx, ebx
cmp byte [esi], 0xff
mov dword [ebp - 0x94], eax
jne 0x100044ba
cmp byte [esi + 1], 0x25
jne 0x100044ba
mov eax, dword [esi + 2]
mov ecx, esi
mov edx, eax
mov dword [ebp - 0x8c], eax
call fcn.100039a0
test al, al
je 0x100044ba
mov esi, dword [ebp - 0x8c]
mov esi, dword [esi]
cmp byte [esi], 0xeb
jne 0x10004501
movsx eax, byte [esi + 1]
add eax, 2
add esi, eax
mov cl, byte [esi]
lea eax, [esi + 1]
cmp cl, 0xff
jne 0x100044f7
cmp byte [eax], 0x25
jne 0x100044f7
mov eax, dword [esi + 2]
mov ecx, esi
mov edx, eax
mov dword [ebp - 0x8c], eax
call fcn.100039a0
test al, al
je 0x10004501
mov esi, dword [ebp - 0x8c]
mov esi, dword [esi]
jmp 0x10004501
cmp cl, 0xe9
jne 0x10004501
add esi, 5
add esi, dword [eax]
mov edx, dword [ebp - 0x88]
cmp byte [edx], 0xff
jne 0x10004542
cmp byte [edx + 1], 0x25
jne 0x10004542
mov eax, dword [edx + 2]
mov edx, eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
call fcn.100039a0
test al, al
je 0x1000453c
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov dword [ebp - 0x88], edx
jmp 0x10004542
mov edx, dword [ebp - 0x88]
cmp byte [edx], 0xeb
jne 0x100045a7
movsx eax, byte [edx + 1]
add eax, 2
add edx, eax
mov dword [ebp - 0x88], edx
mov cl, byte [edx]
lea eax, [edx + 1]
cmp cl, 0xff
jne 0x1000458f
cmp byte [eax], 0x25
jne 0x1000458f
mov eax, dword [edx + 2]
mov edx, eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
call fcn.100039a0
test al, al
je 0x100045a1
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov dword [ebp - 0x88], edx
jmp 0x100045a7
cmp cl, 0xe9
jne 0x100045a7
add edx, 5
add edx, dword [eax]
mov dword [ebp - 0x88], edx
jmp 0x100045a7
mov edx, dword [ebp - 0x88]
cmp edx, esi
jne 0x100045bc
cmp dword [0x1001e830], ebx
jne 0x100049e7
jmp 0x1000499e
push 0x18
call fcn.1000894d
add esp, 4
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x84]
mov ecx, esi
lea edx, [ebp - 0x90]
push eax
call fcn.10003a70
mov ecx, dword [0x1001e8a4]
add esp, 4
mov edx, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x90]
mov eax, dword [0x1001e8ac]
test ecx, ecx
jne 0x1000460a
test eax, eax
je 0x1000461d
mov ecx, eax
mov dword [0x1001e8a4], ecx
mov edi, dword [ecx + 8]
test edi, edi
je 0x1000461d
cmp edi, ebx
jb 0x1000461d
cmp edi, edx
jbe 0x100046d6
mov ecx, eax
mov dword [0x1001e8a4], ecx
test eax, eax
je 0x10004672
mov edx, eax
mov edi, eax
mov ebx, eax
nop
mov eax, dword [eax + 8]
test eax, eax
je 0x1000464f
mov edx, edi
cmp eax, dword [ebp - 0x90]
jb 0x1000464f
mov edx, ebx
cmp eax, dword [ebp - 0x84]
jbe 0x100046d0
mov ecx, dword [edx + 4]
mov eax, ecx
mov dword [0x1001e8a4], ecx
test eax, eax
je 0x10004666
mov edx, ecx
mov edi, ecx
mov ebx, ecx
jmp 0x10004630
mov edx, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x90]
push edx
mov ecx, esi
mov edx, ebx
and ecx, 0xffff0000
call fcn.10003cd0
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10004997
mov dword [ecx], 0x52727464
xor edx, edx
mov dword [ecx + 8], 0
mov edi, 0x38b
mov eax, dword [0x1001e8ac]
mov dword [ecx + 4], eax
lea eax, [ecx + 0xffa8]
mov dword [0x1001e8a4], ecx
mov dword [0x1001e8ac], ecx
nop dword [eax]
mov dword [eax + 0x40], edx
mov edx, eax
sub eax, 0x48
sub edi, 1
jne 0x100046c0
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x84]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x84], ebx
cmp ebx, dword [ebp - 0x90]
jb 0x10004997
cmp ebx, edx
ja 0x10004997
mov eax, dword [ebx + 0x40]
push 0x48
push 0xcc
push ebx
mov dword [ecx + 8], eax
call fcn.1000a480
add esp, 0xc
test ebx, ebx
je 0x10004999
lea eax, [ebx + 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], eax
mov edi, esi
movq qword [eax], xmm0
mov eax, ebx
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
push 0x70
lea eax, [ebp - 0x7c]
mov ebx, edi
push 0
push eax
mov dword [ebp - 0x98], ebx
call fcn.1000a480
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x90]
test eax, eax
cmovne ecx, eax
test edi, edi
jne 0x10004781
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1000479c
movzx eax, byte [edi]
mov edx, dword [eax*8 + 0x1001f824]
lea eax, [eax*8 + 0x1001f820]
push edi
push ecx
push eax
lea ecx, [ebp - 0x7c]
call edx
mov edi, eax
mov ecx, dword [ebp - 0x90]
mov eax, edi
mov edx, dword [ebp - 0x84]
sub eax, ebx
add eax, dword [ebp - 0x80]
mov ebx, edi
add ecx, eax
sub ebx, esi
mov dword [ebp - 0x90], ecx
mov al, bl
sub cl, dl
and al, 7
shl cl, 3
or cl, al
mov eax, dword [ebp - 0x8c]
mov byte [eax], cl
inc eax
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], ecx
cmp ecx, 8
jae 0x10004842
mov ecx, dword [ebp - 0x98]
mov al, byte [ecx]
cmp al, 0xeb
je 0x10004842
cmp al, 0xe9
je 0x10004842
cmp al, 0xe0
je 0x10004842
cmp al, 0xc2
je 0x10004842
cmp al, 0xc3
je 0x10004842
cmp al, 0xcc
je 0x10004842
cmp al, 0xf3
jne 0x100048ad
cmp byte [ecx + 1], 0xc3
je 0x10004842
cmp al, 0x26
je 0x1000482d
cmp al, 0x2e
je 0x1000482d
cmp al, 0x36
je 0x1000482d
cmp al, 0x3e
je 0x1000482d
cmp al, 0x64
je 0x1000482d
cmp al, 0x65
jne 0x10004839
cmp byte [ecx + 1], 0xff
jne 0x10004839
cmp byte [ecx + 2], 0x25
je 0x10004842
cmp ebx, 5
jb 0x10004733
cmp ebx, 5
jae 0x10004867
mov ecx, edi
call fcn.10003b00
test eax, eax
je 0x10004981
add edi, eax
mov ebx, edi
sub ebx, esi
cmp ebx, 5
jb 0x10004847
mov edx, dword [ebp - 0x84]
cmp dword [ebp - 0x9c], 8
ja 0x10004981
mov eax, dword [ebp - 0x90]
lea ecx, [edx + 0x1e]
cmp eax, ecx
jbe 0x10004882
int3
sub al, dl
mov byte [edx + 0x36], bl
push ebx
mov byte [edx + 0x1e], al
lea eax, [edx + 0x20]
push esi
push eax
call fcn.10009f00
add esp, 0xc
cmp ebx, 0x19
jbe 0x100048be
mov ebx, dword [ebp - 0x84]
mov edi, 6
jmp 0x1000499e
cmp al, 0xff
jne 0x10004815
cmp byte [ecx + 1], 0x25
jmp 0x10004837
mov edi, dword [ebp - 0x84]
lea edx, [esi + ebx]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], 0
movzx ecx, byte [edi + 0x1e]
add ecx, edi
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], edx
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub edx, eax
mov dword [ecx + 1], edx
lea edx, [edi + 0x1e]
add ecx, 5
mov eax, edx
sub eax, ecx
cmp ecx, edx
cmova eax, dword [ebp - 0x98]
test eax, eax
je 0x10004914
push eax
push 0xcc
push ecx
call fcn.1000a480
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000493d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0x84]
mov edi, eax
jmp 0x1000499e
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa0]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov dword [ecx + 0x10], edi
mov dword [ecx + 0xc], esi
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [0x1001e8b4]
mov dword [ecx], eax
xor eax, eax
mov dword [0x1001e8b4], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10008800
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x1001e830], 0
mov edi, 9
mov ebx, dword [ebp - 0x84]
jne 0x100049b4
jmp 0x1000499e
xor ebx, ebx
mov edi, 8
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x94], eax
mov dword [0x1001e89c], edi
test ebx, ebx
je 0x100049d8
push 0x48
push 0
mov esi, ebx
push ebx
and esi, 0xffff0000
call fcn.1000a480
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x94]
mov dword [esi + 8], ebx
test eax, eax
je 0x100049e7
push 0x18
push eax
call fcn.10008931
add esp, 8
mov eax, dword [ebp - 0xa0]
mov dword [0x1001e8a8], eax
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008800
mov esp, ebp
pop ebp
ret 0xc