Function at 0x1000f4b3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x910
mov eax, dword [0x100ba410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x903]
push 0x7ff
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x904], bl
call fcn.10023400
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push ebx
push eax
call fcn.10023400
add esp, 0x18
lea eax, [ebp - 0x908]
mov esi, 0xf003f
push eax
push esi
push ebx
push str.SOFTWAREIntersect_AllianceAuditServiceRemote_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000f551
lea eax, [ebp - 0x910]
push eax
lea eax, [ebp - 0x908]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push str.SOFTWAREIntersect_AllianceAuditServiceRemote_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1000f551
push 2
pop eax
jmp 0x1000f77e
push 0xffffffffffffffff
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.10021c86
lea ecx, [ebp - 0x904]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f574
sub ecx, edx
lea eax, [ebp - 0x904]
push ecx
push eax
push 1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.RestrictIP
push dword [ebp - 0x908]
call ebx
xor esi, esi
lea edx, [edi + 4]
test eax, eax
mov eax, 0xffff
push 4
pop ecx
cmovne esi, ecx
cmp dword [edx], 1
sbb ecx, ecx
neg ecx
cmp eax, dword [edx]
sbb eax, eax
neg eax
or ecx, eax
je 0x1000f5c4
mov dword [edx], 0x1811
push 4
push edx
push 4
push 0
push str.WebPort
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f5df
add esi, 8
cmp dword [edi], 1
jbe 0x1000f5e7
and dword [edi], 0
push 4
push edi
push 4
push 0
push str.Allow
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f602
add esi, 0x10
lea eax, [edi + 0x810]
cmp dword [eax], 1
jbe 0x1000f610
and dword [eax], 0
push 4
push eax
push 4
push 0
push str.AccessKey
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f62e
add esi, 0x100
lea eax, [edi + 0xc]
cmp dword [eax], 1
jbe 0x1000f639
and dword [eax], 0
push 4
push eax
push 4
push 0
push str.Restrict
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f654
add esi, 0x20
lea eax, [edi + 8]
cmp dword [eax], 1
jbe 0x1000f65f
and dword [eax], 0
push 4
push eax
push 4
push 0
push str.WebPortChange
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f67a
add esi, 0x40
push 0xffffffffffffffff
lea eax, [edi + 0x814]
push eax
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.10021c86
lea ecx, [ebp - 0x104]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f6a0
sub ecx, edx
lea eax, [ebp - 0x104]
push ecx
push eax
push 1
push 0
push str.AccessKeySet
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f6c9
sub esi, 0xffffff80
lea edx, [edi + 0x914]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x90c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f6da
sub ecx, dword [ebp - 0x90c]
push ecx
push edx
push 1
push 0
push str.AccessKeySetSnare1
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f704
add esi, 0x100
lea edx, [edi + 0xa14]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x90c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f715
sub ecx, dword [ebp - 0x90c]
push ecx
push edx
push 1
push 0
push str.AccessKeySetSnare2
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f73f
add esi, 0x200
add edi, 0xb14
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f74a
sub ecx, edx
push ecx
push edi
push 1
push 0
push str.AccessKeySetSnare3
push dword [ebp - 0x908]
call ebx
test eax, eax
je 0x1000f770
add esi, 0x400
push dword [ebp - 0x908]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e010
mov esp, ebp
pop ebp
ret