Function at 0x100e4270
Capabilities:
Resume thread

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x101af0fc]
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 0x100e42a0
mov ecx, dword [0x101c8224]
mov dword [eax], ecx
mov cl, cl
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x101c821c], eax
je 0x100e42cb
mov eax, 0x10dd
pop ebp
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.1010190d
add esp, 0x2dc
ret 4
cmp dword [0x101c8220], ebp
je 0x100e42e1
test dh, dh
call fcn.100e4170
mov al, al
jmp 0x100e4608
push ebx
push esi
push edi
test esi, esi
test cl, cl
nop
mov esi, dword [0x101c822c]
cmp esi, ebp
je 0x100e43d9
mov ebx, 0xd
lea esp, [esp]
cmp dword [esi + 4], ebp
je 0x100e4380
mov eax, dword [esi + 0x10]
test al, al
mov edx, dword [esi + 0x10]
mov edi, dword [edx + 0x20]
test cl, cl
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x17]
cmp edi, edx
jge 0x100e4352
lea ecx, [ecx]
mov dword [esp + 0x10], ebp
push eax
pop eax
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
add edx, edi
push edx
call fcn.100e4d80
test ecx, ecx
cmp dword [esp + 0x10], ebp
jne 0x100e4352
mov edi, eax
sub edi, dword [esi + 0x10]
test dl, dl
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x17]
cmp edi, edx
jl 0x100e4320
mov eax, dword [esi + 0x10]
movzx ecx, byte [eax + 0x17]
cmp edi, ecx
je 0x100e4375
mov dword [0x101c8220], ebx
mov cl, cl
mov edx, dword [esi + 8]
mov dword [0x101c8224], edx
test eax, 0x454d
mov edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
nop
jmp 0x100e43cf
test eax, 0x214a
test bl, bl
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
add eax, dword [esi + 0xc]
lea edx, [eax + 5]
mov bl, bl
mov byte [eax], 0xe9
add eax, 1
sub ecx, edx
mov dword [eax], ecx
test ebx, ebx
mov ch, ch
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0x18]
add eax, 4
cmp eax, ecx
jae 0x100e43bf
mov byte [eax], 0xcc
add eax, 1
test dl, dl
cmp eax, ecx
jb 0x100e43b3
mov edi, edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
test cl, cl
test ecx, ecx
test edi, edi
mov esi, dword [esi]
cmp esi, ebp
jne 0x100e4300
mov edi, dword [0x101c8228]
cmp edi, ebp
je 0x100e44b9
mov ebp, dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov ebx, dword [sym.imp.KERNEL32.DLL_SetThreadContext]
test bh, bh
mov dword [esp + 0x1c], 0x10001
push ebx
pop ebx
mov eax, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call ebp
test eax, eax
je 0x100e44ad
mov esi, dword [0x101c822c]
test esi, esi
je 0x100e44ad
mov eax, dword [esp + 0xd4]
cmp dword [esi + 4], 0
je 0x100e4464
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jb 0x100e44a3
lea edx, [ecx + 4]
cmp eax, edx
jae 0x100e44a3
sub eax, ecx
mov dword [esp + 0xd4], eax
test eax, 0x3224
mov eax, dword [esi + 0xc]
add dword [esp + 0xd4], eax
mov ch, ch
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebx
test ecx, ecx
jmp 0x100e449c
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x100e44a3
mov edx, dword [esi + 0x10]
movzx edx, byte [edx + 0x17]
add edx, ecx
cmp eax, edx
jae 0x100e44a3
sub eax, ecx
mov dword [esp + 0xd4], eax
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esi + 0x10]
add dword [esp + 0xd4], eax
test al, al
mov edx, dword [edi + 4]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebx
mov bl, bl
mov eax, dword [esp + 0xd4]
mov esi, dword [esi]
test esi, esi
jne 0x100e4427
mov edi, dword [edi]
test edi, edi
jne 0x100e43f3
xor ebp, ebp
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov ebx, eax
test eax, 0x6ea3
mov esi, dword [0x101c822c]
cmp esi, ebp
je 0x100e4578
mov ebp, dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
lea ebx, [ebx]
test bl, bl
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.100b7b80
mov ah, ah
mov edx, dword [esi + 0x10]
movzx eax, byte [edx + 0x17]
mov ecx, dword [esi + 0xc]
push eax
push ecx
push ebx
call ebp
test ch, ch
xor ecx, ecx
cmp dword [esi + 4], ecx
je 0x100e455b
mov eax, dword [esi + 0x10]
cmp eax, ecx
je 0x100e455b
mov edx, eax
and edx, 0xffff0000
mov bh, bh
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 esi, esi
mov edi, dword [edx + 8]
mov dword [eax + 0x18], edi
nop
mov dword [edx + 8], eax
test bl, bl
test bl, bl
mov dword [esi + 0x10], ecx
mov ecx, ecx
test eax, 0x443a
mov edi, dword [esi]
mov bh, bh
push esi
call fcn.100f3570
add esp, 4
mov al, al
mov esi, edi
mov dh, dh
test edi, edi
jne 0x100e44e0
xor ebp, ebp
mov dword [0x101c822c], ebp
mov ch, ch
mov esi, dword [0x101c8210]
cmp esi, ebp
je 0x100e45ad
lea ebx, [ebx]
xchg ebx, eax
xchg ebx, eax
lea edx, [esp + 0x14]
push edx
push 0x20
push 0x10000
push esi
call fcn.100b7b80
test ah, ah
mov esi, dword [esi + 4]
cmp esi, ebp
jne 0x100e4590
test eax, 0x4d2c
mov esi, dword [0x101c8228]
cmp esi, ebp
je 0x100e45e4
mov ebx, dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, dword [esi + 4]
push eax
call ebx
test eax, 0x3c6
mov edi, dword [esi]
push ebx
pop ebx
push esi
call fcn.100f3570
add esp, 4
test ch, ch
mov esi, edi
test ecx, ecx
cmp edi, ebp
jne 0x100e45c2
mov dword [0x101c8228], ebp
nop
mov dword [0x101c821c], ebp
mov ecx, ecx
mov eax, dword [esp + 0x18]
cmp eax, ebp
pop edi
pop esi
pop ebx
je 0x100e4608
mov ecx, dword [0x101c8224]
mov dword [eax], ecx
mov ebp, ebp
mov ecx, dword [esp + 0x2dc]
mov eax, dword [0x101c8220]
pop ebp
xor ecx, esp
call fcn.1010190d
add esp, 0x2dc
ret 4