Function at 0x48bdd0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5edd38]
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 0x48c018
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x5f17b8], eax
test eax, eax
je 0x48c018
xor esi, esi
mov dword [ebp - 0x70], 0x30
push 0x7f00
push esi
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], 0x48c0e0
mov dword [ebp - 0x64], 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 [0x5ed234]
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.0048c630
movzx eax, ax
mov ebx, eax
test bx, bx
je 0x48bed9
push esi
push edi
push esi
push esi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x5885af
push dword [0x5ed234]
push esi
call fcn.0048c4e0
mov esi, eax
mov dword [0x5f17b4], esi
test esi, esi
je 0x48c018
call fcn.0048c040
test al, al
jne 0x48bff7
push 0x48c080
push 0x1f4
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, eax
test esi, esi
je 0x48bff7
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x5f17b8], eax
test eax, eax
je 0x48bfee
push 0x5f17c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x18]
mov byte [0x5f17d8], 0
push eax
push 0
push 1
push 0x48c1c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5f17bc], eax
test eax, eax
je 0x48bfcd
nop
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x48bf8f
cmp eax, 0xffffffff
je 0x48bf8f
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 0x48bf60
call fcn.0048c180
push 0x1388
push dword [0x5f17bc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48bfb7
push 0
push dword [0x5f17bc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x5f17bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5f17bc], 0
push dword [0x5f17b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5f17c0
mov dword [0x5f17b8], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x5f17b4]
test eax, eax
je 0x48c007
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
test bx, bx
je 0x48c018
push edi
push dword [0x5ed234]
call fcn.0048c720
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.00401682
mov esp, ebp
pop ebp
ret 0x10