Function at 0x4477b0
Capabilities:
Create thread

Disassembly:
push 0x88
mov eax, 0x4af3a2
call fcn.004353be
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x88], eax
cmp dword [edi + 0xd0], ebx
je 0x447803
lea ecx, [edi + 0xd8]
mov dword [edi + 0xd4], 1
call fcn.00446e30
push 0xffffffffffffffff
push dword [edi + 0xd0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [edi + 0xd0], ebx
lea esi, [edi + 0x34]
push esi
mov dword [ebp - 0x94], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], ebx
lea eax, [edi + 0x24]
push dword [ebp - 0x88]
mov ecx, eax
mov dword [ebp - 0x90], eax
call fcn.004019b5
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x44783c
push dword [edi + 0x24]
call fcn.004458e0
mov dword [edi + 0x28], eax
lea ecx, [edi + 0x50]
cmp dword [ebp - 0x88], 0
jne 0x447984
call fcn.004472c0
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
push dword [edi + 0x88]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x5c
mov edi, eax
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.00415710
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x8c]
push 0x5c
push dword [eax + 0x88]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x80]
push edi
push ebx
mov dword [ecx + 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0x90], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebp - 0x8c]
xor ebx, ebx
mov dword [edi + 0xbc], ebx
lea ecx, [edi + 0xd8]
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov eax, dword [edi + 0xc4]
mov dword [edi + 0xc8], eax
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0x9c], ebx
call fcn.00446f80
lea ecx, [edi + 0x100]
call fcn.00446300
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x4479a4
mov ecx, dword [edi + 0x60]
or ecx, dword [edi + 0x64]
mov eax, dword [edi + 0xa8]
je 0x447949
lea ecx, [eax*4 + 0xb]
mov dword [edi + 0x9c], ecx
cdq
push edx
push eax
push dword [edi + 0x64]
push dword [edi + 0x60]
call fcn.00435470
or ecx, ebx
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], edx
je 0x447a40
add eax, 1
push 0
pop ebx
adc edx, ebx
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], edx
jmp 0x447a42
push dword [edi + 0x24]
call fcn.00447370
test eax, eax
jne 0x447854
mov ecx, dword [ebp - 0x90]
call fcn.004029cc
jmp 0x447a60
cmp eax, 1
jne 0x4479ea
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
jne 0x4479c2
lea eax, [edi + 0x30]
push eax
push dword [edi + 0x24]
call fcn.00445830
mov dword [edi + 0x2c], eax
jmp 0x4479ef
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x88]
push eax
push dword [edi + 0x24]
mov dword [ebp - 0x88], ebx
call fcn.00445830
cmp dword [ebp + 0x10], eax
jne 0x4479ef
mov eax, dword [ebp - 0x88]
mov dword [edi + 0x30], eax
jmp 0x4479ef
cmp eax, 2
jne 0x447a1d
push ebx
push ebx
push edi
push 0x445820
push ebx
push ebx
mov dword [edi + 0xd4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 0xfa
push ebx
push dword [edi + 4]
mov dword [edi + 0xd0], eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x447a42
cmp eax, 3
jne 0x447a42
push ebx
push ebx
push edi
push 0x445820
push ebx
push ebx
mov dword [edi + 0xd4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xd0], eax
jmp 0x447a42
xor ebx, ebx
mov ecx, edi
call fcn.004452b0
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
call fcn.00435368
ret 0xc