Function at 0x6e78fc
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00408e88
xor eax, eax
push ebp
push 0x6e7bca
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov ecx, 0x6e7be8
mov edx, 0x6e7c0c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov ebx, eax
cmp byte [ebp - 5], 0
jne 0x6e7af3
test bl, bl
je 0x6e7bb4
xor eax, eax
push ebp
push 0x6e7aec
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6e5dfc]
call fcn.005636f4
mov dword [0x7cfaa4], eax
cmp esi, 0x60
jle 0x6e7986
mov ecx, 0x60
mov edx, esi
mov eax, dword [0x7cfaa4]
call fcn.0049c4d8
mov eax, dword [0x7cfaa4]
add eax, 0x3e1
mov edx, dword [ebp - 4]
call fcn.00409184
mov eax, dword [0x7cfaa4]
mov eax, dword [eax + 0x3c8]
mov dl, 1
call fcn.00493b24
mov eax, dword [0x7cfaa4]
mov eax, dword [eax + 0x3c8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov dword [0x7cfaa0], 0xffffffff
mov cl, 1
mov dl, 1
mov eax, dword [0x6e5d28]
call fcn.00453228
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x49], esi
mov eax, dword [ebp - 0x10]
add eax, 0x40
mov edx, dword [ebp - 4]
call fcn.00409184
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x44], bl
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x45], edx
mov eax, dword [ebp - 0x10]
call fcn.004538e4
mov ebx, 0x29
push 0xc8
call sub.kernel32.dll_Sleep
cmp dword [0x7cfaa0], 0xffffffff
jne 0x6e7a27
dec ebx
jne 0x6e7a11
cmp dword [0x7cfaa0], 1
jne 0x6e7aa7
xor eax, eax
push ebp
push 0x6e7a89
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [0x7cfaa4]
call fcn.006e64e8
mov eax, dword [0x7cfaa4]
mov edx, dword [eax]
call dword [edx + 0x120]
mov eax, dword [0x7cfaa4]
mov eax, dword [eax + 0x3c8]
mov edx, dword [eax]
call dword [edx + 0xf8]
mov ebx, eax
push ebx
mov ecx, 0x6e7be8
mov edx, 0x6e7c0c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6e7aa7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e7bb4
mov eax, dword [0x7cfaa4]
call fcn.004071a4
xor eax, eax
mov dword [0x7cfaa4], eax
mov byte [0x7a6060], 1
cmp dword [0x7cfaa0], 0xffffffff
jne 0x6e7aeb
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 0x10]
call fcn.004071a4
ret
cmp dword [0x7cfaa4], 0
jne 0x6e7baa
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6e5dfc]
call fcn.005636f4
mov dword [0x7cfaa4], eax
cmp esi, 0x60
jle 0x6e7b29
mov ecx, 0x60
mov edx, esi
mov eax, dword [0x7cfaa4]
call fcn.0049c4d8
mov eax, dword [0x7cfaa4]
add eax, 0x3e1
mov edx, dword [ebp - 4]
call fcn.00409184
mov eax, dword [0x7cfaa4]
mov eax, dword [eax + 0x3c8]
mov dl, 1
call fcn.00493b24
mov eax, dword [0x7cfaa4]
mov eax, dword [eax + 0x3c8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x7cfaa4]
mov edx, dword [eax]
call dword [edx + 0x120]
mov eax, dword [0x7cfaa4]
mov eax, dword [eax + 0x3c8]
mov edx, dword [eax]
call dword [edx + 0xf8]
mov ebx, eax
push ebx
mov ecx, 0x6e7be8
mov edx, 0x6e7c0c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov eax, dword [0x7cfaa4]
call fcn.004071a4
xor eax, eax
mov dword [0x7cfaa4], eax
jmp 0x6e7bb4
mov eax, dword [0x7cfaa4]
call fcn.00493ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e7bd1
lea eax, [ebp - 4]
call fcn.00408da4
ret