Function at 0x100dba80
Capabilities:
Resume thread

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x2d8], eax
mov eax, dword [esp + 0x2e0]
push ebp
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0xc], eax
je 0x100dbab0
mov ecx, dword [0x102ca214]
mov dword [eax], ecx
mov dh, dh
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x102ca20c], eax
je 0x100dbadb
mov eax, 0x10dd
pop ebp
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.100fc49a
add esp, 0x2dc
ret 4
cmp dword [0x102ca210], ebp
je 0x100dbaf1
mov dl, dl
call fcn.100db980
mov bl, bl
jmp 0x100dbdf9
push ebx
push esi
push edi
nop
mov ebx, ebx
mov bh, bh
mov esi, dword [0x102ca21c]
cmp esi, ebp
je 0x100dbbe5
mov ebx, 0xd
lea esp, [esp]
cmp dword [esi + 4], ebp
je 0x100dbb8e
mov eax, dword [esi + 0x10]
mov cl, cl
mov edx, dword [esi + 0x10]
mov edi, dword [edx + 0x20]
mov ebp, ebp
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x17]
cmp edi, edx
jge 0x100dbb62
lea ecx, [ecx]
mov dword [esp + 0x10], ebp
mov esi, esi
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
add edx, edi
push edx
call fcn.100dc640
mov ebp, ebp
cmp dword [esp + 0x10], ebp
jne 0x100dbb62
mov edi, eax
sub edi, dword [esi + 0x10]
push ebx
pop ebx
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x17]
cmp edi, edx
jl 0x100dbb30
mov eax, dword [esi + 0x10]
movzx ecx, byte [eax + 0x17]
cmp edi, ecx
je 0x100dbb82
mov dword [0x102ca210], ebx
mov cl, cl
mov edx, dword [esi + 8]
mov dword [0x102ca214], edx
mov bh, bh
push eax
pop eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov ecx, ecx
jmp 0x100dbbdb
mov ebp, ebp
mov cl, cl
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
add eax, dword [esi + 0xc]
lea edx, [eax + 5]
push ebx
pop ebx
mov byte [eax], 0xe9
add eax, 1
sub ecx, edx
mov dword [eax], ecx
mov ebp, ebp
push ebx
pop ebx
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0x18]
add eax, 4
cmp eax, ecx
jae 0x100dbbcc
mov edi, edi
mov byte [eax], 0xcc
add eax, 1
mov dl, dl
cmp eax, ecx
jb 0x100dbbc0
nop
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov ch, ch
mov cl, cl
mov cl, cl
mov esi, dword [esi]
cmp esi, ebp
jne 0x100dbb10
mov edi, dword [0x102ca218]
cmp edi, ebp
je 0x100dbcbf
mov ebp, dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov ebx, dword [sym.imp.KERNEL32.DLL_SetThreadContext]
nop
push edx
pop edx
mov dword [esp + 0x1c], 0x10001
mov ch, ch
mov eax, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call ebp
test eax, eax
je 0x100dbcb3
mov esi, dword [0x102ca21c]
test esi, esi
je 0x100dbcb3
mov eax, dword [esp + 0xd4]
cmp dword [esi + 4], 0
je 0x100dbc6e
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jb 0x100dbcad
lea edx, [ecx + 4]
cmp eax, edx
jae 0x100dbcad
sub eax, ecx
mov dword [esp + 0xd4], eax
mov ecx, ecx
mov eax, dword [esi + 0xc]
add dword [esp + 0xd4], eax
push ebx
pop ebx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebx
push ecx
pop ecx
jmp 0x100dbca6
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x100dbcad
mov edx, dword [esi + 0x10]
movzx edx, byte [edx + 0x17]
add edx, ecx
cmp eax, edx
jae 0x100dbcad
sub eax, ecx
mov dword [esp + 0xd4], eax
mov dh, dh
mov eax, dword [esi + 0x10]
add dword [esp + 0xd4], eax
mov dh, dh
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebx
mov cl, cl
mov eax, dword [esp + 0xd4]
mov esi, dword [esi]
test esi, esi
jne 0x100dbc34
mov edi, dword [edi]
test edi, edi
jne 0x100dbc00
xor ebp, ebp
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov ebx, eax
mov ecx, ecx
mov esi, dword [0x102ca21c]
cmp esi, ebp
je 0x100dbd74
mov ebp, dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
lea ecx, [ecx]
push ebx
pop ebx
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x10]
push eax
movzx eax, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.100af6f0
push eax
pop eax
mov edx, dword [esi + 0x10]
movzx eax, byte [edx + 0x17]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
call ebp
nop
xor ecx, ecx
cmp dword [esi + 4], ecx
je 0x100dbd58
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x100dbd58
mov edx, eax
and edx, 0xffff0000
mov bl, bl
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 dword [eax + 0x20], ecx
mov dh, dh
mov edi, dword [edx + 8]
mov dword [eax + 0x18], edi
mov ebp, ebp
mov dword [edx + 8], eax
mov ah, ah
push edx
pop edx
mov dword [esi + 0x10], ecx
mov ebp, ebp
mov esi, esi
mov edi, dword [esi]
mov ah, ah
push esi
call fcn.100eae6b
add esp, 4
nop
mov esi, edi
mov eax, eax
test edi, edi
jne 0x100dbce0
xor ebp, ebp
mov dword [0x102ca21c], ebp
mov esi, esi
mov esi, dword [0x102ca200]
cmp esi, ebp
je 0x100dbda3
xchg ebx, eax
xchg ebx, eax
lea edx, [esp + 0x14]
push edx
push 0x20
push 0x10000
push esi
call fcn.100af6f0
mov bh, bh
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x100dbd86
mov ch, ch
mov esi, dword [0x102ca218]
cmp esi, ebp
je 0x100dbdd4
mov ebx, dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [esi + 4]
push eax
call ebx
push ecx
pop ecx
mov edi, dword [esi]
mov dl, dl
push esi
call fcn.100eae6b
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov esi, edi
push edx
pop edx
cmp edi, ebp
jne 0x100dbdb5
mov dword [0x102ca218], ebp
mov ah, ah
mov dword [0x102ca20c], ebp
mov esi, esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
pop edi
pop esi
pop ebx
je 0x100dbdf9
mov ecx, dword [0x102ca214]
mov dword [eax], ecx
mov ah, ah
mov ecx, dword [esp + 0x2dc]
mov eax, dword [0x102ca210]
pop ebp
xor ecx, esp
call fcn.100fc49a
add esp, 0x2dc
ret 4