Function at 0x484ae0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d290
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
cmp byte [ebp - 0x24], 1
jne 0x484d38
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x5cb4cc], eax
test eax, eax
je 0x484d38
push 0x30
xor esi, esi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x70], 0x30
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], 0x484e00
mov dword [ebp - 0x64], esi
push 0x7f00
push esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
mov dword [ebp - 0x54], eax
mov eax, dword [0x5c7234]
push esi
mov dword [ebp - 0x50], 6
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00485390
movzx eax, ax
mov ebx, eax
test bx, bx
je 0x484bf8
push esi
push edi
push esi
push esi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x56ac74
push dword [0x5c7234]
push esi
call fcn.00485240
mov esi, eax
mov dword [0x5cb4c8], esi
test esi, esi
je 0x484d38
call fcn.00484d60
test al, al
jne 0x484d17
push 0x484da0
push 0x1f4
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, eax
test esi, esi
je 0x484d17
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x5cb4cc], eax
test eax, eax
je 0x484d0e
push 0x5cb4d4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x18]
mov byte [0x5cb4ec], 0
push eax
push 0
push 1
push 0x484ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5cb4d0], eax
test eax, eax
je 0x484ced
nop
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x484caf
cmp eax, 0xffffffff
je 0x484caf
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x484c80
call fcn.00484ea0
push 0x1388
push dword [0x5cb4d0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x484cd7
push 0
push dword [0x5cb4d0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x5cb4d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5cb4d0], 0
push dword [0x5cb4cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5cb4d4
mov dword [0x5cb4cc], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x5cb4c8]
test eax, eax
je 0x484d27
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
test bx, bx
je 0x484d38
push edi
push dword [0x5c7234]
call fcn.00485480
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 0x10