Function at 0x401ae0
Capabilities:
Execute command
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e7c5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x415040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov edx, str.AuthControl_
lea ecx, [ebp - 0x40]
call fcn.00405930
add esp, 4
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00401830
test al, al
je 0x401b74
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.A_regra_do_firewall_para_o_IP
call fcn.004056e0
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x401b49
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00406e20
add esp, 4
mov edx, 0x410688
mov ecx, eax
push 0x405900
call fcn.004056e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x401d93
lea eax, [ebp - 0x40]
mov edx, str.netsh_advfirewall_firewall_add_rule_name_
push eax
lea ecx, [ebp - 0x74]
call fcn.00405930
mov ecx, eax
add esp, 4
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 1
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x1f
jb 0x401bcb
lea eax, [edx + 0x1f]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x401baf
mov eax, dword [ecx]
push 0x1f
lea esi, [eax + edx]
push str.__dirin_actionallow_remoteip
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov byte [esi + 0x1f], 0
jmp 0x401be0
push 0x1f
push str.__dirin_actionallow_remoteip
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push 0x1f
call fcn.00406310
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00405a60
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x401c5e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401c54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c9a
push ecx
push edx
call fcn.0040d9a9
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x401caa
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401ca0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401ca0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040d9a9
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x64], 0
cmova eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
test eax, eax
jne 0x401d1d
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Regra_adicionada_ao_firewall_para_o_IP:
call fcn.004056e0
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x401cef
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00406e20
add esp, 4
mov edx, str._com_o_nome:
mov ecx, eax
call fcn.004056e0
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push 0x405900
cmova edx, dword [ebp - 0x40]
push dword [ebp - 0x30]
jmp 0x401d3f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Erro_ao_adicionar_a_regra_ao_firewall_para_o_IP:
call fcn.004056e0
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x401d37
mov edx, dword [edi]
push 0x405900
push dword [edi + 0x10]
mov ecx, eax
call fcn.00406e20
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x401d81
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401d77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401db9
push ecx
push edx
call fcn.0040d9a9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x401dc9
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401dbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401dbf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040d9a9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d71a
mov esp, ebp
pop ebp
ret