Function at 0x1013d1b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jl 0x1013d545
cmp dword [esi + 0x2c], 0xffffffff
jge 0x1013d1fc
mov eax, dword [esi + 0x21c]
test eax, eax
je 0x1013d1e7
push eax
call sym.ExuiKrnln_X32.dll_DeleteTimerEx
mov dword [esi + 0x21c], 0
mov eax, dword [esi + 0x214]
mov dword [esi + 0x218], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [0x1018a574], 0
jne 0x1013d477
cmp byte [esi + 0x188], 0
je 0x1013d477
mov eax, dword [esi + 0x1c4]
test eax, eax
jne 0x1013d2b6
cmp dword [esi + 0x21c], eax
je 0x1013d232
inc dword [esi + 0x218]
mov eax, dword [esi + 0x218]
cmp eax, dword [esi + 0x214]
jle 0x1013d24c
mov eax, dword [esi + 0x210]
mov dword [esi + 0x218], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x1013d285
cmp dword [esi + 0xe4], 0
jle 0x1013d271
inc dword [esi + 0xe0]
jmp 0x1013d285
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esi + 0x21c], 0
jne 0x1013d545
push 0
push 0
push esi
push fcn.1013d1b0
push dword [esi + 0x208]
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x21c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 1
jne 0x1013d36c
mov edi, dword [esi + 0x21c]
test edi, edi
je 0x1013d2cf
inc dword [esi + 0x218]
mov eax, dword [esi + 0x214]
cmp dword [esi + 0x218], eax
jl 0x1013d24c
mov dword [esi + 0x218], eax
test edi, edi
je 0x1013d505
cmp byte [edi + 0x10], 0
jne 0x1013d35d
cmp dword [edi + 4], edi
jne 0x1013d35d
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x1013d331
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 0x101075e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x21c], 0
jmp 0x1013d505
cmp eax, 2
jne 0x1013d545
cmp dword [esi + 0x21c], 0
je 0x1013d396
mov eax, dword [esi + 0x218]
cmp dword [esi + 0x214], eax
jge 0x1013d38f
dec eax
jmp 0x1013d390
inc eax
mov dword [esi + 0x218], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x1013d3cf
cmp dword [esi + 0xe4], 0
jle 0x1013d3bb
inc dword [esi + 0xe0]
jmp 0x1013d3cf
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x218]
mov edi, dword [esi + 0x21c]
cmp eax, dword [esi + 0x214]
jne 0x1013d470
test edi, edi
je 0x1013d545
cmp byte [edi + 0x10], 0
jne 0x1013d45d
cmp dword [edi + 4], edi
jne 0x1013d45d
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x1013d431
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 0x101075e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x21c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test edi, edi
jmp 0x1013d28c
mov edi, dword [esi + 0x21c]
test edi, edi
je 0x1013d4f9
cmp byte [edi + 0x10], 0
jne 0x1013d4ef
cmp dword [edi + 4], edi
jne 0x1013d4ef
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x1013d4c3
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 0x101075e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x21c], 0
mov eax, dword [esi + 0x214]
mov dword [esi + 0x218], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x1013d545
cmp dword [esi + 0xe4], 0
jle 0x1013d531
inc dword [esi + 0xe0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18