Function at 0x46bdf1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x5c2258
call fcn.004aa3a5
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x828]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x84c], edi
call fcn.004023b0
mov dword [ebp - 4], edi
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x830], edi
call fcn.004606d2
test al, al
je 0x46be7d
cld
jge 0x46be14
mov al, 0xb3
push ecx
neg eax
imul ebp, dword [eax - 0x577016c2], 0x3136215f
imul eax
mov ebx, dword [ebx]
xchg ebx, eax
cli
fsubrp st(1)
inc ecx
jnp 0x46bea0
mov esi, dword [ebp - 0x82c]
call fcn.0046016e
test al, al
je 0x46be9e
invalid
lea eax, [ebp - 0x838]
enter 0xfffffffffffffff7, 0xffffffffffffffff
push eax
push 0xf013f
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x46bee2
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.004045e0
push edi
push 1
lea ecx, [ebp - 0x828]
call fcn.00402450
mov eax, esi
jmp 0x46c123
inc ecx
add al, byte [eax]
add al, ch
dec dword [eax - 1]
inc dword [eax + eax*8 - 0x3fa7e68c]
stosb byte es:[edi], al
mov eax, 0x849cce7b
call fcn.004607e6
test al, al
je 0x46bf04
pop eax
shr byte [edx - 0x63318448], 0x84
push edx
pop edx
mov dword [0xca262f4c], eax
ret 0x246f
call fcn.0046009f
test al, al
je 0x46bf22
jbe 0x46bebb
sar dword [esi - 0x2e44ff69], cl
cld
cmp ah, byte [edx]
jns 0x46bede
pop ecx
jnp 0x46bf46
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x834]
xor ebx, ebx
mov edi, 0xf013f
push ebx
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x46bf72
invalid
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push eax
call fcn.004045e0
push ebx
jmp 0x46c110
push ebx
lea eax, [ebp - 0x830]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x46bfa9
idiv edi
invalid
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push eax
pop esp
add bh, bh
salc
push dword [ebp - 0x830]
call esi
jmp 0x46bf5a
call fcn.0046075c
test al, al
je 0x46bfcc
rcl dword [ebx - 0x540ab50b]
pop esi
push cs
jecxz 0x46bf88
xchg dword [ecx*8 + 0x58d50aa3], eax
jno 0x46bfba
fld qword [ebp - 0x17]
add dh, al
jno 0x46bf9a
call fcn.00460129
test al, al
je 0x46bfe6
ret
call fcn.0046009f
test al, al
je 0x46c001
jmp 0x46c00e
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00486960
add esp, 0xc
mov dword [ebp - 0x844], 0x400
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x848]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.0049899e
pop ecx
test eax, eax
je 0x46bf5a
idiv edi
invalid
call fcn.00460420
test al, al
je 0x46c096
cmpsb byte [esi], byte es:[edi]
dec ebp
mov ebx, 0xf2c82bac
out dx, al
mov gs, word [esi]
xchg cl, bl
dec ebp
lds ecx, [eax]
in al, 0x35
mov dl, 0x57
sub dword [eax], eax
popfd
call fcn.0046023d
test al, al
je 0x46c0b5
jne 0x46c0c6
out 0x19, eax
or dword [ebp - 0x4a], eax
ja 0x46c08d
mov dl, byte [ebx + 0x6184170]
xor ebx, dword [edx + eax + 0x4a121b9]
call fcn.00460534
test al, al
je 0x46c0d3
adc ch, byte [edi - 0x60d6d158]
aas
mov ebx, dword [edi]
pop ds
out dx, al
sbb al, 0x64
js 0x46c055
add byte [esi], bh
lds ecx, [esi - 0x17b8cef0]
rol byte [ebx - 1], cl
inc dword [eax + eax*8 + 0x20c32074]
ret
call fcn.004604aa
test al, al
je 0x46c0fc
ret
mov ecx, dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
push eax
call fcn.004023b0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402450
mov eax, dword [ebp - 0x82c]
call fcn.004aa360
ret