Function at 0x10109ca0
Capabilities:
Resume thread

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x101e5aec]
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 0x10109cd8
mov ecx, dword [0x102fd96c]
mov dword [eax], ecx
cmp dword [0x101d33bc], 0xffff8fd8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x102fd964], eax
je 0x10109d03
mov eax, 0x10dd
pop ebp
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x2dc
ret 4
cmp dword [0x102fd968], ebp
je 0x10109d21
cmp dword [0x101d33b8], 0x6a12
call fcn.10109b20
mov ch, ch
jmp 0x1010a0fc
push ebx
push esi
push edi
cmp dword [0x101d33b4], 0x4788
push edx
pop edx
mov bl, bl
mov esi, dword [0x102fd974]
cmp esi, ebp
je 0x10109e4e
mov ebx, 0xd
cmp dword [esi + 4], ebp
je 0x10109dd5
mov eax, dword [esi + 0x10]
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esi + 0x10]
mov edi, dword [edx + 0x20]
cmp dword [0x101d33ac], 0x3932
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x17]
cmp edi, edx
jge 0x10109da2
mov edi, edi
mov dword [esp + 0x10], ebp
mov ah, ah
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
add edx, edi
push edx
call fcn.1010abe0
mov esi, esi
cmp dword [esp + 0x10], ebp
jne 0x10109da2
mov edi, eax
sub edi, dword [esi + 0x10]
mov ebx, ebx
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x17]
cmp edi, edx
jl 0x10109d70
mov eax, dword [esi + 0x10]
movzx ecx, byte [eax + 0x17]
cmp edi, ecx
je 0x10109dc9
mov dword [0x102fd968], ebx
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esi + 8]
mov dword [0x102fd96c], edx
nop
cmp dword [0x101d33ac], 0xffffc6cd
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov edi, edi
jmp 0x10109e44
mov ecx, ecx
push edx
pop edx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
add eax, dword [esi + 0xc]
lea edx, [eax + 5]
cmp dword [0x101d33ac], 0x3932
mov byte [eax], 0xe9
add eax, 1
sub ecx, edx
mov dword [eax], ecx
mov ecx, ecx
mov ebx, ebx
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0x18]
add eax, 4
cmp eax, ecx
jae 0x10109e24
lea ecx, [ecx]
mov byte [eax], 0xcc
add eax, 1
cmp dword [0x101d33a0], 0x8d5
cmp eax, ecx
jb 0x10109e10
mov edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
cmp dword [0x101d33a0], 0xfffff72a
cmp dword [0x101d33a4], 0x5a35
mov ch, ch
mov esi, dword [esi]
cmp esi, ebp
jne 0x10109d45
mov edi, dword [0x102fd970]
cmp edi, ebp
je 0x10109f5b
mov ebp, dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadContext]
jmp 0x10109e70
cmp dword [0x101d33a8], 0xffffb253
mov dword [esp + 0x1c], 0x10001
mov dh, dh
mov eax, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call ebp
test eax, eax
je 0x10109f4f
mov esi, dword [0x102fd974]
test esi, esi
je 0x10109f4f
mov eax, dword [esp + 0xd4]
lea esp, [esp]
cmp dword [esi + 4], 0
je 0x10109ef6
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jb 0x10109f45
lea edx, [ecx + 4]
cmp eax, edx
jae 0x10109f45
sub eax, ecx
mov dword [esp + 0xd4], eax
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esi + 0xc]
add dword [esp + 0xd4], eax
cmp dword [0x101d33a0], 0x8d5
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebx
mov dh, dh
jmp 0x10109f3e
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x10109f45
mov edx, dword [esi + 0x10]
movzx edx, byte [edx + 0x17]
add edx, ecx
cmp eax, edx
jae 0x10109f45
sub eax, ecx
mov dword [esp + 0xd4], eax
cmp dword [0x101d33b4], 0x4788
mov eax, dword [esi + 0x10]
add dword [esp + 0xd4], eax
mov ah, ah
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebx
cmp dword [0x101d33b4], 0x4788
mov eax, dword [esp + 0xd4]
mov esi, dword [esi]
test esi, esi
jne 0x10109eb0
mov edi, dword [edi]
test edi, edi
jne 0x10109e70
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
cmp dword [0x101d33a8], 0x4dac
mov esi, dword [0x102fd974]
cmp esi, ebp
je 0x1010a057
mov ebp, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, ecx
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.100d6cf0
cmp dword [0x101d339c], 0x2cf9
mov edx, dword [esi + 0x10]
movzx eax, byte [edx + 0x17]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
call ebp
cmp dword [0x101d33a8], 0x4dac
xor ecx, ecx
cmp dword [esi + 4], ecx
je 0x1010a02a
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x1010a02a
mov edx, eax
and edx, 0xffff0000
cmp dword [0x101d33b8], 0x6a12
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
cmp dword [0x101d33a0], 0x8d5
mov edi, dword [edx + 8]
mov dword [eax + 0x18], edi
cmp dword [0x101d33b4], 0xffffb877
mov dword [edx + 8], eax
mov ebx, ebx
push eax
pop eax
mov dword [esi + 0x10], ecx
mov edx, edx
cmp dword [0x101d33b8], 0xffff95ed
mov edi, dword [esi]
cmp dword [0x101d33a4], 0x5a35
push esi
call fcn.1011cdeb
add esp, 4
cmp dword [0x101d339c], 0xffffd306
mov esi, edi
mov ah, ah
test edi, edi
jne 0x10109f81
xor ebp, ebp
mov dword [0x102fd974], ebp
cmp dword [0x101d339c], 0xffffd306
mov esi, dword [0x102fd958]
cmp esi, ebp
je 0x1010a096
mov ch, ch
lea edx, [esp + 0x14]
push edx
push 0x20
push 0x10000
push esi
call fcn.100d6cf0
cmp dword [0x101d33a0], 0x8d5
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x1010a071
cmp dword [0x101d33b0], 0x6ed3
mov esi, dword [0x102fd970]
cmp esi, ebp
je 0x1010a0d7
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 4]
push eax
call ebx
mov edi, edi
mov edi, dword [esi]
push eax
pop eax
push esi
call fcn.1011cdeb
add esp, 4
mov ebp, ebp
mov esi, edi
cmp dword [0x101d33ac], 0x3932
cmp edi, ebp
jne 0x1010a0b0
mov dword [0x102fd970], ebp
mov dl, dl
mov dword [0x102fd964], ebp
push eax
pop eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
pop edi
pop esi
pop ebx
je 0x1010a0fc
mov ecx, dword [0x102fd96c]
mov dword [eax], ecx
push eax
pop eax
mov ecx, dword [esp + 0x2dc]
mov eax, dword [0x102fd968]
pop ebp
xor ecx, esp
call fcn.1012e3ba
add esp, 0x2dc
ret 4