Function at 0x10128e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jl 0x1012908c
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0x2c], 1
jl 0x10129072
cmp dword [esi + 0x12c], 1
jl 0x10129072
cmp dword [esi + 0x1a0], 0
jne 0x10128f26
mov edi, dword [esi + 0x1b0]
test edi, edi
je 0x10128efa
cmp byte [edi + 0x10], 0
jne 0x10128ef0
cmp dword [edi + 4], edi
jne 0x10128ef0
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x10128ec4
push 0xea60
push 0xea60
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call eax
push 0
push 0
push edi
push 0x100f7b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1b0], 0
push dword [esi + 0x1d0]
push dword [esi + 0x1cc]
push dword [esi + 0x1c8]
push dword [esi + 0x1c4]
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
xor ebx, ebx
xor edx, edx
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x128]
mov edi, dword [eax + ecx*4]
cmp dword [edi + 0x28], 0xff
jne 0x10128f45
inc ebx
jmp 0x10128f6e
movsx eax, word [esi + 0x1a0]
add dword [edi + 0x28], eax
mov eax, dword [esi + 0x128]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x28], 0xfe
jle 0x10128f69
mov dword [eax + 0x28], 0xff
inc ebx
mov edx, 1
inc ecx
cmp ecx, dword [esi + 0x12c]
jl 0x10128f30
test edx, edx
je 0x10128f9f
push dword [esi + 0x1d0]
push dword [esi + 0x1cc]
push dword [esi + 0x1c8]
push dword [esi + 0x1c4]
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
mov edi, dword [esi + 0x1b0]
cmp ebx, dword [esi + 0x12c]
jge 0x10128fe2
test edi, edi
jne 0x1012908c
movsx eax, word [esi + 0x1a2]
mov ecx, 0x21
push edi
push edi
test eax, eax
push esi
cmove eax, ecx
push fcn.10128e40
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x1b0], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
test edi, edi
je 0x1012908c
cmp byte [edi + 0x10], 0
jne 0x10129082
cmp dword [edi + 4], edi
jne 0x10129082
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x10129034
push 0xea60
push 0xea60
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call eax
push 0
push 0
push edi
push 0x100f7b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1b0], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [esi + 0x1b0]
test eax, eax
je 0x1012908c
push eax
call sym.ExuiKrnln_X32.dll_DeleteTimerEx
mov dword [esi + 0x1b0], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18