Function at 0x10a4294
Capabilities:
Create thread

Disassembly:
push 0xa8
mov eax, 0x11b1d8e
call fcn.010b1478
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
sub eax, edx
mov esi, ecx
mov dword [ebp - 0x70], edx
mov dword [ebp - 4], edx
je 0x10a451b
dec eax
dec eax
je 0x10a43ec
dec eax
dec eax
jne 0x10a43e1
mov edi, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
cmp edi, ecx
jb 0x10a43e1
mov eax, dword [esi + 0x1c]
cmp edi, eax
ja 0x10a43e1
jne 0x10a42f3
cmp ecx, eax
jne 0x10a42f3
inc eax
jmp 0x10a42f5
mov eax, edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edx
push eax
push 0x46a
push dword [esi + 0x24]
call ebx
lea ecx, [ebp - 0x30]
call fcn.010368a4
lea eax, [ebp - 0x30]
push eax
push 0x2872
push dword [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0103afc1
push eax
lea ecx, [ebp - 0x68]
call fcn.01157ca5
sub edi, dword [esi + 0x18]
push 0x1007cf0
inc edi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], edi
call fcn.01038fe3
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.01157a95
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 2
call fcn.010362ea
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
push 0x1007cdc
inc eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x6c], eax
call fcn.01038fe3
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.01157a95
push edi
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.010362ea
lea ecx, [ebp - 0x68]
call fcn.01157b75
push eax
push edi
push 0x46c
push dword [esi + 0x24]
call ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.01157c69
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.010362ea
mov eax, dword [ebp - 0x70]
call fcn.010b14e3
ret 0x14
cmp dword [ebp + 0x10], 2
jne 0x10a450f
mov eax, dword [0x11f200c]
mov ebx, 0x11f200c
cmp eax, ebx
je 0x10a442e
test dword [eax + 0x5c], 0x800000
je 0x10a442e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [0x11f200c]
mov edi, 0x1007b20
push edi
push 0x12
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01034bae
jmp 0x10a4433
mov edi, 0x1007b20
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x11f200c]
cmp eax, ebx
je 0x10a4468
test dword [eax + 0x5c], 0x800000
je 0x10a4468
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [0x11f200c]
push edi
push 0x13
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01034bae
lea eax, [esi + 0x2c]
push eax
call fcn.01073456
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [fcn.0107a9df]
je 0x10a44c7
mov eax, dword [esi + 0x30]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x11f200c]
cmp eax, ebx
je 0x10a44be
test dword [eax + 0x5c], 0x800000
je 0x10a44be
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp - 0x6c]
mov eax, dword [0x11f200c]
push edi
push 0x14
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01043f86
lea eax, [esi + 0x2c]
push eax
call fcn.010a3c99
mov eax, dword [esi + 0x80]
cmp eax, 1
je 0x10a43e1
mov eax, dword [0x11f200c]
cmp eax, ebx
je 0x10a43e1
test dword [eax + 0x5c], 0x800000
je 0x10a43e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [0x11f200c]
push edi
push 0x15
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01034bae
jmp 0x10a43e1
mov dword [ebp - 0x70], 1
jmp 0x10a43e1
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x28], edx
mov dword [esi + 0x24], ebx
cmp dword [esi + 0x18], eax
jne 0x10a452a
inc eax
movzx ecx, word [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push edx
push 0x469
push ebx
call edi
lea eax, [ebp - 0x74]
push eax
xor eax, eax
push eax
push dword [ebp - 0x7c]
push 0x10a412a
push eax
push eax
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
push eax
add esi, 0x2c
push esi
call fcn.010a3c6c
push esi
call fcn.01073456
test al, al
jne 0x10a4580
push 0
push 2
push 0x466
push ebx
call edi
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x10a43e1
test dword [eax + 0x5c], 0x800000
je 0x10a43e1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [ebp - 0x74]
mov eax, dword [0x11f200c]
push 0x1007b20
push 0x11
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01043f86
jmp 0x10a43e1