Function at 0x100886fe
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x3c]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x10088717
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x1008871a
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x38]
and dword [ebp + 0x20], 0xf
and ebx, 0x1c0
cmp eax, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x3c], eax
jne 0x10088758
mov esi, dword [ebp + 0x28]
cmp dword [esi + 0x10], edi
je 0x10088748
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x10088748
mov eax, dword [eax + 0x18]
jmp 0x1008874e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, edi
mov dword [ebp + 0x3c], eax
jne 0x10088758
mov dword [esi + 0x10], edi
push dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
mov edi, eax
mov eax, 0xb4
cmp edi, eax
jle 0x10088770
mov edi, eax
cmp bl, 0x80
jne 0x100888f4
push dword [ebp + 0x10]
call esi
push dword [0x100e3d4c]
and dword [ebp + 0x38], 0
inc eax
add eax, 0x1a4
push eax
lea ecx, [ebp + 0x3c]
call fcn.100501d1
mov esi, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x10]
mov dword [esi + 0x294], eax
lea eax, [esi + 0x348]
push eax
mov dword [esi + 0x27c], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0x1c]
lea ebx, [esi + 0xe8]
mov dword [ebx], eax
mov al, byte [ebp + 0x20]
mov byte [esi + 0x288], al
lea eax, [esi + 0x348]
mov dword [esi + 0x284], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x28c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0xd0], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x48], eax
lea eax, [edi + edi]
push eax
push dword [ebp + 0x14]
lea eax, [esi + 0xec]
push eax
mov byte [esi + 0x32c], 0xf0
call fcn.100144ff
and word [esi + edi*2 + 0xec], 0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x330], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x334], eax
lea eax, [ebp + 0x38]
push eax
push 0x10004
push esi
push 0x100883b8
push 0x20000
push 0
mov dword [esi + 0x328], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 0x38]
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x20], eax
mov dword [0x100e34cc], ecx
je 0x100888d2
mov eax, dword [ebp - 0x10]
shr eax, 8
not eax
xor ebx, ebx
and eax, 1
mov dword [ebp - 0x18], eax
je 0x10088885
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov dword [ebp + 0x3c], edi
mov edi, 0x100e3d7c
push edi
mov dword [esi + 0x338], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x100e34c0], 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 0x18], 0
je 0x100888d2
test ebx, ebx
je 0x100888d2
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call esi
push str.__LastTID
push dword [ebp + 0x38]
push dword [ebp + 8]
call fcn.10048821
add esp, 0xc
lea ecx, [ebp + 0x3c]
call fcn.1003f96c
xor eax, eax
jmp 0x10088b1a
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], eax
je 0x1008890b
cmp dword [eax + 0x128], esi
je 0x1008890b
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x3c]
cmp eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], eax
jne 0x10088921
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0xc], eax
cmp ebx, 0x40
je 0x10088938
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x10088938
cmp dword [ebp + 0x38], esi
jne 0x10088938
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push 0x340
mov dword [ebp - 8], esi
mov dword [ebp + 0x38], eax
call fcn.100b4338
cmp eax, esi
pop ecx
je 0x10088961
push 0x2720
push dword [ebp - 0xc]
mov ecx, eax
call fcn.10001065
jmp 0x10088963
xor eax, eax
push dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 8], eax
mov dword [eax + 0x27c], edi
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x280]
mov ecx, ebx
mov dword [esi + 0x294], eax
call fcn.1005026c
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0xe8], eax
mov al, byte [ebp + 0x20]
mov byte [esi + 0x288], al
mov eax, dword [ebx]
mov dword [esi + 0x284], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x28c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0xd0], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x48], eax
lea eax, [edi + edi]
push eax
push dword [ebp + 0x14]
lea eax, [esi + 0xec]
push eax
call fcn.100144ff
and word [esi + edi*2 + 0xec], 0
mov edi, dword [ebp - 4]
push edi
call fcn.1004022c
push esi
mov dword [ebp + 0x20], eax
call fcn.1003a4c6
add esp, 0x14
test edi, edi
je 0x10088a00
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, dword [ebp + 0x28]
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10088a16
push eax
lea ecx, [esi + 0xc4]
call fcn.1005026c
cmp dword [ebp - 0x10], 0xc0
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0xe0], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x330], eax
mov eax, dword [ebp + 0x34]
mov byte [esi + 0xc1], 0
mov dword [esi + 0x334], eax
mov byte [esi + 0xc0], 0
jne 0x10088a87
cmp dword [ebp + 0x20], 0
mov dword [esi + 0x94], edi
mov byte [esi + 0xc0], 1
je 0x10088a81
mov edi, 0x100e3d7c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 4]
inc dword [eax + 0x124]
push edi
mov byte [esi + 0xc0], 9
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 4]
and dword [ebp - 8], 0
jmp 0x10088a8e
mov byte [esi + 0xc0], 0x10
xor eax, eax
cmp edi, eax
je 0x10088aa4
cmp dword [ebx + 0x10], eax
je 0x10088aa4
mov ecx, dword [edi + 0x18]
mov dword [esi + 0xe0], ecx
jmp 0x10088aa7
mov dword [ebx + 0x10], eax
and dword [ebx + 0x14], 0xfffffff3
and dword [ebx + 0x10], 0xfffffff3
push ebx
push dword [ebp - 0xc]
push eax
push esi
call fcn.10042422
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
cmp dword [ebp - 0x10], 0x40
push 0
jne 0x10088ad4
mov ecx, esi
call fcn.100a41a9
jmp 0x10088af2
cmp dword [ebp - 0x10], 0xc0
jne 0x10088aeb
push 0
push 0x110
push dword [esi + 0x18]
call edi
jmp 0x10088afb
mov ecx, esi
call fcn.100a44a6
mov eax, dword [esi + 0x298]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x20], 0
je 0x10088b0f
push 0
push 1
push 0x451
push dword [ebp + 0x20]
call edi
lea ecx, [ebp + 0x38]
call fcn.10045b13
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret