Function at 0x426c10
Capabilities:
Create thread

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov bl, al
mov eax, dword [edi + 0x10a18]
xor ebp, ebp
push esi
mov esi, ecx
cmp dword [eax + 0xe150], ebp
je 0x426c73
cmp dword [edi + 0x10a14], ebp
je 0x426c73
cmp byte [eax + 0xe174], 0
je 0x426c73
mov dword [esp + 0x10], ebp
cmp dword [esi], ebp
jne 0x426c59
lea eax, [esp + 0x10]
push eax
push ebp
push edi
push 0x410bf0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x10a14]
push ecx
push eax
push edi
call fcn.00410c70
test al, al
jne 0x426e6c
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [edi + 0x10a18]
mov ecx, dword [edx + 0xdc0c]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x258]
call edx
mov ecx, dword [edi + 0x10a18]
neg eax
sbb eax, eax
and eax, 4
add ecx, 4
add eax, 4
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], ebp
test bl, bl
je 0x426cb4
mov dword [edi + 0x10a5c], esi
mov eax, dword [edi + 0x10a18]
mov ecx, dword [eax + 0xdc0c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test eax, eax
je 0x426cd2
test bl, bl
je 0x426ced
mov ecx, dword [edi + 0x10a18]
cmp byte [ecx + 0xe174], 0
jne 0x426d8c
test bl, bl
jne 0x426d8c
sub esi, dword [edi + 0x10a5c]
cmp esi, 0xf
jle 0x426d8c
mov ebx, dword [esp + 0x2c]
inc dword [ebx]
mov eax, dword [edi + 0x10a18]
lea esi, [esp + 0x10]
call fcn.00425260
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [edi + 0x10a18]
push edx
push eax
call fcn.0041f030
test al, al
je 0x426d2e
mov byte [edi + 0x10aa4], 0
cmp dword [ebx], 0x14
jle 0x426d8c
mov esi, dword [edi + 0x10a18]
push 0x4a3fbe
add esi, 0xa8
call fcn.0047d6d1
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
add esp, 4
push ecx
mov ecx, dword [esi]
mov ebp, eax
mov eax, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edx, dword [esp + 0x28]
push 2
mov esi, eax
mov eax, dword [edx]
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call fcn.0047d643
add esp, 4
mov dword [ebx], 0
mov eax, dword [edi + 0x10a18]
mov ecx, dword [eax + 0xdc0c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb8]
xor ebx, ebx
call eax
test eax, eax
jne 0x426db6
mov ecx, dword [edi + 0x10a18]
cmp byte [ecx + 0xe174], al
jne 0x426dd0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
test ebx, ebx
je 0x426dd0
mov edx, dword [esp + 0x28]
push edx
mov edx, ebx
mov ecx, edi
call fcn.00425f00
mov eax, dword [edi + 0x10a18]
mov ecx, dword [eax + 0xdc0c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb0]
call eax
test eax, eax
jne 0x426df8
mov ecx, dword [edi + 0x10a18]
cmp byte [ecx + 0xe174], al
jne 0x426e6c
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x426e6c
mov esi, dword [esp + 0x10]
call fcn.00401080
mov eax, dword [0x4bc984]
push eax
push 0x60
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
call esi
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], eax
call fcn.00401080
mov ecx, dword [0x4bc988]
push ecx
push 0x60
push ebp
call esi
mov edx, dword [esp + 0x10]
push eax
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x426e6c
cmp esi, ebx
je 0x426e6c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x426e6c
mov eax, dword [esp + 0x28]
push eax
mov edx, esi
mov ecx, edi
call fcn.00425f00
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8