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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x480e8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x487e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00013c3c
mov byte [ebp - 0x35], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x487bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0x487fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x48763
mov dl, 1
mov eax, dword [0x47500]
call fcn.00047774
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4875c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x19000
call fcn.00019220
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4873f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x48834
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.000189b4
mov ebx, eax
test ebx, ebx
jne 0x486f2
cmp dword [ebp - 0x3c], 7
jne 0x4869e
cmp dword [ebp - 0x18], 1
jbe 0x4869e
cmp dword [ebp - 0x18], 0x19000
jae 0x4869e
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
call fcn.000189b0
mov ebx, eax
jmp 0x4820d
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00031d88
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push ebx
call sub.kernel32.dll_lstrlenA_1
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x34], eax
add ebx, dword [ebp - 0x24]
cmp byte [ebx], 0
je 0x4821b
cmp dword [ebp - 0x34], 0x19000
jb 0x481e5
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x48686
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
cmp esi, 0
jb 0x48283
lea ecx, [ebp - 0x4c]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0002b058
mov eax, dword [ebp - 0x48]
push eax
lea edx, [ebp - 0x50]
mov eax, 0x4884c
call fcn.0002b058
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00013fdc
jne 0x4827d
mov byte [ebp - 0x35], 1
mov edx, esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x44]
dec esi
cmp esi, 0xffffffff
jne 0x4823b
cmp byte [ebp - 0x35], 0
je 0x48662
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, 0x48858
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00018a0c
mov ebx, eax
test ebx, ebx
je 0x482cf
push ebp
lea edx, [ebp - 0x58]
mov eax, ebx
call fcn.0002b100
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x48870
call fcn.00013f18
mov eax, dword [ebp - 0x54]
call fcn.00047a24
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.00018980
mov eax, dword [ebp - 0xc]
call fcn.000189b0
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jb 0x48339
inc eax
mov dword [ebp - 0x44], eax
xor esi, esi
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00013ecc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
call fcn.0001409c
mov edx, ebx
mov ecx, dword [ebp - 0x24]
call fcn.00012840
mov eax, dword [ebp - 0x24]
inc eax
add ebx, eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x34], eax
inc esi
dec dword [ebp - 0x44]
jne 0x482f9
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, 0x48834
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00018a0c
mov ebx, eax
test ebx, ebx
jne 0x48632
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x40]
mov edx, 0x4884c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00018980
mov eax, dword [ebp - 0xc]
call fcn.000189b0
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jb 0x483dd
inc eax
mov dword [ebp - 0x44], eax
xor esi, esi
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00013ecc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
call fcn.0001409c
mov edx, ebx
mov ecx, dword [ebp - 0x24]
call fcn.00012840
mov eax, dword [ebp - 0x24]
inc eax
add ebx, eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x34], eax
inc esi
dec dword [ebp - 0x44]
jne 0x4839d
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, 0x48878
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00018a0c
mov ebx, eax
test ebx, ebx
jne 0x48602
mov eax, 0x19000
call fcn.00019220
mov dword [ebp - 0x20], eax
mov eax, 0x19000
call fcn.00019220
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x485fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, 0x48890
call fcn.00013cd4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
push 0x488d4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov esi, eax
test ebx, ebx
jne 0x48566
test esi, esi
jne 0x48566
xor esi, esi
mov eax, dword [ebp - 0x20]
call fcn.00018998
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
call fcn.00018994
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
call fcn.00018980
mov eax, dword [ebp - 0x28]
call fcn.00018980
xor eax, eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x20]
call fcn.000189b0
push eax
push esi
mov eax, dword [ebp - 0x40]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x48525
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x3c]
push eax
push 0
mov eax, dword [ebp - 0x20]
call fcn.000189b0
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.advapi32.dll_RegSetValueExA
inc esi
test ebx, ebx
je 0x484a9
push ebp
mov eax, 0x4884c
call fcn.00047ad0
pop ecx
test al, al
jne 0x48553
mov dword [ebp - 8], 7
push ebp
mov eax, 0x48920
call fcn.00047a24
pop ecx
jmp 0x485b5
push ebp
mov eax, 0x48930
call fcn.00047978
pop ecx
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x485b5
mov dword [ebp - 8], 0xb
push ebp
lea edx, [ebp - 0x60]
mov eax, ebx
call fcn.0002b100
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x4893c
call fcn.00013f18
mov eax, dword [ebp - 0x5c]
call fcn.00047a24
pop ecx
push ebp
lea edx, [ebp - 0x68]
mov eax, esi
call fcn.0002b100
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x48950
call fcn.00013f18
mov eax, dword [ebp - 0x64]
call fcn.00047a24
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48729
cmp dword [ebp - 0x2c], 0
je 0x485d1
mov eax, dword [ebp - 0x2c]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp dword [ebp - 0x40], 0
je 0x485e0
mov eax, dword [ebp - 0x40]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x28]
call fcn.00019230
lea eax, [ebp - 0x20]
call fcn.00019230
ret
mov dword [ebp - 8], 6
push ebp
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0002b100
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x48964
call fcn.00013f18
mov eax, dword [ebp - 0x6c]
call fcn.00047a24
pop ecx
jmp 0x48729
mov dword [ebp - 8], 5
push ebp
lea edx, [ebp - 0x78]
mov eax, ebx
call fcn.0002b100
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0x48974
call fcn.00013f18
mov eax, dword [ebp - 0x74]
call fcn.00047a24
pop ecx
jmp 0x48729
mov dword [ebp - 8], 7
push ebp
mov eax, 0x4884c
call fcn.00047ad0
pop ecx
push ebp
mov eax, 0x48984
call fcn.00047978
pop ecx
jmp 0x48729
mov dword [ebp - 8], 4
push ebp
mov eax, 0x489a0
call fcn.00047a24
pop ecx
jmp 0x48729
mov dword [ebp - 8], 3
push ebp
push 0x489b4
mov eax, dword [ebp - 0x3c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x80]
call fcn.0002b0cc
push dword [ebp - 0x80]
push 0x489c4
push 0
push 0x19000
lea eax, [ebp - 0x84]
call fcn.0002b0cc
push dword [ebp - 0x84]
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00013f8c
mov eax, dword [ebp - 0x7c]
call fcn.00047a24
pop ecx
jmp 0x48729
mov dword [ebp - 8], 2
push ebp
lea edx, [ebp - 0x8c]
mov eax, ebx
call fcn.0002b100
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x489d0
call fcn.00013f18
mov eax, dword [ebp - 0x88]
call fcn.00047a24
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48746
lea eax, [ebp - 0xc]
call fcn.00019230
ret
mov dword [ebp - 8], 1
push ebp
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.0002b100
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x489e0
call fcn.00013f18
mov eax, dword [ebp - 0x90]
call fcn.00047a24
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487c3
cmp dword [ebp - 0x1c], 0
je 0x487b6
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x1c], eax
ret