Function at 0x404890
Capabilities:
Print debug messages
Register network filter via wfp api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x40700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x114], 0
push 0x94
push 0
lea ecx, [ebp - 0x110]
push ecx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x5c], 0
push 0x38
push 0
lea eax, [ebp - 0x58]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov dword [ebp - 0x124], 0
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov byte [ebp - 0x115], 0
push 0x405364
push 0x4059ee
push 0x81
push 0x4059b0
push 0x4051aa
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x78], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x74], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [0x407038]
push ecx
call sub.fwpkclnt.sys_FwpsCalloutRegister2
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x4049ab
jmp 0x404b09
mov byte [ebp - 0x115], 1
mov dword [ebp - 0x124], 0x405a06
mov dword [ebp - 0x120], 0x405a28
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x30], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x58], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x54], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x48], eax
push 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [0x4170b0]
push edx
call sub.fwpkclnt.sys_FwpmCalloutAdd0
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x404a34
jmp 0x404b09
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xb4], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xbc], 0x5003
mov dword [ebp - 0x104], 0x405a82
mov dword [ebp - 0x100], 0x405a9a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xec], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xe8], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xe4], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc0], eax
mov ecx, dword [0x406774]
mov dword [ebp - 0xdc], ecx
mov edx, dword [0x406778]
mov dword [ebp - 0xd8], edx
mov eax, dword [0x40677c]
mov dword [ebp - 0xd4], eax
mov ecx, dword [0x406780]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp + 0x20]
push edx
push 0
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [0x4170b0]
push ecx
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x404b49
push 0x405978
push 0x4059ee
push 0xad
push 0x4059b0
push 0x4051aa
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
movzx edx, byte [ebp - 0x115]
test edx, edx
je 0x404b49
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push ecx
call sub.fwpkclnt.sys_FwpsCalloutUnregisterById0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004050b4
mov esp, ebp
pop ebp
ret 0x1c