Function at 0x10052540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101de79b
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Advapi32.dll
mov byte [ebp - 0x381], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10052864
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push ebx
call esi
push str.RegEnumValueW
push ebx
mov dword [ebp - 0x388], eax
call esi
push 0x1020d6d8
push ebx
mov edi, eax
call esi
mov esi, dword [ebp - 0x388]
mov dword [ebp - 0x38c], eax
test esi, esi
je 0x1005285d
test edi, edi
je 0x1005285d
test eax, eax
je 0x1005285d
xor eax, eax
mov dword [ebp - 0x20], 0x650054
push 9
mov dword [ebp - 0x36c], eax
lea ecx, [ebp - 0x37c]
mov dword [ebp - 0x368], eax
push str.SOFTWARE_
mov dword [ebp - 0x1c], 0x63006e
mov dword [ebp - 0x18], 0x6e0065
mov dword [ebp - 0x14], 0x74
mov dword [ebp - 0x30], 0x510051
mov dword [ebp - 0x2c], 0x430050
mov dword [ebp - 0x28], 0x67004d
mov dword [ebp - 0x24], 0x72
mov dword [ebp - 0x44], 0x750053
mov dword [ebp - 0x40], 0x700070
mov dword [ebp - 0x3c], 0x79006c
mov dword [ebp - 0x38], 0x440049
mov word [ebp - 0x34], ax
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], 7
mov word [ebp - 0x37c], ax
call fcn.100045d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10052670
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x37c]
call fcn.1000c8a0
push 1
push 0x10209528
lea ecx, [ebp - 0x37c]
call fcn.1000c8a0
lea eax, [ebp - 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100526a7
sub eax, edx
lea ecx, [ebp - 0x37c]
sar eax, 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1000c8a0
cmp dword [ebp - 0x368], 8
lea ecx, [ebp - 0x380]
push ecx
push 0x20019
lea eax, [ebp - 0x37c]
mov dword [ebp - 0x380], 0
cmovae eax, dword [ebp - 0x37c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x10052715
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x37c]
call fcn.10004570
jmp 0x1005285d
xor esi, esi
mov dword [ebp - 0x388], 0
push 0x208
lea eax, [ebp - 0x358]
mov dword [ebp - 0x35c], esi
push esi
push eax
mov dword [ebp - 0x364], 0x103
mov dword [ebp - 0x360], 0x103
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x150]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x35c]
push eax
push esi
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x358]
push eax
push esi
push dword [ebp - 0x380]
call edi
test eax, eax
jne 0x10052828
nop word [eax + eax]
xor eax, eax
cmp dword [ebp - 0x35c], 4
mov word [ebp - 0x152], ax
jne 0x100527c4
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x358]
call fcn.100c4090
test al, al
jne 0x1005281c
xor eax, eax
mov dword [ebp - 0x364], 0x103
mov word [ebp - 0x358], ax
inc esi
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x360], 0x103
push eax
lea eax, [ebp - 0x35c]
push eax
push 0
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x358]
push eax
push esi
push dword [ebp - 0x380]
call edi
test eax, eax
je 0x100527a0
jmp 0x10052828
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x388], eax
push dword [ebp - 0x380]
call dword [ebp - 0x38c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x37c]
call fcn.10004570
mov eax, dword [ebp - 0x388]
add eax, 0xf8d8f200
cmp eax, 0xf423f
setbe byte [ebp - 0x381]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x381]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret