Function at 0x100dcb20
Capabilities:
Resume thread

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x2d8], eax
mov eax, dword [esp + 0x2e0]
push ebp
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 8], eax
je 0x100dcb4e
mov ecx, dword [0x102cf1c4]
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x102cf1bc], eax
je 0x100dcb79
mov eax, 0x10dd
pop ebp
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.101003d3
add esp, 0x2dc
ret 4
cmp dword [0x102cf1c0], ebp
je 0x100dcb8b
call fcn.100dca40
jmp 0x100dce06
push ebx
push esi
mov esi, dword [0x102cf1cc]
cmp esi, ebp
push edi
je 0x100dcc46
mov ebx, 0xd
cmp dword [esi + 4], ebp
mov eax, dword [esi + 0x10]
je 0x100dcc00
mov edi, dword [eax + 0x20]
mov edx, eax
movzx ecx, byte [edx + 0x17]
cmp edi, ecx
jge 0x100dcbe1
lea edx, [esp + 0x10]
push edx
push ebp
push eax
mov eax, dword [esi + 0xc]
add eax, edi
push eax
mov dword [esp + 0x20], ebp
call fcn.100dd4e0
cmp dword [esp + 0x10], ebp
jne 0x100dcbe1
mov ecx, dword [esi + 0x10]
mov edi, eax
sub edi, ecx
movzx ecx, byte [ecx + 0x17]
cmp edi, ecx
jl 0x100dcbb6
mov edx, dword [esi + 0x10]
movzx eax, byte [edx + 0x17]
cmp edi, eax
je 0x100dcbfb
mov ecx, dword [esi + 8]
mov dword [0x102cf1c0], ebx
mov dword [0x102cf1c4], ecx
mov eax, dword [esi + 0xc]
jmp 0x100dcc37
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
add eax, dword [esi + 0xc]
mov byte [eax], 0xe9
lea edx, [eax + 5]
sub ecx, edx
add eax, 1
mov dword [eax], ecx
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x18]
add eax, 4
cmp eax, ecx
jae 0x100dcc34
sub ecx, eax
push ecx
push 0xcc
push eax
call fcn.10100e30
add esp, 0xc
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov esi, dword [esi]
cmp esi, ebp
jne 0x100dcba1
mov edi, dword [0x102cf1c8]
cmp edi, ebp
je 0x100dccf5
mov ebp, dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov ebx, dword [sym.imp.KERNEL32.DLL_SetThreadContext]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], 0x10001
call ebp
test eax, eax
je 0x100dcce9
mov esi, dword [0x102cf1cc]
test esi, esi
je 0x100dcce9
mov eax, dword [esp + 0xd4]
cmp dword [esi + 4], 0
je 0x100dccaa
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jb 0x100dcce3
lea edx, [ecx + 4]
cmp eax, edx
jae 0x100dcce3
sub eax, ecx
mov dword [esp + 0xd4], eax
add eax, dword [esi + 0xc]
jmp 0x100dccca
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x100dcce3
mov edx, dword [esi + 0x10]
movzx edx, byte [edx + 0x17]
add edx, ecx
cmp eax, edx
jae 0x100dcce3
sub eax, ecx
mov dword [esp + 0xd4], eax
add eax, dword [esi + 0x10]
mov ecx, dword [edi + 4]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x1c]
push eax
push ecx
call ebx
mov eax, dword [esp + 0xd4]
mov esi, dword [esi]
test esi, esi
jne 0x100dcc88
mov edi, dword [edi]
test edi, edi
jne 0x100dcc60
xor ebp, ebp
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov esi, dword [0x102cf1cc]
cmp esi, ebp
mov ebx, eax
je 0x100dcd89
mov ebp, dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x10]
push edx
movzx edx, byte [ecx + 0x17]
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
call fcn.100b31c0
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x17]
mov eax, dword [esi + 0xc]
push edx
push eax
push ebx
call ebp
xor ecx, ecx
cmp dword [esi + 4], ecx
je 0x100dcd76
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x100dcd76
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov edx, eax
mov dword [eax + 0x20], ecx
and edx, 0xffff0000
mov edi, dword [edx + 8]
mov dword [eax + 0x18], edi
mov dword [edx + 8], eax
mov dword [esi + 0x10], ecx
mov edi, dword [esi]
push esi
call fcn.100eedad
add esp, 4
test edi, edi
mov esi, edi
jne 0x100dcd11
xor ebp, ebp
mov esi, dword [0x102cf1b0]
cmp esi, ebp
mov dword [0x102cf1cc], ebp
je 0x100dcdb9
lea esp, [esp]
lea ecx, [esp + 0x18]
push ecx
push 0x20
push 0x10000
push esi
call fcn.100b31c0
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x100dcda0
mov esi, dword [0x102cf1c8]
cmp esi, ebp
je 0x100dcde7
mov ebx, dword [sym.imp.KERNEL32.DLL_ResumeThread]
lea esp, [esp]
mov edx, dword [esi + 4]
push edx
call ebx
mov edi, dword [esi]
push esi
call fcn.100eedad
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100dcdd0
mov eax, dword [esp + 0x14]
cmp eax, ebp
pop edi
pop esi
mov dword [0x102cf1c8], ebp
mov dword [0x102cf1bc], ebp
pop ebx
je 0x100dce06
mov ecx, dword [0x102cf1c4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2dc]
mov eax, dword [0x102cf1c0]
pop ebp
xor ecx, esp
call fcn.101003d3
add esp, 0x2dc
ret 4