Function at 0x100479f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010fe95
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea esi, [ebx + 0x18]
push esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [ebx + 0xd4], 0
mov byte [ebx + 0xfc], 1
mov byte [ebx + 0xd0], 1
je 0x10047a7c
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], 1
push eax
push ecx
mov ecx, dword [ebx + 0x34]
push 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x10163ad8
call fcn.10028e40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebx + 0xd4]
mov byte [ebp - 0x30], 0
test esi, esi
je 0x10047b0f
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
xor eax, eax
mov ecx, 0x101743f4
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x10047ad5
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x10047aeb
push sym.NetFilterInterface.dll_SetBlur
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebx + 0xd4]
test esi, esi
je 0x10047b05
push dword [esi + 4]
call edi
push 0xc
push esi
call fcn.100b88b0
add esp, 8
mov dword [ebx + 0xd4], 0
xor edx, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], edx
mov ecx, 4
mov byte [ebp - 4], 1
add ebx, 0x3c
mov dword [ebp - 0x14], ecx
nop word [eax + eax]
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x10047b78
mov ecx, esi
mov eax, esi
mov esi, dword [esi]
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x10047b65
test edx, edx
je 0x10047b4e
mov dword [edx + 0x14], edi
jmp 0x10047b51
mov dword [ebp - 0x24], edi
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
push eax
lea ecx, [ebx - 4]
call fcn.10029be0
mov edx, dword [ebp - 0x20]
cmp esi, dword [ebx]
jne 0x10047b38
mov ecx, dword [ebp - 0x14]
add ebx, 0x1c
sub ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x10047b30
mov edi, dword [ebp - 0x1c]
mov esi, dword [edi + 0xcc]
test esi, esi
je 0x10047ba5
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov esi, dword [esi + 4]
test esi, esi
jne 0x10047b90
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edi, dword [edi + 0x14]
test ecx, ecx
je 0x10047bf7
add edi, 0x18
mov esi, ecx
mov eax, ecx
mov eax, dword [eax + 0x14]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x24], eax
cmove edx, ebx
mov dword [ebp - 0x20], edx
mov dword [esi + 0x14], ebx
lock dec dword [edi]
mov eax, dword [ecx + 0x18]
lea edx, [ebp - 0x2c]
push ebx
push edx
push ecx
push ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x10163ad8
call eax
mov ecx, dword [ebp - 0x24]
add esp, 0x10
mov esi, ecx
mov eax, esi
test esi, esi
je 0x10047bf5
mov edx, dword [ebp - 0x20]
jmp 0x10047bb6
jmp 0x10047bf7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret