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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eba90
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401830
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0041d9cc
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x484494
push 0x80004005
call fcn.004016a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4844b5
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esi + 0x68]
cmp eax, 1
jne 0x4845e2
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push 0x52b510
push edx
call fcn.00402950
add esp, 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push 0x2001f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x2c]
call fcn.00410c00
test eax, eax
jne 0x4845a3
mov ecx, dword [esi + 0x30]
mov esi, dword [ebp - 0x2c]
push 4
lea edx, [ebp + 8]
push edx
push 4
push ebx
push 0x52b524
push esi
mov dword [ebp + 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x484531
push esi
call edi
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x484542
push esi
call edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484567
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48458d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x4845b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4845dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x484791
cmp eax, ebx
jne 0x48476f
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push str.CLSID083863F1_70DE_11d0_BD40_00A0C911CE86Instance_s
push edx
call fcn.00402950
add esp, 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10]
push 0x2001f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x2c]
call fcn.00410c00
test eax, eax
jne 0x484733
push 0x40000
mov dword [ebp - 0x1c], 0x40000
call fcn.00455856
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x484683
lea ecx, [ebp - 0x2c]
call fcn.00410c70
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x484661
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00401120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401120
jmp 0x4847b7
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
push ecx
push esi
lea edx, [ebp - 0x20]
push edx
push ebx
push 0x52b5a4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4846a6
cmp dword [ebp - 0x20], 3
je 0x4846c5
push esi
call fcn.004559d5
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00410c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00410ca0
jmp 0x484664
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [esi + 4], ecx
mov edx, dword [ebp - 0x1c]
push edx
push esi
push 3
push ebx
push 0x52b5bc
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
cmp eax, ebx
jne 0x4846a7
call fcn.004559d5
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00410c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00410ca0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00401120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401120
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x484748
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48476d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x484791
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484791
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4847b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4