Function at 0x43e04c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, dword [ebp + 0x24]
mov edx, esi
and edx, 0x40
mov dword [ebp - 0x20], edx
mov edx, esi
and edx, 0x80
mov dword [ebp - 0x24], edx
mov edx, esi
and edx, 4
mov dword [ebp - 0x1c], edx
mov edx, esi
and edx, 8
mov dword [ebp - 0x28], edx
mov eax, esi
mov ecx, esi
and eax, 0x10
and ecx, 0x20
mov edx, esi
and edx, 0x100
mov dword [ebp - 0x30], edx
push edi
push 0
pop edx
sete dl
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
and edx, esi
and edx, 0x200
mov dword [ebp - 0x10], edx
xor edx, edx
inc edx
and esi, edx
cmp eax, ebx
je 0x43e0b9
cmp ecx, ebx
mov dword [ebp - 8], edx
jne 0x43e0bc
mov dword [ebp - 8], ebx
mov edi, 0x4beb4c
push edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [0x4be0c8], ebx
je 0x43e0e3
movsx eax, byte [0x4be106]
cmp eax, esi
je 0x43e0e3
call fcn.0043822c
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
test byte [0x4be104], 2
je 0x43e137
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
test byte [0x4be104], 2
je 0x43e117
xor eax, eax
mov ax, word [0x4be104]
and eax, 0xfffffffc
add eax, 6
mov word [0x4be104], ax
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x43e12e
push ebx
push ebx
push 1
mov ecx, 0x4bdfa0
call fcn.00413857
test byte [0x4be104], 2
jne 0x43e120
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [0x4be0c8], ebx
mov dword [ebp - 0x2c], eax
mov word [0x4be104], bx
jne 0x43e179
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, 2
push 0x514
or eax, esi
call fcn.004381ca
cmp dword [0x4be0c8], ebx
pop ecx
je 0x43e370
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xb
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x432
push dword [0x4be0c8]
mov dword [ebp - 0x70], 0x30
mov dword [ebp - 0x6c], 0x123
call esi
push ebx
push ebx
mov edi, 0x411
push edi
push dword [0x4be0c8]
call esi
push ebx
push 0xe0f0f0
push 0x413
push dword [0x4be0c8]
call esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x439
push dword [0x4be0c8]
call esi
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
push 0x421
push dword [0x4be0c8]
call esi
cmp dword [ebp - 8], ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], eax
mov dword [ebp + 0x24], ecx
jne 0x43e23a
movzx ecx, cx
movzx eax, ax
shl ecx, 0x10
or ecx, eax
push ecx
push ebx
push 0x412
push dword [0x4be0c8]
call esi
push 0x13
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [0x4be0c8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x13
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [0x4be0c8]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x70]
push eax
push 1
push edi
push dword [0x4be0c8]
call esi
mov edi, 0xabb
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [ebp + 0x20], ebx
jle 0x43e2ac
push 0x4382e2
push dword [ebp + 0x20]
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x43e2ac
xor eax, eax
cmp dword [ebp - 0x10], ebx
setne al
inc eax
mov dword [ebp - 0xc], eax
mov word [0x4be104], ax
push 0x3d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x3e
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
push eax
push dword [0x4be0c8]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x14], ebx
je 0x43e2f4
cmp dword [ebp - 0x18], ebx
je 0x43e2e6
sub edi, dword [ebp - 0x38]
add edi, dword [ebp - 0x40]
add edi, dword [ebp + 0x14]
jmp 0x43e2fe
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
add eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
jmp 0x43e301
cmp dword [ebp - 0x1c], ebx
je 0x43e301
mov eax, dword [ebp + 0x14]
add edi, eax
mov dword [ebp - 4], edi
cmp dword [ebp - 0x20], ebx
je 0x43e321
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x34]
cmp dword [ebp - 0x24], ebx
je 0x43e319
add eax, dword [ebp - 0x10]
add eax, dword [ebp + 0x18]
jmp 0x43e334
add eax, dword [ebp + 0x18]
mov dword [ebp + 0x24], eax
jmp 0x43e331
cmp dword [ebp - 0x28], ebx
je 0x43e331
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp + 0x24], ecx
mov eax, dword [ebp + 0x24]
cmp dword [ebp - 8], ebx
jne 0x43e356
movzx ecx, word [ebp - 4]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 0x412
push dword [0x4be0c8]
call esi
jmp 0x43e36b
push 0x15
push ebx
push ebx
push eax
push dword [ebp - 4]
push ebx
push dword [0x4be0c8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, 0x4beb4c
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test byte [ebp - 0xc], 2
je 0x43e3a7
push ebx
push 0x4bdbcc
mov eax, 0x10000
push eax
push eax
push dword [ebp + 0x20]
push 0x438260
call fcn.00437ab2
add esp, 0x18
test eax, eax
je 0x43e3a7
add dword [0x4be310], 1
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
call edi
cmp dword [ebp - 0x30], ebx
je 0x43e3fb
cmp dword [0x4be0c8], ebx
je 0x43e3fb
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov dword [ebp + 0x24], eax
jmp 0x43e3ef
cmp byte [0x4bc2c0], bl
jle 0x43e3fb
cmp dword [ebp + 0x20], ebx
jle 0x43e3fb
call esi
sub eax, dword [ebp + 0x24]
cmp eax, dword [ebp + 0x20]
jae 0x43e3fb
push ebx
push ebx
push 1
mov ecx, 0x4bdfa0
call fcn.00413857
movzx eax, word [0x4be104]
cmp dword [ebp - 0xc], eax
je 0x43e3ca
push 0x4beb30
call edi
pop edi
pop esi
pop ebx
leave
ret