Function at 0x4669c0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ec
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push eax
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x49c], 0
mov byte [ebp - 0x495], 0
call esi
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 4]
mov dword [ebp - 0x468], 0
call esi
mov dword [ebp - 0x4e4], eax
cmp eax, 0xffffffff
je 0x466dee
cmp byte [ebx + 0x14], 0
push edi
jne 0x466c13
lea eax, [ebp - 0x49c]
push 0
push eax
call fcn.00468f70
mov eax, dword [ebx]
add esp, 8
mov edi, dword [ebp - 0x49c]
mov ecx, dword [eax + 0x44]
cmp dword [edi + 0x44], ecx
je 0x466a72
mov eax, dword [edi]
test eax, eax
je 0x466a70
add edi, eax
cmp dword [edi + 0x44], ecx
jne 0x466a61
jmp 0x466a72
xor edi, edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebx]
push dword [eax + 0x44]
push 0
push SysReAllocStringLen
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx + 0xc], eax
cmp dword [0x4ea0b4], 0
je 0x466b01
push 0x4e56a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10027
mov byte [ebp - 0x495], 1
call dword [0x4ea0cc]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x466ad6
push 1
push 0
push eax
call dword [0x4ea0b4]
mov byte [ebx + 0x14], al
cmp byte [ebx + 0x14], 0
jne 0x466b01
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x466aea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push eax
mov dword [ebx + 0xc], eax
call dword [0x4ea0b4]
mov byte [ebx + 0x14], al
push 0x3e8
mov dword [ebp - 0x4a0], 0x3e8
call fcn.0048fb2f
add esp, 4
mov dword [ebx + 8], eax
lea ecx, [ebp - 0x4a0]
push ecx
push 0x3e8
push eax
push 0xb
call dword [0x4ea038]
test eax, eax
je 0x466b6f
push dword [ebx + 8]
call fcn.0048faf7
mov esi, dword [ebp - 0x4a0]
add esi, 0x3e8
push esi
mov dword [ebp - 0x4a0], esi
call fcn.0048fb2f
add esp, 8
mov dword [ebx + 8], eax
lea ecx, [ebp - 0x4a0]
push ecx
push esi
push eax
push 0xb
call dword [0x4ea038]
test eax, eax
jne 0x466b34
mov eax, dword [ebx]
mov dword [ebx + 0x10], 0
test byte [eax + 0x28], 0x10
jne 0x466c13
push 0
push 0
call dword [0x4ea088]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x466c13
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x4b0], eax
lea eax, [ebp - 0x4ec]
push eax
push 0
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4b4], ecx
push eax
push 0x467920
push 0
push 0
call fcn.004929fc
add esp, 0x18
mov esi, eax
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x466be5
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x4ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x4ac], 0
je 0x466c0c
push dword [ebx + 0x10]
call dword [0x4ea090]
mov dword [ebx + 0x10], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x4e0], 0
push eax
push 0
push 0x104b
push dword [ebx + 4]
mov dword [ebp - 0x4e8], 4
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x4c8]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor esi, esi
mov dword [ebp - 0x49c], eax
test dword [edi + 0x884], 0xfffffffc
jbe 0x466dcd
mov eax, dword [edi + 0x880]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x466dbb
cmp eax, 0xffffffff
je 0x466dbb
push dword [ebx + 8]
lea ecx, [ebp - 0x494]
push dword [ebx + 0x10]
push 0
push 0
push dword [ebx + 0xc]
push ecx
push eax
push 1
call fcn.00469270
add esp, 0x20
lea eax, [ebp - 0x460]
mov ecx, 0x4c2d00
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466cda
test dx, dx
je 0x466cd6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466cda
add eax, 4
add ecx, 4
test dx, dx
jne 0x466cb4
xor eax, eax
jmp 0x466cdf
sbb eax, eax
or eax, 1
test eax, eax
je 0x466dbb
push dword [ebp - 0x4a4]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x4e8], 5
push 0x4b6aa0
push eax
mov dword [ebp - 0x4e4], VariantInit
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4dc], 0
call fcn.004406f0
lea eax, [ebp - 0x204]
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4d4], eax
add esp, 0xc
mov eax, dword [ebp - 0x4a4]
inc eax
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0x4e8]
push eax
push 0
push 0x104d
push dword [ebp - 0x4a8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x466ded
mov dword [ebp - 0x4e4], eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x4d4], eax
lea eax, [ebp - 0x4e8]
push eax
push 0
push 0x104c
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4e8], 1
mov dword [ebp - 0x4e0], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x884]
inc esi
shr eax, 2
cmp esi, eax
jb 0x466c70
cmp byte [ebp - 0x495], 0
je 0x466de1
push 0x4e56a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x49c]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret