Function at 0x486c69
Capabilities:
Create thread

Disassembly:
push 0x80
mov eax, 0x49cb15
call fcn.00497265
mov ebx, ecx
mov dword [ebp - 0x80], ebx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x84], eax
cmp dword [ebx + 0xd0], edi
je 0x486cb9
lea ecx, [ebx + 0xd8]
mov dword [ebx + 0xd4], 1
call fcn.004843fc
push 0xffffffffffffffff
push dword [ebx + 0xd0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebx + 0xd0], edi
lea esi, [ebx + 0x34]
push esi
mov dword [ebp - 0x8c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x84]
lea eax, [ebx + 0x24]
mov dword [ebp - 4], edi
mov ecx, eax
mov dword [ebp - 0x88], eax
call fcn.0045e774
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x486cf4
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.004847d5
cmp dword [ebp - 0x84], 0
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x28], eax
jne 0x486e42
call fcn.0048468d
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebx + 0x88]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [ebp - 0x88], eax
call ebx
push 0x5c
mov edi, eax
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push 0x5c
push dword [eax + 0x88]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
push edi
push dword [ebp - 0x88]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ecx + 0x90], eax
call ebx
mov ebx, dword [ebp - 0x80]
xor eax, eax
lea edi, [ebx + 0xc4]
mov dword [ebx + 0xbc], eax
mov ecx, edi
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], eax
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov eax, dword [edi]
lea ecx, [ebx + 0xd8]
mov dword [edi + 4], eax
xor edi, edi
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0xa4], edi
mov dword [ebx + 0x9c], edi
call fcn.004846f7
lea ecx, [ebx + 0x100]
call fcn.00484734
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x486e62
mov eax, dword [ebx + 0x60]
or eax, dword [ebx + 0x64]
je 0x486e00
mov eax, dword [ebx + 0xa8]
lea eax, [eax*4 + 0xb]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebx + 0xa8]
cdq
push edx
push eax
push dword [ebx + 0x64]
push dword [ebx + 0x60]
call fcn.00497e10
mov edi, dword [ebp - 0x80]
or ecx, ebx
mov ebx, edi
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], edx
je 0x486f00
add dword [ebx + 0xa0], 1
push 0
pop edi
adc dword [ebx + 0xa4], edi
jmp 0x486f02
push dword [ebx + 0x24]
call fcn.004855d6
test eax, eax
jne 0x486d0c
mov ecx, dword [ebp - 0x88]
call fcn.0045fb56
jmp 0x486f20
cmp eax, 1
jne 0x486eaa
mov eax, dword [ebp + 0x10]
mov ecx, ebx
cmp eax, 0xffffffff
jne 0x486e82
lea eax, [ebx + 0x30]
push eax
push dword [ebx + 0x24]
call fcn.00484b59
mov dword [ebx + 0x2c], eax
jmp 0x486eaf
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 0x84]
push eax
push dword [ebx + 0x24]
mov dword [ebp - 0x84], edi
call fcn.00484b59
cmp dword [ebp + 0x10], eax
jne 0x486eaf
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x30], eax
jmp 0x486eaf
cmp eax, 2
jne 0x486edd
push edi
push edi
push ebx
push 0x4871e6
push edi
push edi
mov dword [ebx + 0xd4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push 0xfa
push edi
push dword [ebx + 4]
mov dword [ebx + 0xd0], eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x486f02
cmp eax, 3
jne 0x486f02
push edi
push edi
push ebx
push 0x4871e6
push edi
push edi
mov dword [ebx + 0xd4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xd0], eax
jmp 0x486f02
xor edi, edi
mov ecx, ebx
call fcn.00486f8a
push edi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
call fcn.00497214
ret 0xc