Function at 0x443270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x10a2c]
cmp dword [eax + 0xe114], 0
je 0x443435
cmp dword [eax + 0xe140], 0
je 0x4432ff
cmp dword [ebx + 0x10a24], 0
je 0x4432ff
cmp byte [eax + 0xe174], 0
je 0x4432ff
push str.schook
push 0x10
push 0x4f9124
call fcn.004ad6d8
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [esi], 0
jne 0x4432e4
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x4294c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov edi, dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebx + 0x10a24]
call fcn.00429540
test al, al
jne 0x44360f
jmp 0x443302
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x10a2c]
cmp dword [eax + 0xe158], 0
je 0x443435
cmp dword [ebx + 0x10a24], 0
je 0x443435
cmp byte [eax + 0xe174], 0
je 0x443435
cmp dword [eax + 0xe120], 0
je 0x443380
cmp dword [eax + 0xe124], 0
jne 0x443380
mov eax, dword [ebx + 0x10a24]
lea ecx, [ebx + 0x60]
push dword [eax + 4]
call fcn.0041e8e0
lea ecx, [ebx + 0x60]
call fcn.0041e990
mov ecx, dword [ebx + 0x10a28]
test ecx, ecx
je 0x443380
mov eax, dword [ebx + 0x10a2c]
mov dword [eax + 0xe124], 1
mov eax, dword [ebx + 0x10a2c]
mov dword [eax + 0xe0ac], ecx
mov eax, dword [ebx + 0x10a2c]
cmp dword [eax + 0xe120], 0
jne 0x4433ca
cmp dword [eax + 0xe124], 0
je 0x4433ca
lea ecx, [ebx + 0x60]
call fcn.0041ea20
mov dword [ebx + 0x10a28], 0
mov eax, dword [ebx + 0x10a2c]
mov dword [eax + 0xe124], 0
mov eax, dword [ebx + 0x10a2c]
mov dword [eax + 0xe0ac], 0
push str.w8hook
push 0x10
push 0x4f9124
call fcn.004ad6d8
mov eax, dword [ebx + 0x10a2c]
add esp, 0xc
mov eax, dword [eax + 0xe160]
call eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0x14], 0
cmp dword [esi], 0
jne 0x443417
test eax, eax
je 0x443417
lea eax, [ebp + 0x14]
push eax
push 0
push ebx
push 0x4294c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push edi
push dword [ebx + 0x10a24]
mov ecx, ebx
mov byte [ebx + 0x10abc], 0
call fcn.00429540
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebx + 0x10a2c]
mov esi, eax
mov ecx, dword [ecx + 0xdbf4]
mov edx, dword [ecx]
call dword [edx + 0x278]
mov ecx, dword [ebx + 0x10a2c]
neg eax
sbb eax, eax
and eax, 4
add eax, 4
mov dword [ecx + 0x2c], 0
cmp byte [ebp + 0x14], 0
mov dword [ecx + 0x28], eax
je 0x443487
mov eax, dword [ebx + 0x10a2c]
mov dword [eax + 0xe2c4], 0
mov dword [ebx + 0x10a74], esi
mov eax, dword [ebx + 0x10a2c]
mov ecx, dword [eax + 0xdbf4]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test eax, eax
jne 0x4434bc
mov eax, dword [ebx + 0x10a2c]
cmp byte [eax + 0xe174], 0
jne 0x44356f
cmp byte [ebp + 0x14], 0
jne 0x44356f
sub esi, dword [ebx + 0x10a74]
cmp esi, 0x32
jle 0x44356f
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
inc dword [esi]
mov ecx, dword [ebx + 0x10a2c]
call fcn.00441320
call fcn.00470400
cmp eax, 2
je 0x443502
mov ecx, dword [ebx + 0x10a2c]
lea eax, [ebp - 0x10]
sub esp, 8
push eax
push dword [ebp + 0xc]
call fcn.0043aff0
test al, al
je 0x443509
mov byte [ebx + 0x10abc], 0
cmp dword [esi], 0xc8
jle 0x44356f
mov esi, dword [ebx + 0x10a2c]
push 0x4d9f42
call fcn.004aec27
add esp, 4
mov edi, eax
push dword [esi + 0xc4]
push dword [esi + 0xc0]
push dword [esi + 0xbc]
push dword [esi + 0xb8]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
mov eax, dword [ebp + 0xc]
push 2
push esi
mov ecx, dword [eax]
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.004ae337
mov eax, dword [ebp + 0x10]
add esp, 4
mov dword [eax], 0
mov eax, dword [ebx + 0x10a2c]
xor edi, edi
mov ecx, dword [eax + 0xdbf4]
mov eax, dword [ecx]
call dword [eax + 0xc0]
test eax, eax
jne 0x443598
mov eax, dword [ebx + 0x10a2c]
cmp byte [eax + 0xe174], 0
jne 0x4435af
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x4435af
push edi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004421b0
mov eax, dword [ebx + 0x10a2c]
mov ecx, dword [eax + 0xdbf4]
mov eax, dword [ecx]
call dword [eax + 0xb8]
test eax, eax
jne 0x4435d6
mov eax, dword [ebx + 0x10a2c]
cmp byte [eax + 0xe174], 0
jne 0x44360f
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x44360f
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x44360f
cmp esi, edi
je 0x44360f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x44360f
push esi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004421b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10