Function at 0x100ed8c3
Capabilities:
Hook routines via microsoft detours
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014bcbc
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x101cd15c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp dword [0x101d73d8], eax
je 0x100ed909
mov eax, 0x10dd
jmp 0x100edb81
cmp dword [0x101d73cc], 0
je 0x100ed91c
call fcn.10108418
jmp 0x100edb7c
mov edi, dword [0x101d73c0]
mov byte [ebp - 0x2dd], 0
jmp 0x100ed979
cmp dword [edi + 4], 0
je 0x100ed94d
mov ecx, dword [edi + 0x10]
movzx eax, byte [ecx + 0x36]
push eax
lea eax, [ecx + 0x20]
push eax
push dword [edi + 0xc]
call fcn.100fcb53
mov eax, dword [edi + 0xc]
add esp, 0xc
jmp 0x100ed972
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0xc]
mov ecx, dword [eax + 0x44]
lea eax, [esi + 5]
mov byte [esi], 0xe9
sub ecx, eax
mov dword [esi + 1], ecx
lea ecx, [esi + 5]
mov edx, dword [edi + 0x10]
mov edx, dword [edx + 0x40]
call fcn.100ed3db
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov dword [ecx], eax
mov edi, dword [edi]
test edi, edi
jne 0x100ed92b
mov edi, dword [0x101d73c8]
jmp 0x100eda61
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], 0x10001
push eax
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_GetThreadContext]
test eax, eax
je 0x100eda5f
mov esi, dword [0x101d73c0]
test esi, esi
je 0x100eda5f
mov ecx, dword [ebp - 0x224]
cmp dword [esi + 4], 0
je 0x100ed9ff
mov edx, dword [esi + 0x10]
cmp ecx, edx
jb 0x100eda55
lea eax, [edx + 4]
cmp ecx, eax
jae 0x100eda55
xor ebx, ebx
sub cl, dl
mov dl, byte [edx + ebx + 0x38]
mov al, dl
shr al, 3
cmp al, cl
je 0x100ed9f4
mov edx, dword [esi + 0x10]
inc ebx
cmp ebx, 8
jb 0x100ed9da
xor dl, dl
jmp 0x100ed9f7
and dl, 7
movzx eax, dl
add eax, dword [esi + 0xc]
jmp 0x100eda39
cmp ecx, dword [esi + 0xc]
jb 0x100eda55
mov ebx, dword [esi + 0x10]
movzx eax, byte [ebx + 0x36]
add eax, dword [esi + 0xc]
cmp ecx, eax
jae 0x100eda55
xor edx, edx
sub cl, byte [esi + 0xc]
mov bl, byte [ebx + edx + 0x38]
mov al, bl
and al, 7
cmp al, cl
je 0x100eda30
mov ebx, dword [esi + 0x10]
inc edx
cmp edx, 8
jb 0x100eda17
xor eax, eax
jmp 0x100eda36
movzx eax, bl
shr eax, 3
add eax, dword [esi + 0x10]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x2dc]
push eax
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_SetThreadContext]
mov ecx, dword [ebp - 0x224]
mov esi, dword [esi]
test esi, esi
jne 0x100ed9be
mov edi, dword [edi]
test edi, edi
jne 0x100ed988
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
mov edi, dword [0x101d73c0]
mov ebx, eax
test edi, edi
je 0x100edad4
lea eax, [ebp - 0x2e4]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
call dword [sym.imp.kernel32.dll_VirtualProtect]
mov eax, dword [edi + 0x10]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_FlushInstructionCache]
cmp dword [edi + 4], 0
je 0x100edac5
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x100edac5
call fcn.100ed723
and dword [edi + 0x10], 0
mov byte [ebp - 0x2dd], 1
mov esi, dword [edi]
push edi
call fcn.10108418
mov edi, esi
pop ecx
test esi, esi
jne 0x100eda7b
xor ebx, ebx
mov dword [0x101d73c0], ebx
cmp byte [ebp - 0x2dd], bl
je 0x100edb49
cmp dword [0x101d73dc], ebx
jne 0x100edb49
mov ecx, dword [0x101d73e0]
mov esi, 0x101d73e0
jmp 0x100edb45
cmp dword [ecx], 0x52727464
jne 0x100edb40
lea edi, [ecx + 0x10000]
mov eax, ebx
lea edx, [ecx + 0x88]
cmp dword [edx], ebx
je 0x100edb1b
cmp dword [edx], ecx
jb 0x100edb40
cmp dword [edx], edi
jae 0x100edb40
inc eax
add edx, 0x48
cmp eax, 0x38d
jb 0x100edb0f
mov eax, dword [ecx + 4]
push 0x8000
push ebx
push ecx
mov dword [esi], eax
call dword [sym.imp.kernel32.dll_VirtualFree]
mov dword [0x101d73d4], ebx
jmp 0x100edb43
lea esi, [ecx + 4]
mov ecx, dword [esi]
test ecx, ecx
jne 0x100edaf9
call fcn.10108418
mov edi, dword [0x101d73c8]
test edi, edi
je 0x100edb70
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov esi, dword [edi]
push edi
call fcn.10108418
mov edi, esi
pop ecx
test esi, esi
jne 0x100edb58
mov dword [0x101d73c8], ebx
mov dword [0x101d73d8], ebx
mov eax, dword [0x101d73cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fa279
leave
ret