Function at 0x47b670
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x54a9bc], 1
push esi
push edi
jl 0x47b8af
lea eax, [ebp - 0x228]
push eax
call fcn.00478b40
add esp, 4
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push 0x515a84
push 1
push 0
push 0x515aa4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x47b812
mov eax, dword [ebp - 0x22c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [eax]
mov edi, dword [eax + 0x28]
lea eax, [ebp - 0x290]
push eax
call esi
movups xmm0, xmmword [ebp - 0x290]
lea eax, [ebp - 0x280]
push eax
movups xmmword [ebp - 0x2a0], xmm0
call esi
movups xmm0, xmmword [ebp - 0x280]
lea eax, [ebp - 0x270]
push eax
movups xmmword [ebp - 0x2b0], xmm0
call esi
movups xmm0, xmmword [ebp - 0x270]
lea eax, [ebp - 0x260]
push eax
movups xmmword [ebp - 0x2c0], xmm0
call esi
movups xmm0, xmmword [ebp - 0x2a0]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x2b0]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x2c0]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x260]
push dword [ebp - 0x22c]
movups xmmword [eax], xmm0
call edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [ebp - 0x260]
push eax
call esi
lea eax, [ebp - 0x270]
push eax
call esi
lea eax, [ebp - 0x280]
push eax
call esi
lea eax, [ebp - 0x290]
push eax
call esi
mov eax, dword [ebp - 0x22c]
test edi, edi
js 0x47b80c
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x234]
mov eax, dword [eax]
push 0x4f9dfc
mov esi, dword [eax + 0x1c]
call fcn.00404a70
mov eax, dword [eax]
test eax, eax
je 0x47b7e3
mov eax, dword [eax]
jmp 0x47b7e5
xor eax, eax
lea ecx, [ebp - 0x230]
push ecx
push eax
push dword [ebp - 0x22c]
call esi
lea ecx, [ebp - 0x234]
mov esi, eax
call fcn.00404db0
test esi, esi
jns 0x47b832
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x228]
call fcn.00404c10
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x214], 7
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x228]
cmova eax, dword [ebp - 0x228]
push eax
call fcn.00404a70
mov eax, dword [eax]
test eax, eax
je 0x47b867
mov eax, dword [eax]
jmp 0x47b869
xor eax, eax
lea ecx, [ebp - 0x23c]
push ecx
push eax
push dword [ebp - 0x230]
call esi
lea ecx, [ebp - 0x234]
mov esi, eax
call fcn.00404db0
test esi, esi
jne 0x47b896
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x228]
call fcn.00404c10
jmp 0x47b90f
lea eax, [ebp - 0x238]
push eax
push 1
push 0
push 0x50d808
push reloc.ACLUI.dll_CreateSecurityPage
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x47b911
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x208
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x244]
push eax
push esi
push 0x4fa6f4
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x238]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov ecx, dword [ebp - 4]
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.004c34b7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret