Function at 0x1000a510
Capabilities:
Print debug messages
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x1008ccb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push str.COnacConf::LoadONac________
push str.RunNac
push 0xf
push 0x100a8a3c
call fcn.10010030
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.10056730
mov eax, dword [esp + 0x48]
push 0x20019
xor esi, esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], esi
call fcn.100568a0
test eax, eax
jne 0x1000a59b
push str.open_reg_error_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.10056820
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push ebx
lea ecx, [esp + 0x10]
push str.NAC_SEND_INTERVAL
push ecx
lea ecx, [esp + 0x20]
call fcn.10056ed0
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call fcn.1007db79
push eax
call fcn.10016404
mov ebx, dword [esp + 0x4c]
add esp, 4
cmp eax, esi
mov dword [ebx + 4], eax
jne 0x1000a5d9
mov dword [ebx + 4], 0x1e
mov ecx, dword [ebx + 4]
mov eax, 0xa
cmp ecx, eax
jae 0x1000a5e8
mov dword [ebx + 4], eax
lea edx, [esp + 0x48]
push str.NAC_IP_LIST
push edx
lea ecx, [esp + 0x20]
call fcn.10056ed0
mov eax, dword [eax]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0x44], 2
call fcn.100283a0
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 4
call fcn.1007d749
mov eax, dword [esp + 0x4c]
cmp dword [eax - 8], esi
jne 0x1000a696
lea ecx, [esp + 0x20]
call fcn.10056730
push 0x20019
push str.SOFTWARETECOcular.3AgentNAC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 5
call fcn.100568a0
test eax, eax
je 0x1000a688
lea ecx, [esp + 0x14]
push str.NAC_IP_LIST
push ecx
lea ecx, [esp + 0x28]
call fcn.10056ed0
mov eax, dword [eax]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0x44], 6
call fcn.10029010
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 5
call fcn.1007d749
lea ecx, [esp + 0x20]
call fcn.100568f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 4
call fcn.10056820
lea edx, [esp + 8]
push str.NAC_ENABLE
push edx
lea ecx, [esp + 0x20]
call fcn.10056ed0
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x44], 7
call fcn.1002dd40
mov ecx, dword [eax]
mov byte [esp + 0x40], 8
push ecx
push 0x100a00e0
push str.RunNac
push 0xf
push 0x100a8a3c
call fcn.10010030
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 7
call fcn.1002e6c0
mov eax, dword [esp + 8]
cmp dword [eax - 8], esi
jne 0x1000a704
mov eax, dword [esp + 0x4c]
xor edx, edx
cmp dword [eax - 8], esi
setne dl
mov dword [ebx], edx
jmp 0x1000a719
push 0x100a00dc
push eax
call fcn.100158ae
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [ebx], eax
mov ecx, dword [ebx]
push edi
push ecx
push str.COnacConf::LoadONac___d_
push str.RunNac
push 0xf
push 0x100a8a3c
call fcn.10010030
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.10033700
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x2c]
push edx
push 0x100a00a4
push eax
mov byte [esp + 0x50], 9
call fcn.1005a210
add esp, 0xc
lea edi, [ebx + 8]
mov ecx, edi
push 0xffffffffffffffff
push esi
call fcn.1007c4e8
cmp dword [esp + 0x30], esi
jle 0x1000a7a7
push ebp
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x38]
call fcn.1000a860
mov eax, dword [eax]
push eax
call sub.WSOCK32.dll_inet_addr
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.10028d50
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, edi
call fcn.1007c6ac
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x1000a76f
pop ebp
lea edx, [esp + 0x10]
push str.NAC_MAX_OFFLINE
push edx
lea ecx, [esp + 0x24]
call fcn.10056ed0
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0xa
call fcn.1007db79
push eax
call fcn.10016404
add esp, 4
cmp eax, 0x12c
mov dword [ebx + 0x1c], eax
pop edi
jae 0x1000a7e5
mov dword [ebx + 0x1c], 0x12c
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 9
call fcn.1007d749
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 7
call fcn.10033710
lea ecx, [esp + 8]
mov byte [esp + 0x40], 4
call fcn.1007d749
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.10028d50
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.1007d749
lea ecx, [esp + 0x18]
call fcn.100568f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call fcn.10056820
mov ecx, dword [esp + 0x38]
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret