Function at 0x43e450
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 0x48b1a4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebp + 0x1c]
and byte [ebp + 0x1c], 0xf
and al, 0xf0
mov edi, dword [ebp + 0x10]
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
push 0x48b14c
mov dword [ebp - 0x28], eax
mov al, byte [ebp + 0x1c]
push 0x10000
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x38]
push eax
push 0x43e39a
xor esi, esi
xor ebx, ebx
push 0x20000
inc esi
push ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x43e752
mov dword [ebp + 0xc], 0x270f
cmp dword [ebp - 0x20], ebx
je 0x43e4ef
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [ebp + 0xc]
jns 0x43e4d0
jmp 0x43e4ea
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], ebx
jne 0x43e4e3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
cmp dword [ebp + 8], 2
mov dword [ebp - 8], 0x47b054
mov dword [ebp + 0x14], edi
mov dword [ebp + 0xc], ebx
jne 0x43e51b
mov dword [ebp + 0x14], 0x47b798
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], 0x47b78c
push 1
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], ebx
call fcn.0040e5ee
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], 0xa
dec dword [ebp - 0x10]
js 0x43e567
push dword [ebp + 0x14]
push dword [ebp - 8]
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e567
cmp dword [ebp + 0xc], ebx
je 0x43e55b
push dword [ebp + 0xc]
push dword [ebp - 8]
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e567
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
je 0x43e535
cmp esi, ebx
mov dword [ebp - 0x10], 0xa
jne 0x43e5b7
dec dword [ebp - 0x10]
js 0x43e5a0
push dword [ebp + 0x14]
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e5b7
cmp dword [ebp + 0xc], ebx
je 0x43e594
push dword [ebp + 0xc]
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e5b7
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
je 0x43e572
cmp esi, ebx
jne 0x43e5b7
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x14]
call fcn.00433526
add esp, 0x1c
mov esi, eax
mov dword [ebp - 0x10], 0x5a
jmp 0x43e5ee
dec dword [ebp - 0x10]
js 0x43e5f2
push dword [ebp + 0x14]
push dword [ebp - 8]
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e5f2
cmp dword [ebp + 0xc], ebx
je 0x43e5e6
push dword [ebp + 0xc]
push dword [ebp - 8]
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e5f2
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
je 0x43e5c0
mov dword [ebp - 0x10], 0x5a
jmp 0x43e625
dec dword [ebp - 0x10]
js 0x43e629
push dword [ebp + 0x14]
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e629
cmp dword [ebp + 0xc], ebx
je 0x43e61d
push dword [ebp + 0xc]
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e629
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
je 0x43e5fb
cmp dword [ebp + 8], 2
jne 0x43e63d
cmp esi, ebx
je 0x43e63d
push dword [ebp + 0x10]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 8], 1
mov dword [ebp + 0xc], eax
jne 0x43e65b
cmp esi, ebx
je 0x43e65b
mov eax, dword [0x48aba4]
cmp eax, ebx
je 0x43e65b
mov dword [eax], esi
test byte [ebp - 1], 0x80
jne 0x43e6f5
cmp dword [ebp + 8], 1
jne 0x43e673
cmp esi, ebx
je 0x43e6f5
cmp dword [ebp + 8], 2
jne 0x43e6cc
cmp dword [ebp + 0x18], ebx
jle 0x43e74a
jmp 0x43e692
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x18]
jge 0x43e69a
cmp byte [0x4892b4], bl
jg 0x43e684
push ebx
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
jmp 0x43e6f5
cmp dword [ebp + 0x18], ebx
jle 0x43e6b6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x18]
jge 0x43e6df
push dword [ebp + 0x10]
push dword [ebp - 8]
call edi
mov esi, eax
cmp esi, ebx
je 0x43e6d4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4892b4], bl
jg 0x43e6a3
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x43e6e5
mov eax, dword [eax]
jmp 0x43e6e7
movzx eax, byte [ebp + 0x1c]
jmp 0x43e6e7
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x48aba4]
cmp eax, ebx
je 0x43e6f5
mov dword [eax], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x43e702
mov dword [eax], 0xffffffff
cmp esi, ebx
je 0x43e734
push ebx
push ebx
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 2
push 0x111
push esi
call edi
push ebx
push 7
push 0x111
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0040e622
push 0x48b1a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret