Function at 0x3af116c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3af2d675
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x3af331e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xc4]
mov dword [eax], vtable.BlackCall.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x44], 0
je 0x3af1174c
push 0
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x8000
push 0
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov ecx, dword [ebp - 0xc4]
add ecx, 0x44
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 0x10], 0
je 0x3af1177b
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.3af11080
mov ecx, eax
call fcn.3af1f660
mov edx, dword [ebp - 0xc4]
mov dword [edx + 0x10], 0
mov eax, 0x5b
mov word [ebp - 0xc0], ax
mov ecx, 0x2b
mov word [ebp - 0xbe], cx
mov edx, 0x5d
mov word [ebp - 0xbc], dx
mov eax, 0x20
mov word [ebp - 0xba], ax
mov ecx, 0x42
mov word [ebp - 0xb8], cx
mov edx, 0x6c
mov word [ebp - 0xb6], dx
mov eax, 0x61
mov word [ebp - 0xb4], ax
mov ecx, 0x63
mov word [ebp - 0xb2], cx
mov edx, 0x6b
mov word [ebp - 0xb0], dx
mov eax, 0x43
mov word [ebp - 0xae], ax
mov ecx, 0x61
mov word [ebp - 0xac], cx
mov edx, 0x6c
mov word [ebp - 0xaa], dx
mov eax, 0x6c
mov word [ebp - 0xa8], ax
mov ecx, 0x3a
mov word [ebp - 0xa6], cx
mov edx, 0x3a
mov word [ebp - 0xa4], dx
mov eax, 0x7e
mov word [ebp - 0xa2], ax
mov ecx, 0x42
mov word [ebp - 0xa0], cx
mov edx, 0x6c
mov word [ebp - 0x9e], dx
mov eax, 0x61
mov word [ebp - 0x9c], ax
mov ecx, 0x63
mov word [ebp - 0x9a], cx
mov edx, 0x6b
mov word [ebp - 0x98], dx
mov eax, 0x43
mov word [ebp - 0x96], ax
mov ecx, 0x61
mov word [ebp - 0x94], cx
mov edx, 0x6c
mov word [ebp - 0x92], dx
mov eax, 0x6c
mov word [ebp - 0x90], ax
mov ecx, 0x28
mov word [ebp - 0x8e], cx
mov edx, 0x29
mov word [ebp - 0x8c], dx
mov eax, 0x20
mov word [ebp - 0x8a], ax
mov ecx, 0x31
mov word [ebp - 0x88], cx
xor edx, edx
mov word [ebp - 0x86], dx
lea eax, [ebp - 0xc0]
push eax
push 0x3af351f8
call fcn.3af1d820
add esp, 8
push 0x1388
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x5b
mov word [ebp - 0x4c], dx
mov eax, 0x2b
mov word [ebp - 0x4a], ax
mov ecx, 0x5d
mov word [ebp - 0x48], cx
mov edx, 0x20
mov word [ebp - 0x46], dx
mov eax, 0x42
mov word [ebp - 0x44], ax
mov ecx, 0x6c
mov word [ebp - 0x42], cx
mov edx, 0x61
mov word [ebp - 0x40], dx
mov eax, 0x63
mov word [ebp - 0x3e], ax
mov ecx, 0x6b
mov word [ebp - 0x3c], cx
mov edx, 0x43
mov word [ebp - 0x3a], dx
mov eax, 0x61
mov word [ebp - 0x38], ax
mov ecx, 0x6c
mov word [ebp - 0x36], cx
mov edx, 0x6c
mov word [ebp - 0x34], dx
mov eax, 0x3a
mov word [ebp - 0x32], ax
mov ecx, 0x3a
mov word [ebp - 0x30], cx
mov edx, 0x7e
mov word [ebp - 0x2e], dx
mov eax, 0x42
mov word [ebp - 0x2c], ax
mov ecx, 0x6c
mov word [ebp - 0x2a], cx
mov edx, 0x61
mov word [ebp - 0x28], dx
mov eax, 0x63
mov word [ebp - 0x26], ax
mov ecx, 0x6b
mov word [ebp - 0x24], cx
mov edx, 0x43
mov word [ebp - 0x22], dx
mov eax, 0x61
mov word [ebp - 0x20], ax
mov ecx, 0x6c
mov word [ebp - 0x1e], cx
mov edx, 0x6c
mov word [ebp - 0x1c], dx
mov eax, 0x28
mov word [ebp - 0x1a], ax
mov ecx, 0x29
mov word [ebp - 0x18], cx
mov edx, 0x20
mov word [ebp - 0x16], dx
mov eax, 0x32
mov word [ebp - 0x14], ax
xor ecx, ecx
mov word [ebp - 0x12], cx
lea edx, [ebp - 0x4c]
push edx
push 0x3af351f8
call fcn.3af1d820
add esp, 8
push 1
mov eax, dword [ebp - 0xc4]
add eax, 0x74
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 1
jne 0x3af11a56
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x3af11a35
mov ecx, dword [ebp - 0xc4]
cmp dword [ecx + 0x70], 0
je 0x3af11a85
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x70]
push eax
call fcn.3af11080
mov ecx, eax
call fcn.3af1f660
mov ecx, dword [ebp - 0xc4]
mov dword [ecx + 0x70], 0
mov edx, dword [ebp - 0xc4]
cmp dword [edx + 0x54], 0
je 0x3af11ab4
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x54]
push ecx
call fcn.3af11080
mov ecx, eax
call fcn.3af1f660
mov edx, dword [ebp - 0xc4]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x5b
mov word [ebp - 0x84], dx
mov eax, 0x2b
mov word [ebp - 0x82], ax
mov ecx, 0x5d
mov word [ebp - 0x80], cx
mov edx, 0x20
mov word [ebp - 0x7e], dx
mov eax, 0x42
mov word [ebp - 0x7c], ax
mov ecx, 0x6c
mov word [ebp - 0x7a], cx
mov edx, 0x61
mov word [ebp - 0x78], dx
mov eax, 0x63
mov word [ebp - 0x76], ax
mov ecx, 0x6b
mov word [ebp - 0x74], cx
mov edx, 0x43
mov word [ebp - 0x72], dx
mov eax, 0x61
mov word [ebp - 0x70], ax
mov ecx, 0x6c
mov word [ebp - 0x6e], cx
mov edx, 0x6c
mov word [ebp - 0x6c], dx
mov eax, 0x3a
mov word [ebp - 0x6a], ax
mov ecx, 0x3a
mov word [ebp - 0x68], cx
mov edx, 0x7e
mov word [ebp - 0x66], dx
mov eax, 0x42
mov word [ebp - 0x64], ax
mov ecx, 0x6c
mov word [ebp - 0x62], cx
mov edx, 0x61
mov word [ebp - 0x60], dx
mov eax, 0x63
mov word [ebp - 0x5e], ax
mov ecx, 0x6b
mov word [ebp - 0x5c], cx
mov edx, 0x43
mov word [ebp - 0x5a], dx
mov eax, 0x61
mov word [ebp - 0x58], ax
mov ecx, 0x6c
mov word [ebp - 0x56], cx
mov edx, 0x6c
mov word [ebp - 0x54], dx
mov eax, 0x28
mov word [ebp - 0x52], ax
mov ecx, 0x29
mov word [ebp - 0x50], cx
xor edx, edx
mov word [ebp - 0x4e], dx
lea eax, [ebp - 0x84]
push eax
push 0x3af351f8
call fcn.3af1d820
add esp, 8
call fcn.3af11110
mov ecx, 0x3af351f8
call fcn.3af1d680
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc4]
add ecx, 0x60
call fcn.3af15990
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc4]
add ecx, 0x58
call fcn.3af21150
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc4]
add ecx, 0x15
call fcn.3af116a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc4]
call fcn.3af205c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.3af212b5
mov esp, ebp
pop ebp
ret