Function at 0x4049e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b70b
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x49f750]
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
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x388], edi
test edi, edi
je 0x404d42
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push edi
call esi
push str.RegEnumValueW
push edi
mov dword [ebp - 0x37c], eax
call esi
push str.RegCloseKey
push dword [ebp - 0x388]
mov edi, eax
call esi
mov esi, dword [ebp - 0x37c]
mov dword [ebp - 0x38c], eax
test esi, esi
je 0x404d36
test edi, edi
je 0x404d36
test eax, eax
je 0x404d36
xor eax, eax
mov dword [ebp - 0x20], 0x650054
push 9
mov dword [ebp - 0x360], eax
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x35c], 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 - 0x35c], 7
mov dword [ebp - 0x360], eax
mov word [ebp - 0x370], ax
call fcn.00403a40
mov dword [ebp - 4], 0
cmp word [ebp - 0x20], 0
jne 0x404b1b
xor ecx, ecx
jmp 0x404b30
lea ecx, [ebp - 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404b21
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x370]
call fcn.00406760
push 1
push 0x48dd5c
lea ecx, [ebp - 0x370]
call fcn.00406760
cmp word [ebp - 0x30], 0
jne 0x404b5d
xor ecx, ecx
jmp 0x404b72
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404b63
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x370]
call fcn.00406760
cmp dword [ebp - 0x35c], 8
lea ecx, [ebp - 0x378]
push ecx
push 0x20019
lea eax, [ebp - 0x370]
mov dword [ebp - 0x378], 0
cmovae eax, dword [ebp - 0x370]
push 0
push eax
push 0x80000002
call esi
test eax, eax
jne 0x404cff
xor esi, esi
mov dword [ebp - 0x37c], eax
push 0x206
mov word [ebp - 0x358], ax
lea eax, [ebp - 0x356]
push esi
push eax
mov dword [ebp - 0x374], esi
mov dword [ebp - 0x384], 0x103
mov dword [ebp - 0x380], 0x103
call fcn.004653d0
push 0x103
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x150], 0
push esi
push eax
call fcn.004653d0
add esp, 0x18
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x374]
push eax
push esi
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x358]
push eax
push esi
push dword [ebp - 0x378]
call edi
test eax, eax
jne 0x404cd8
lea ebx, [ebx]
xor eax, eax
cmp dword [ebp - 0x374], 4
mov word [ebp - 0x152], ax
jne 0x404c74
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x358]
call fcn.00411150
test al, al
jne 0x404ccc
xor eax, eax
mov dword [ebp - 0x384], 0x103
mov word [ebp - 0x358], ax
inc esi
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x380], 0x103
push eax
lea eax, [ebp - 0x374]
push eax
push 0
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x358]
push eax
push esi
push dword [ebp - 0x378]
call edi
test eax, eax
je 0x404c50
jmp 0x404cd8
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x378]
call dword [ebp - 0x38c]
mov eax, dword [ebp - 0x37c]
mov ecx, 1
add eax, 0xf8d8f200
movzx ebx, bl
cmp eax, 0xf423f
cmovbe ebx, ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x35c], 8
jb 0x404d1d
push dword [ebp - 0x370]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [ebp - 0x35c], 7
mov word [ebp - 0x370], ax
mov dword [ebp - 0x360], eax
push dword [ebp - 0x388]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
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.00461397
mov esp, ebp
pop ebp
ret