Function at 0xa64e60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x96c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x964], eax
mov eax, dword [esp + 0x970]
push ebx
push ebp
mov ebp, dword [esp + 0x97c]
push esi
push edi
mov esi, edx
xor ebx, ebx
push 0x103
lea edx, [esp + 0x665]
push ebx
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x66c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x207
lea eax, [esp + 0x76d]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x774], bl
call fcn.00a7ffb0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push str.DebugPP
mov ecx, 0xaa21e4
mov edx, 0x80000002
mov dword [esp + 0x20], ebx
call fcn.0094c0d0
cmp dword [esp + 0x18], ebx
je 0xa64f1f
mov edx, dword [esp + 0x988]
mov eax, dword [esp + 0x98c]
push esi
push 0xaabc14
push edx
push eax
push str._PP__FW:_u__AddRemovePortProxy__u_:_ListenAdd:__s___ListenPort:__s_
push ebx
call fcn.0096a780
add esp, 0x18
mov ecx, 0xd
mov esi, str.SYSTEMCurrentControlSet_servicesPortProxy_v4tov4_tcp
lea edi, [esp + 0x660]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
push ecx
push 1
push ebx
movsw word es:[edi], word [esi]
lea edx, [esp + 0x66c]
push edx
push 0x80000002
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0xa65174
push 0x103
lea eax, [esp + 0x55d]
push ebx
push eax
mov byte [esp + 0x564], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x455]
push ebx
push ecx
mov byte [esp + 0x45c], bl
call fcn.00a7ffb0
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebx
je 0xa64fbe
push eax
push 0xaabc14
lea edx, [esp + 0x560]
push str._s__s
push edx
call fcn.00a78f30
add esp, 0x10
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0xa64fe1
cmp ebp, ebx
je 0xa64fe1
push ebp
push eax
lea eax, [esp + 0x458]
push str._s__s
push eax
call fcn.00a78f30
add esp, 0x10
push 0x103
lea ecx, [esp + 0x3d]
push ebx
push ecx
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea edx, [esp + 0x145]
push ebx
push edx
call fcn.00a7ffb0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x144]
push ecx
mov ecx, dword [esp + 0x28]
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
mov ebp, 0x104
push ecx
xor esi, esi
mov byte [esp + 0x58], bl
mov byte [esp + 0x160], bl
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
call edi
test eax, eax
jne 0xa6515d
cmp dword [esp + 0x18], ebx
je 0xa65074
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x3c]
push eax
push str._PP__ValueName:__s___ValueData:__s_
push ebx
call fcn.0096a780
add esp, 0x10
mov eax, dword [esp + 0x988]
cmp eax, 2
jne 0xa650dc
lea ecx, [esp + 0x38]
push 0x2f
push ecx
call fcn.00a7a2c0
add esp, 8
cmp eax, ebx
je 0xa650fa
mov edx, dword [esp + 0x1c]
push edx
inc eax
push eax
call fcn.00a88f66
add esp, 8
test eax, eax
jne 0xa650fa
cmp dword [esp + 0x18], ebx
je 0xa650bf
lea eax, [esp + 0x38]
push eax
push str._PP__VALUE_TO_BE_DELETED:___s_
push ebx
call fcn.0096a780
add esp, 0xc
push ebx
push 0x2c
lea edx, [esp + 0x40]
lea ecx, [esp + 0x770]
mov dword [esp + 0x1c], 1
call fcn.009694d0
jmp 0xa650fa
cmp eax, 1
jne 0xa650fa
lea ecx, [esp + 0x558]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00a88f66
add esp, 8
test eax, eax
je 0xa65139
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x144]
push ecx
mov ecx, dword [esp + 0x28]
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
inc esi
push esi
push ecx
mov byte [esp + 0x58], bl
mov byte [esp + 0x160], bl
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
call edi
test eax, eax
je 0xa65053
jmp 0xa6515d
lea edx, [esp + 0x450]
push edx
lea eax, [esp + 0x144]
push eax
call fcn.00a88f66
add esp, 8
test eax, eax
jne 0xa6515d
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0xa65170
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x988]
cmp eax, 2
jne 0xa6531f
cmp dword [esp + 0x14], ebx
je 0xa65318
cmp byte [esp + 0x768], bl
je 0xa65318
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x76c]
mov dword [esp + 0x18], ebx
push edx
mov bl, 0x2c
lea edi, [esp + 0x458]
call fcn.0095ae80
or ebp, 0xffffffff
add esp, 8
cmp dword [esp + 0x14], ebp
je 0xa652a8
lea ebx, [ebx]
lea eax, [esp + 0x450]
push 0x2f
push eax
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0xa65280
lea ecx, [eax + 1]
lea esi, [esp + 0x558]
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0xa651f6
mov byte [eax], dl
xor ecx, ecx
jmp 0xa65210
mov dl, byte [esp + ecx + 0x450]
mov byte [esp + ecx + 0x140], dl
inc ecx
test dl, dl
jne 0xa65210
lea ecx, [esp + 0x558]
push ecx
lea edx, [esp + 0x144]
push edx
mov byte [eax], 0x2f
lea eax, [esp + 0x250]
push str.netsh_interface_portproxy_delete_v4tov4_listenaddress_s_listenport_s
push eax
call fcn.00a78f30
push 2
lea ecx, [esp + 0x25c]
push 1
push ecx
xor eax, eax
xor ecx, ecx
mov edx, ebp
call fcn.0095dfe0
add esp, 0x1c
cmp dword [esp + 0x18], 0
je 0xa65280
lea edx, [esp + 0x248]
push edx
push str._PP__A_Exec:__s_
push 0
call fcn.0096a780
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x76c]
push ecx
mov bl, 0x2c
lea edi, [esp + 0x458]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0x14], ebp
jne 0xa651d0
call fcn.00968d70
test eax, eax
je 0xa652c5
mov edx, dword [esp + 0x1c]
push edx
push str.netsh_advfirewall_firewall_delete_rule_nameall_protocoltcp_localport_s
lea eax, [esp + 0x250]
push eax
jmp 0xa652d7
mov ecx, dword [esp + 0x1c]
push ecx
push str.netsh_firewall_delete_portopening_protocol__TCP_port___s_profile__ALL
lea edx, [esp + 0x250]
push edx
call fcn.00a78f30
add esp, 0xc
push 2
lea eax, [esp + 0x24c]
push 1
push eax
xor eax, eax
xor ecx, ecx
mov edx, ebp
call fcn.0095dfe0
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0xa65444
lea ecx, [esp + 0x248]
push ecx
push str._PP__B_Exec:__s_
push 0
jmp 0xa6543c
xor eax, eax
jmp 0xa65449
cmp eax, 1
jne 0xa65444
cmp dword [esp + 0x14], ebx
jne 0xa65444
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push ebp
push edx
push esi
push 0xaabc14
lea eax, [esp + 0x258]
push str.netsh_interface_portproxy_add_v4tov4_listenaddress_s_listenport_s_connectaddress_s_connectport_s
push eax
call fcn.00a78f30
push 2
lea ecx, [esp + 0x264]
push 1
push ecx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
call fcn.0095dfe0
add esp, 0x24
cmp dword [esp + 0x18], ebx
je 0xa6538b
lea edx, [esp + 0x248]
push edx
push str._PP__C_Exec:__s_
push ebx
call fcn.0096a780
add esp, 0xc
call fcn.00968d70
push esi
test eax, eax
je 0xa653a4
push str.netsh_advfirewall_firewall_delete_rule_nameall_protocoltcp_localport_s
lea eax, [esp + 0x250]
push eax
jmp 0xa653b1
push str.netsh_firewall_delete_portopening_protocol__TCP_port___s_profile__ALL
lea ecx, [esp + 0x250]
push ecx
call fcn.00a78f30
add esp, 0xc
push 2
lea edx, [esp + 0x24c]
push 1
push edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
call fcn.0095dfe0
add esp, 0xc
call fcn.00968d70
test eax, eax
je 0xa653f2
mov eax, dword [esp + 0x30]
push ebp
push eax
push str.netsh_advfirewall_firewall_add_rule_name__s__dirin_profileany_actionallow_protocoltcp_localport_s
lea ecx, [esp + 0x254]
push ecx
jmp 0xa65405
mov edx, dword [esp + 0x30]
push edx
push ebp
push str.netsh_firewall_set_portopening_protocol__TCP_port___s_name___s_mode__ENABLE_scope__ALL
lea eax, [esp + 0x254]
push eax
call fcn.00a78f30
add esp, 0x10
push 2
lea ecx, [esp + 0x24c]
push 1
push ecx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
call fcn.0095dfe0
add esp, 0xc
cmp dword [esp + 0x18], ebx
je 0xa65444
lea edx, [esp + 0x248]
push edx
push str._PP__D_Exec:__s_
push ebx
call fcn.0096a780
add esp, 0xc
mov eax, 1
mov ecx, dword [esp + 0x974]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x96c
ret