Function at 0x1001fab0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082804
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x100aa394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.1005be50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100ac52c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.LogNetShield.log
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.1003c4f0
push 1
call fcn.1000ea20
mov ecx, eax
call fcn.1001d440
push 1
call fcn.100352d0
add esp, 4
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001fcbc
push 0x2f
push str.f:lib_common_netshield_netshieldtrayclient.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10007ae0
mov byte [ebp - 4], 1
call fcn.1003c1f0
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x3e
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100034d0
mov esi, eax
push str.StartPlugin
push esi
mov byte [ebp - 4], 2
call fcn.10004460
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10004590
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1001fc60
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001fc56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002007e
push edx
push ecx
call fcn.1003f20c
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1001fcbc
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001fcb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10020083
push edx
push ecx
call fcn.1003f20c
add esp, 8
push 0
push 0x1008b0f0
push 1
call fcn.1000eab0
mov ecx, eax
call fcn.1003d2c0
push str.net_shield_mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x100ac528], eax
test eax, eax
jne 0x1001fe02
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001fde4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2f
push str.f:lib_common_netshield_netshieldtrayclient.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov ebx, eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10007ae0
mov byte [ebp - 4], 4
call fcn.1003c1f0
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x46
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100034d0
mov esi, eax
push str.CreateMutex_error:
push esi
mov byte [ebp - 4], 5
call fcn.10004460
add esp, 8
mov ecx, esi
push ebx
call fcn.1000d460
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10004590
lea ecx, [ebp - 0x248]
call fcn.10003ec0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10003ec0
push 0
push 0
push 1
push 0
push str.dll_exist
call fcn.1000eab0
mov ecx, eax
call fcn.1003d2e0
jmp 0x1002005b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001ff35
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001fef5
push 0x2f
push str.f:lib_common_netshield_netshieldtrayclient.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10007ae0
mov byte [ebp - 4], 7
call fcn.1003c1f0
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x4b
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100034d0
mov esi, eax
push str.CreateMutex_already_exists.
push esi
mov byte [ebp - 4], 8
call fcn.10004460
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10004590
lea ecx, [ebp - 0x248]
call fcn.10003ec0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10003ec0
push dword [0x100ac528]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x100ac528]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 1
push 0
push str.dll_exist
mov dword [0x100ac528], 0
call fcn.1000eab0
mov ecx, eax
call fcn.1003d2e0
jmp 0x1002005b
call fcn.1000e990
mov ecx, eax
call fcn.10006040
test eax, eax
jne 0x10020026
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002005b
push 0x2f
push str.f:lib_common_netshield_netshieldtrayclient.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 9
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10007ae0
mov byte [ebp - 4], 0xa
call fcn.1003c1f0
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x56
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100034d0
mov esi, eax
push str.net_shield_closed.
push esi
mov byte [ebp - 4], 0xb
call fcn.10004460
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10004590
lea ecx, [ebp - 0x248]
call fcn.10003ec0
lea ecx, [ebp - 0x230]
call fcn.10003ec0
jmp 0x1002005b
cmp dword [ebx + 0x34], 0
jne 0x10020054
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push eax
push 0
push ebx
push 0x100203c0
push 0
push 0
call fcn.1006c561
add esp, 0x18
mov dword [ebx + 0x34], eax
mov ecx, ebx
call fcn.1001cf70
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f57d
mov esp, ebp
pop ebp
ret 4
call fcn.1005f339
call fcn.1005f339
int3