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

Disassembly:
push 0xffffffffffffffff
push 0x556fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [0x5b5ecc]
push edi
mov dword [esp + 4], eax
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x71
mov byte [esp + 0x16], 0x73
mov byte [esp + 0x17], 0x7c
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x19], 0x79
mov byte [esp + 0x1a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x80], 0
test ecx, ecx
jle 0x4a95b2
mov dl, byte [esp + eax + 0x14]
xor dl, 0x12
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, ecx
jl 0x4a95a2
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x597ddc
push edx
call fcn.0053091a
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x50]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0x44]
stosw word es:[edi], ax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x32
push eax
mov eax, dword [0x5ba8bc]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a9640
mov ecx, dword [esp + 0x88]
push esi
push ecx
call fcn.004a9040
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x84], 0xffffffff
call fcn.00537b04
mov eax, esi
pop esi
pop edi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
add esp, 0x80
ret
mov edx, dword [0x5b5ecc]
mov dword [esp + 8], edx
mov cl, 0x21
mov al, 0x20
mov dl, 0x25
mov byte [esp + 0x1f], cl
mov byte [esp + 0x21], al
mov byte [esp + 0x27], al
mov byte [esp + 0x29], cl
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1c], 0x2b
mov byte [esp + 0x1d], 0x26
mov byte [esp + 0x1e], dl
mov byte [esp + 0x20], 0x24
mov byte [esp + 0x22], 0x22
mov byte [esp + 0x23], 0x27
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x23
mov byte [esp + 0x26], 0x2b
mov byte [esp + 0x28], 0x2a
mov byte [esp + 0x2a], 0x26
mov byte [esp + 0x2b], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x80], 1
test ecx, ecx
jle 0x4a96c4
mov dl, byte [esp + eax + 0x1c]
xor dl, 0x12
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, ecx
jl 0x4a96b4
lea eax, [esp + 0x1c]
lea ecx, [esp + 8]
push eax
push 0x597ddc
push ecx
call fcn.0053091a
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0049ceb0
mov edx, dword [esp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x80], 2
push ecx
push edx
lea edx, [esp + 0x4c]
push 0x28
push edx
lea ecx, [esp + 0x1c]
call fcn.0049d2e0
mov al, 0x4e
mov cl, 0x51
mov dl, 0x77
mov byte [esp + 0x34], al
mov byte [esp + 0x35], cl
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], cl
mov byte [esp + 0x42], al
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x2c], 0x41
mov byte [esp + 0x2d], 0x7d
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x2f], 0x66
mov byte [esp + 0x30], 0x65
mov byte [esp + 0x31], 0x73
mov byte [esp + 0x32], 0x60
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x7e
mov byte [esp + 0x37], 0x73
mov byte [esp + 0x38], 0x61
mov byte [esp + 0x39], 0x61
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3b], 0x61
mov byte [esp + 0x3e], 0x5e
mov byte [esp + 0x3f], 0x41
mov byte [esp + 0x40], 0x5b
mov byte [esp + 0x41], 0x56
mov byte [esp + 0x43], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4a97a7
mov dl, byte [esp + eax + 0x2c]
xor dl, 0x12
mov byte [esp + eax + 0x2c], dl
inc eax
cmp eax, ecx
jl 0x4a9797
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x2c]
push eax
push ecx
push str._s_s
push edx
call fcn.0053091a
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x80], 1
call fcn.0049cee0
lea ecx, [esp + 8]
mov byte [esp + 0x80], 0
call fcn.00537b04
lea ecx, [esp + 4]
mov dword [esp + 0x80], 0xffffffff
call fcn.00537b04
mov ecx, dword [esp + 0x78]
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x80
ret