Function at 0x1010f410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 0x1c]
push edi
jl 0x1010f666
cmp dword [esi + 0x2c], 0xffffffff
jl 0x1010f4d0
cmp byte [esi + 0x174], 0
jne 0x1010f4a7
mov edi, dword [esi + 0x208]
test edi, edi
je 0x1010f4a7
cmp byte [edi + 0xc], 0
jne 0x1010f481
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x1010f481
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100ea290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x208], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi + 0x1b0]
test eax, eax
jne 0x1010f52f
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push eax
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
cmp byte [0x1015a414], 0
je 0x1010f5cc
mov edi, dword [esi + 0x208]
test edi, edi
je 0x1010f666
cmp byte [edi + 0xc], 0
jne 0x1010f51d
mov byte [edi + 0xc], 1
mov eax, dword [edi + 4]
test eax, eax
je 0x1010f51d
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100ea290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x208], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 1
jne 0x1010f5ef
mov eax, dword [esi + 0x1f8]
cmp eax, 1
jne 0x1010f590
mov eax, dword [esi + 0x200]
cmp dword [esi + 0x204], eax
jl 0x1010f55c
mov dword [esi + 0x204], eax
jmp 0x1010f617
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
cmp byte [0x1015a414], 0
mov edi, dword [esi + 0x208]
jne 0x1010f4d6
inc dword [esi + 0x204]
test edi, edi
jmp 0x1010f645
test eax, eax
jne 0x1010f5a2
mov eax, dword [esi + 0x200]
mov dword [esi + 0x204], eax
jmp 0x1010f617
cmp eax, 2
jne 0x1010f666
cmp byte [0x1015a414], 0
jne 0x1010f4d0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
mov eax, dword [esi + 0x204]
inc eax
mov dword [esi + 0x204], eax
cmp eax, dword [esi + 0x200]
jl 0x1010f63e
mov eax, dword [esi + 0x1fc]
mov dword [esi + 0x204], eax
jmp 0x1010f63e
cmp eax, 2
jne 0x1010f666
mov edx, dword [esi + 0x204]
mov edi, dword [esi + 0x200]
cmp edx, edi
je 0x1010f617
lea eax, [edx + 1]
lea ecx, [edx - 1]
cmovle ecx, eax
mov dword [esi + 0x204], ecx
cmp ecx, edi
jne 0x1010f62a
mov edi, dword [esi + 0x208]
test edi, edi
je 0x1010f48b
jmp 0x1010f442
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
cmp dword [esi + 0x208], 0
jne 0x1010f666
mov eax, dword [esi + 0x1f4]
push 0x20
push 0
push 0
push esi
push fcn.1010f410
push eax
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x208], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18