Function at 0x13146620
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x131c37fb
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x131e90f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1319ba80
add esp, 0xc
mov dword [ebp - 0x280], 0x200
lea eax, [ebp - 0x284]
push eax
push str.Software
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1314668b
mov edx, 0x131da42a
jmp 0x131466be
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push 0
push 0x131eeea0
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea edx, [ebp - 0x248]
mov ecx, 0x131da42a
cmovne edx, ecx
mov ecx, edx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x131466e0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.13161f40
mov dword [ebp - 4], 0
cmp dword [ebp - 0x250], 3
jae 0x1314683b
lea ecx, [ebp - 0x278]
call fcn.131463d0
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.131a44d5
add esp, 4
mov edi, eax
lea eax, [ebp - 0x27c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Software
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x13146760
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
push 1
push 0
push 0x131eeea0
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x131467af
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
push str._s.exe
jmp 0x131467ef
cmp esi, 1
jne 0x131467d0
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
push str._s.cpl
jmp 0x131467ef
cmp esi, 3
jne 0x131467fb
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
push 0x131da734
lea eax, [ebp - 0x44]
push eax
call fcn.13141a40
add esp, 0xc
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x131468a7
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1314682f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x131468fb
push edx
push ecx
call fcn.1319928a
add esp, 8
jmp 0x131468a7
test esi, esi
jne 0x1314685b
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str._s.exe
jmp 0x1314689b
cmp esi, 1
jne 0x1314687c
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str._s.cpl
jmp 0x1314689b
cmp esi, 3
jne 0x131468a7
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push 0x131da734
lea eax, [ebp - 0x44]
push eax
call fcn.13141a40
add esp, 0xc
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x131468dd
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x131468d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x13146900
push edx
push ecx
call fcn.1319928a
add esp, 8
lea eax, [ebp - 0x44]
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.13198da3
mov esp, ebp
pop ebp
ret
call fcn.131a753d
call fcn.131a753d
int3