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

Disassembly:
push 0xffffffffffffffff
push 0x4c57c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push str.COnacConf::LoadONac________
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00443350
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.004434c0
test eax, eax
jne 0x402ef4
push str.open_reg_error_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.COnacConf::LoadONac_____
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00443440
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push ebp
lea ecx, [esp + 0x10]
push str.NAC_SEND_INTERVAL
push ecx
lea ecx, [esp + 0x20]
call fcn.00443af0
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call fcn.004ab855
push eax
call fcn.0041911c
mov ebp, dword [esp + 0x4c]
add esp, 4
cmp eax, esi
mov dword [ebp + 4], eax
jne 0x402f32
mov dword [ebp + 4], 0x1e
mov ecx, dword [ebp + 4]
mov eax, 0xa
cmp ecx, eax
jae 0x402f41
mov dword [ebp + 4], eax
mov edx, dword [ebp + 4]
push ebx
push edi
push edx
push str.COnacConf::LoadONac_2___d_
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x14
lea eax, [esp + 0x50]
lea ecx, [esp + 0x20]
push str.NAC_IP_LIST
push eax
call fcn.00443af0
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x4c], 2
call fcn.0042b670
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 4
call fcn.004ab425
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call fcn.00431010
mov edx, dword [eax]
mov byte [esp + 0x48], 5
push edx
push str.COnacConf::LoadONac_3___s_
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call fcn.00431990
mov eax, dword [esp + 0x54]
cmp dword [eax - 8], esi
jne 0x40308b
lea ecx, [esp + 0x28]
call fcn.00443350
push 0x20019
mov bl, 6
push str.SOFTWARETECOcular.3AgentNAC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], bl
call fcn.004434c0
test eax, eax
je 0x40307d
lea ecx, [esp + 0x1c]
push str.NAC_IP_LIST
push ecx
lea ecx, [esp + 0x30]
call fcn.00443af0
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x4c], 7
call fcn.0042c2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call fcn.004ab425
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
push edx
call fcn.00431010
mov eax, dword [eax]
mov byte [esp + 0x48], 8
push eax
push str.COnacConf::LoadONac_3_1___s_
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], bl
call fcn.00431990
lea ecx, [esp + 0x28]
call fcn.00443510
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 4
call fcn.00443440
lea ecx, [esp + 0x14]
push str.NAC_ENABLE
push ecx
lea ecx, [esp + 0x28]
call fcn.00443af0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x48], 9
cmp dword [eax - 8], esi
jne 0x4030bd
mov eax, dword [esp + 0x54]
xor edx, edx
cmp dword [eax - 8], esi
setne dl
mov dword [ebp], edx
jmp 0x4030d3
push 0x4e8eec
push eax
call fcn.00418efc
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [ebp], eax
mov ecx, dword [ebp]
push ecx
push str.COnacConf::LoadONac_1___d_
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.004369d0
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x30]
push edx
push 0x4e8eb0
push eax
mov byte [esp + 0x54], 0xa
call fcn.00449540
add esp, 0xc
lea edi, [ebp + 8]
mov ecx, edi
push 0xffffffffffffffff
push esi
call fcn.004a9bfb
cmp dword [esp + 0x34], esi
jle 0x403160
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x38]
call fcn.00403250
mov eax, dword [eax]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.0042c020
mov eax, dword [edi + 8]
push ebx
push eax
mov ecx, edi
call fcn.004a9dbf
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x403128
lea edx, [esp + 0x10]
push str.NAC_MAX_OFFLINE
push edx
lea ecx, [esp + 0x28]
call fcn.00443af0
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xb
call fcn.004ab855
push eax
call fcn.0041911c
add esp, 4
cmp eax, 0x12c
mov dword [ebp + 0x1c], eax
pop edi
pop ebx
jae 0x40319f
mov dword [ebp + 0x1c], 0x12c
mov eax, dword [ebp + 0x1c]
push eax
push str.COnacConf::LoadONac_4___d_
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0xa
call fcn.004ab425
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 9
call fcn.004369e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 4
call fcn.004ab425
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call fcn.0042c020
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.004ab425
lea ecx, [esp + 0x18]
call fcn.00443510
push str.COnacConf::LoadONac___
push 0x4e81a4
push 0xf
push 0x4fe39c
call fcn.0040c300
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call fcn.00443440
mov ecx, dword [esp + 0x38]
pop ebp
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret