Function at 0x101346f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jl 0x1013493c
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0x2c], 1
jl 0x10134922
cmp dword [esi + 0x12c], 1
jl 0x10134922
cmp dword [esi + 0x1a4], 0
jne 0x101347d6
mov edi, dword [esi + 0x1b4]
test edi, edi
je 0x101347aa
cmp byte [edi + 0x10], 0
jne 0x101347a0
cmp dword [edi + 4], edi
jne 0x101347a0
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x10134774
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 0x10102c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1b4], 0
push dword [esi + 0x1d4]
push dword [esi + 0x1d0]
push dword [esi + 0x1cc]
push dword [esi + 0x1c8]
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 0x101347f5
inc ebx
jmp 0x1013481e
movsx eax, word [esi + 0x1a4]
add dword [edi + 0x28], eax
mov eax, dword [esi + 0x128]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x28], 0xfe
jle 0x10134819
mov dword [eax + 0x28], 0xff
inc ebx
mov edx, 1
inc ecx
cmp ecx, dword [esi + 0x12c]
jl 0x101347e0
test edx, edx
je 0x1013484f
push dword [esi + 0x1d4]
push dword [esi + 0x1d0]
push dword [esi + 0x1cc]
push dword [esi + 0x1c8]
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
mov edi, dword [esi + 0x1b4]
cmp ebx, dword [esi + 0x12c]
jge 0x10134892
test edi, edi
jne 0x1013493c
movsx eax, word [esi + 0x1a6]
mov ecx, 0x21
push edi
push edi
test eax, eax
push esi
cmove eax, ecx
push fcn.101346f0
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x1b4], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
test edi, edi
je 0x1013493c
cmp byte [edi + 0x10], 0
jne 0x10134932
cmp dword [edi + 4], edi
jne 0x10134932
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x101348e4
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 0x10102c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1b4], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x1013493c
push eax
call sym.ExuiKrnln_X32.dll_DeleteTimerEx
mov dword [esi + 0x1b4], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18