Function at 0x12ed5f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13067250
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
mov ebp, ecx
push 0x20000
call fcn.12e6efd0
add esp, 4
test eax, eax
jne 0x12ed5f5e
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14
push ebx
push esi
push edi
push 0xffdf
lea ecx, [esp + 0x18]
call fcn.12f29950
mov eax, dword [0x13199068]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x58], edi
je 0x12ed5f9e
mov eax, dword [ebx]
push eax
push esi
push str._CTSCDTPolicy::FilterConnect___________d____d_
push str.SCDTNWRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
xor ecx, ecx
cmp esi, edi
mov dword [esp + 0x68], ecx
jne 0x12ed5ff9
mov eax, dword [ebx]
cmp eax, edi
je 0x12ed61fe
mov ecx, dword [0x13199068]
mov esi, dword [esp + 0x70]
cmp ecx, edi
je 0x12ed5fd6
push eax
push esi
push str._CTSCDTPolicy::FilterConnect_after___d____d_
push str.SCDTNWRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp esi, 2
je 0x12ed60c2
cmp esi, 3
je 0x12ed60c2
mov eax, dword [esp + 0x60]
mov ecx, ebp
push eax
call fcn.12ed6260
jmp 0x12ed61fa
mov eax, dword [0x13199068]
mov esi, dword [esp + 0x64]
cmp eax, edi
je 0x12ed6030
mov eax, dword [esi]
xor ecx, ecx
mov cx, word [esi + 0x16]
xor edx, edx
mov dx, word [esi + 0x14]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
push str._CTSCDTPolicy::FilterConnect_1__d_____08x___d___d_
push str.SCDTNWRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
xor edx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x34], edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x24], edx
push 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], edx
push eax
push ecx
mov dword [esp + 0x3c], edx
push edx
lea edx, [esp + 0x44]
push esi
push edx
mov ecx, ebp
call fcn.12ed58f0
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp edx, 4
sete al
test eax, eax
mov dword [esp + 0x68], eax
jne 0x12ed61f8
push 0x18
call fcn.12f5c05b
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x12ed61f8
mov ecx, 6
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebx]
mov ecx, 6
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
jmp 0x12ed61f8
mov eax, dword [ebx]
mov dword [esp + 0x70], edi
cmp eax, edi
je 0x12ed61fa
lea ecx, [ebp + 4]
push 1
push ecx
lea ecx, [esp + 0x24]
call fcn.12f56170
mov edi, dword [esp + 0x60]
mov edx, dword [ebx]
mov esi, dword [ebp + 0x28]
add ebp, 0x24
mov eax, edi
mov dword [esp + 0x10], edx
shr eax, 4
xor edx, edx
mov ecx, dword [ebp]
div esi
test ecx, ecx
mov byte [esp + 0x58], 1
mov ebx, edx
je 0x12ed6122
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x12ed611e
cmp dword [eax + 8], edi
je 0x12ed611a
mov eax, dword [eax]
test eax, eax
jne 0x12ed610d
jmp 0x12ed611e
test eax, eax
jne 0x12ed616d
test ecx, ecx
jne 0x12ed6152
lea edi, [esi*4]
push edi
call fcn.12f5c05b
mov edx, eax
mov ecx, edi
mov dword [ebp], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x60]
mov dword [ebp + 4], esi
mov ecx, ebp
call fcn.12eda780
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov ecx, dword [ebp]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [ebp]
mov dword [ecx + ebx*4], eax
mov esi, dword [esp + 0x10]
lea edi, [eax + 0x10]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x64]
cmp word [esi + 0x14], 0
je 0x12ed6199
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
cmp dword [eax], 6
jne 0x12ed6199
mov dword [esp + 0x70], 1
mov eax, dword [0x13199068]
test eax, eax
je 0x12ed61d5
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
push ecx
push edx
mov edx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x78]
push ecx
push str._CTSCDTPolicy::FilterConnect_add_socket__d___d___d___d___I64u___d_
push str.SCDTNWRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x28
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0
call fcn.12f561d0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x12ed61f8
push 0
push esi
mov ecx, 0x131c13e0
call fcn.12ed79d0
xor edi, edi
mov ecx, dword [esp + 0x68]
cmp dword [0x13199068], edi
je 0x12ed622a
cmp ecx, edi
mov eax, str.SCDTDIS
jne 0x12ed6214
mov eax, str.Enable
push eax
push ecx
push str._CTSCDTPolicy::FilterConnect____d___s_
push str.SCDTNWRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call fcn.12f29980
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14