Function at 0x488b1c
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 0x488b35
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x488b38
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 0x488b76
mov esi, dword [ebp + 0x28]
cmp dword [esi + 0x10], edi
je 0x488b66
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x488b66
mov eax, dword [eax + 0x18]
jmp 0x488b6c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, edi
mov dword [ebp + 0x3c], eax
jne 0x488b76
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 0x488b8e
mov edi, eax
cmp bl, 0x80
jne 0x488d12
push dword [ebp + 0x10]
call esi
push dword [0x4e3d54]
and dword [ebp + 0x38], 0
inc eax
add eax, 0x1a4
push eax
lea ecx, [ebp + 0x3c]
call fcn.004505d1
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.00414839
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 0x4887d6
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 [0x4e34d4], ecx
je 0x488cf0
mov eax, dword [ebp - 0x10]
shr eax, 8
not eax
xor ebx, ebx
and eax, 1
mov dword [ebp - 0x18], eax
je 0x488ca3
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, 0x4e3d84
push edi
mov dword [esi + 0x338], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x4e34c8], 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 0x488cf0
test ebx, ebx
je 0x488cf0
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.00448c53
add esp, 0xc
lea ecx, [ebp + 0x3c]
call fcn.0043fe25
xor eax, eax
jmp 0x488f38
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], eax
je 0x488d29
cmp dword [eax + 0x128], esi
je 0x488d29
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x3c]
cmp eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], eax
jne 0x488d3f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0xc], eax
cmp ebx, 0x40
je 0x488d56
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x488d56
cmp dword [ebp + 0x38], esi
jne 0x488d56
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.004b4768
cmp eax, esi
pop ecx
je 0x488d7f
push 0x2720
push dword [ebp - 0xc]
mov ecx, eax
call fcn.00401065
jmp 0x488d81
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.0045066c
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.00414839
and word [esi + edi*2 + 0xec], 0
mov edi, dword [ebp - 4]
push edi
call fcn.004406ae
push esi
mov dword [ebp + 0x20], eax
call fcn.00406378
add esp, 0x14
test edi, edi
je 0x488e1e
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 0x488e34
push eax
lea ecx, [esi + 0xc4]
call fcn.0045066c
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 0x488ea5
cmp dword [ebp + 0x20], 0
mov dword [esi + 0x94], edi
mov byte [esi + 0xc0], 1
je 0x488e9f
mov edi, 0x4e3d84
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 0x488eac
mov byte [esi + 0xc0], 0x10
xor eax, eax
cmp edi, eax
je 0x488ec2
cmp dword [ebx + 0x10], eax
je 0x488ec2
mov ecx, dword [edi + 0x18]
mov dword [esi + 0xe0], ecx
jmp 0x488ec5
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.004428a4
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
cmp dword [ebp - 0x10], 0x40
push 0
jne 0x488ef2
mov ecx, esi
call fcn.004a45e3
jmp 0x488f10
cmp dword [ebp - 0x10], 0xc0
jne 0x488f09
push 0
push 0x110
push dword [esi + 0x18]
call edi
jmp 0x488f19
mov ecx, esi
call fcn.004a48e0
mov eax, dword [esi + 0x298]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x20], 0
je 0x488f2d
push 0
push 1
push 0x451
push dword [ebp + 0x20]
call edi
lea ecx, [ebp + 0x38]
call fcn.00445f95
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret