Function at 0x100c4740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jl 0x100c499d
cmp byte [0x1016b3a4], 0
mov esi, dword [ebp + 0x1c]
jne 0x100c4905
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x100c4905
cmp byte [esi + 0x178], 0
je 0x100c4905
mov edx, dword [esi + 0x17c]
cmp edx, 2
jl 0x100c4905
mov eax, dword [esi + 0x180]
inc eax
mov dword [esi + 0x180], eax
cmp eax, edx
jl 0x100c47ab
mov dword [esi + 0x180], 0
xor eax, eax
cmp byte [esi + 0xd4], 0
je 0x100c47bb
push eax
push ecx
call sym.ExuiKrnln_X32.dll_SelectActiveFrame_ImageEx
cmp dword [esi + 0x17c], 0
je 0x100c489d
mov ebx, dword [esi + 0x1b0]
test ebx, ebx
je 0x100c489d
mov eax, dword [esi + 0x180]
mov edi, dword [esi + 0x190]
mov ebx, dword [ebx + eax*4]
test edi, edi
jne 0x100c4804
push edi
push edi
push edi
push esi
push fcn.100c4740
push ebx
push ebx
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x190], eax
jmp 0x100c489d
cmp byte [edi + 0xc], 0
jne 0x100c489d
cmp dword [edi + 0x24], 0
mov ecx, dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
jle 0x100c4840
mov eax, dword [edi + 4]
test eax, eax
je 0x100c4840
mov dword [edi + 0x24], ebx
mov dword [edi + 0x20], ebx
test ebx, ebx
js 0x100c48cc
push ebx
push ebx
push eax
push 0
call ecx
test eax, eax
jne 0x100c489d
mov ecx, dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov edx, dword [edi + 4]
lea eax, [edi + 4]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x20], ebx
test edx, edx
je 0x100c4885
push 0x3a98
push 0x3a98
push edx
push 0
call ecx
push 0
push 0
push dword [edi + 4]
push 0x100f9cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 4]
mov dword [eax], 0
test ebx, ebx
js 0x100c489d
push dword [edi + 0x28]
push ebx
push ebx
push edi
push 0x100f9cf0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
cmp byte [esi + 0xd4], 0
je 0x100c499d
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
call sym.ExuiKrnln_X32.dll_ControlUpdateCache
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push dword [edi + 4]
push 0x100f9cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], 0
jmp 0x100c489d
cmp byte [esi + 0xd4], 0
je 0x100c494a
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x100c494a
cmp byte [esi + 0xe1], 0
jne 0x100c494a
cmp dword [esi + 0xd0], 0
jle 0x100c493c
inc dword [esi + 0xcc]
jmp 0x100c494a
or dword [esi + 0xbc], 1
mov byte [0x1016b3a5], 1
mov edi, dword [esi + 0x190]
test edi, edi
je 0x100c499d
cmp byte [edi + 0xc], 0
jne 0x100c4993
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x100c4993
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x190], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18