Function at 0x46dce0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed69f
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x52610c]
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
mov esi, ecx
movaps xmm0, xmmword [0x50ca90]
movups xmmword [ebp - 0x28c], xmm0
mov dword [ebp - 0x22c], 0x5c415a47
movaps xmm0, xmmword [0x50cb10]
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x228], 0x4f7e7257
movaps xmm0, xmmword [0x50cae0]
movups xmmword [ebp - 0x26c], xmm0
mov dword [ebp - 0x224], 0x494f454d
movaps xmm0, xmmword [0x50cab0]
movups xmmword [ebp - 0x25c], xmm0
mov word [ebp - 0x220], 0x5d4b
movaps xmm0, xmmword [0x50ca40]
movups xmmword [ebp - 0x24c], xmm0
mov byte [ebp - 0x21e], 0
movaps xmm0, xmmword [0x50cb00]
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 4], 0
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x28b]
xor al, byte [ebp - 0x28c]
mov byte [ebp + ecx - 0x21d], al
inc ecx
cmp ecx, 0x6d
jb 0x46dda0
cmp byte [ebp - 0x21d], 0
mov byte [ebp - 0x1b0], 0
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x194], 0
jne 0x46dde9
xor ecx, ecx
jmp 0x46ddfb
lea ecx, [ebp - 0x21d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ddf2
sub ecx, edx
push ecx
lea eax, [ebp - 0x21d]
push eax
lea ecx, [ebp - 0x194]
call fcn.00409af0
push 0x6e
lea eax, [ebp - 0x28b]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004b98e0
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b98e0
add esp, 0x18
mov dword [ebp - 0x290], 0x104
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
push 0
push 0x507250
call fcn.00409af0
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
mov esi, dword [ecx]
mov dword [ebp - 0x2a4], ecx
mov eax, dword [esi]
mov dword [ebp - 0x298], eax
cmp eax, esi
je 0x46e38d
nop
lea edi, [eax + 0x10]
mov dword [ebp - 0x29c], 0
push 0x508594
lea eax, [ebp - 0x194]
mov dword [ebp - 0x2a0], edi
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00454670
push edi
push eax
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 4
push eax
call fcn.0044ac40
add esp, 0x18
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x198]
cmp eax, 0x10
jb 0x46def2
inc eax
lea ecx, [ebp - 0x1ac]
push eax
push dword [ebp - 0x1ac]
call fcn.004099a0
cmp dword [ebp - 0x168], 0x10
lea ecx, [ebp - 0x29c]
push ecx
push 0x20119
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x198], 0xf
cmovae eax, dword [ebp - 0x17c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x19c], 0
mov byte [ebp - 0x1ac], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46e34c
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004b98e0
add esp, 0xc
mov dword [ebp - 0x290], 0x104
xor ebx, ebx
lea eax, [ebp - 0x290]
mov dword [ebp - 0x294], ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x46e218
mov eax, dword [ebp - 0x290]
cmp eax, 0x104
jae 0x46e3c1
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jne 0x46dfd2
xor ecx, ecx
jmp 0x46dfe9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46dfe0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00409af0
cmp dword [edi + 0x74], 0x10
lea eax, [edi + 0x60]
mov ecx, dword [eax + 0x10]
jb 0x46e00a
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [ebp - 0x14c]
call fcn.00413fe0
cmp eax, 0xffffffff
je 0x46e1a4
mov cl, 0x1c
mov word [ebp - 0x11c], 0x3d1c
mov al, 0x3d
mov byte [ebp - 0x11a], 0
mov byte [ebp - 4], 8
xor al, cl
mov byte [ebp - 0x119], al
mov byte [ebp - 0x118], 0
mov dword [ebp - 0x150], 0xf
mov dword [ebp - 0x154], 0
mov byte [ebp - 0x164], 0
jne 0x46e06a
xor eax, eax
jmp 0x46e07c
lea eax, [ebp - 0x119]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e073
sub eax, edx
push eax
lea eax, [ebp - 0x119]
push eax
lea ecx, [ebp - 0x164]
call fcn.00409af0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x14c]
lea ecx, [ebp - 0x2b0]
call fcn.00420290
add esp, 4
mov eax, dword [ebp - 0x150]
cmp eax, 0x10
jb 0x46e0cc
inc eax
lea ecx, [ebp - 0x164]
push eax
push dword [ebp - 0x164]
call fcn.004099a0
mov dword [ebp - 0x150], 0xf
mov dword [ebp - 0x154], 0
mov byte [ebp - 0x164], 0
xor eax, eax
mov byte [ebp - 4], 0xc
mov ebx, dword [ebp - 0x2ac]
mov ecx, ebx
mov edi, dword [ebp - 0x2b0]
sub ecx, edi
mov word [ebp - 0x11b], ax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x46e13d
mov ecx, dword [ebp - 0x2a0]
add ecx, 0x18
cmp ecx, edi
je 0x46e13d
push 0xffffffffffffffff
push 0
push edi
call fcn.00409690
mov ebx, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2b0]
test edi, edi
je 0x46e198
push dword [ebp - 0x298]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.004140c0
mov ecx, dword [ebp - 0x2a8]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x2b0]
add esp, 8
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.00414110
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov edi, dword [ebp - 0x2a0]
mov ebx, dword [ebp - 0x294]
push 0x104
lea eax, [ebp - 0x114]
inc ebx
push 0
push eax
mov dword [ebp - 0x294], ebx
call fcn.004b98e0
mov byte [ebp - 4], 6
add esp, 0xc
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x290], 0x104
cmp eax, 0x10
jb 0x46e1ed
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.004099a0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x46df91
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b98e0
add esp, 0xc
mov dword [ebp - 0x290], 0x104
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push str.Path
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46e33b
mov eax, dword [ebp - 0x290]
cmp eax, 0x104
jae 0x46e3c1
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x46e289
xor ecx, ecx
jmp 0x46e29b
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e292
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x134]
call fcn.00409af0
lea ecx, [edi + 0x78]
lea eax, [ebp - 0x134]
cmp ecx, eax
je 0x46e2c5
push 0xffffffffffffffff
push 0
push eax
call fcn.00409690
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0046d640
mov ebx, eax
add edi, 0x90
cmp edi, ebx
je 0x46e31d
cmp dword [edi + 0x14], 0x10
jb 0x46e2f8
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x46e310
mov eax, dword [edi]
jmp 0x46e312
mov eax, edi
push ebx
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x46e33b
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.004099a0
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x46e34c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x168]
cmp eax, 0x10
jb 0x46e36e
inc eax
lea ecx, [ebp - 0x17c]
push eax
push dword [ebp - 0x17c]
call fcn.004099a0
lea ecx, [ebp - 0x298]
call fcn.00413140
mov eax, dword [ebp - 0x298]
cmp eax, esi
jne 0x46de90
mov ecx, dword [ebp - 0x2a4]
mov esi, dword [ecx]
mov esi, dword [esi]
mov dword [ebp - 0x294], esi
cmp esi, dword [ecx]
je 0x46e4d6
nop
lea edi, [esi + 0x10]
cmp dword [edi + 0x44], 0x10
lea ecx, [edi + 0x30]
lea ebx, [ecx + 0x10]
jb 0x46e3b1
mov ecx, dword [ecx]
cmp dword [edi + 0x14], 0x10
jb 0x46e3c6
mov eax, dword [edi]
mov dword [ebp - 0x298], eax
jmp 0x46e3cc
call fcn.004a0c45
mov dword [ebp - 0x298], edi
mov ebx, dword [ebx]
mov eax, ebx
cmp dword [edi + 0x10], ebx
cmovb eax, dword [edi + 0x10]
push eax
push ecx
push dword [ebp - 0x298]
call fcn.00413f70
add esp, 0xc
test eax, eax
jne 0x46e4b7
mov eax, dword [edi + 0x10]
cmp ebx, eax
jbe 0x46e3fb
or eax, 0xffffffff
jmp 0x46e3ff
sbb eax, eax
neg eax
test eax, eax
jne 0x46e4b7
push 0xffffffffffffffff
lea eax, [edi + 0x18]
mov dword [ebp - 0x240], 0xf
push 0
push eax
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x254], 0
call fcn.00409690
lea eax, [esi + 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x23c]
call fcn.0046da40
mov ebx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0xf
push dword [ebp - 0x298]
push eax
push ecx
lea eax, [ebp - 0x11c]
mov ecx, ebx
push eax
call fcn.0046f740
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0046dbb0
mov eax, dword [ebp - 0x240]
cmp eax, 0x10
jb 0x46e49b
inc eax
lea ecx, [ebp - 0x254]
push eax
push dword [ebp - 0x254]
call fcn.004099a0
lea ecx, [ebp - 0x294]
call fcn.00413140
push esi
lea eax, [ebp - 0x2a0]
mov ecx, ebx
push eax
call fcn.0046f1b0
jmp 0x46e4bd
mov ebx, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x294]
call fcn.00413140
mov esi, dword [ebp - 0x294]
cmp esi, dword [ebx]
jne 0x46e3a0
mov eax, dword [ebp - 0x120]
cmp eax, 0x10
jb 0x46e4f4
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.004099a0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
cmp eax, 0x10
jb 0x46e52d
inc eax
lea ecx, [ebp - 0x194]
push eax
push dword [ebp - 0x194]
call fcn.004099a0
mov al, 1
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.004a04d5
mov esp, ebp
pop ebp
ret