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

Disassembly:
push 0xffffffffffffffff
push 0x6148fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
mov eax, dword [0x6e7b6c]
push ebx
push esi
push edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
xor ebx, ebx
push edx
mov dword [esp + 0x2e8], ebx
call fcn.0047f320
test eax, eax
je 0x47ed35
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], ebx
call fcn.0050ad00
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.0050ad00
mov edx, dword [0x6ec774]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push ebx
push 0xf003f
neg edx
push ebx
push ebx
sbb edx, edx
push ebx
add edx, reloc.WS2_32.dll_bind
push ecx
push edx
mov byte [esp + 0x308], 2
call edi
mov esi, eax
cmp esi, ebx
je 0x47ed05
cmp esi, 2
je 0x47ec4d
mov eax, dword [0x6e7b6c]
mov dword [esp + 0x10], eax
mov eax, dword [0x6ec774]
mov byte [esp + 0x2e4], 3
cmp eax, ebx
mov eax, 0x6bf124
jne 0x47eba6
mov eax, 0x6bf11c
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x6bcc6c
push edx
call fcn.005f368b
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x88]
push eax
call fcn.0050adb0
test eax, eax
je 0x47ebfa
mov eax, dword [0x6ec774]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ebx
push ecx
push ebx
neg eax
push 0xf003f
push ebx
sbb eax, eax
push ebx
push ebx
add eax, reloc.WS2_32.dll_bind
push edx
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x47ec3c
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0050ae70
test eax, eax
je 0x47ec3c
mov ecx, dword [0x6ec774]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push ebx
push edx
push ebx
neg ecx
push 0xf003f
push ebx
sbb ecx, ecx
push ebx
push ebx
add ecx, reloc.WS2_32.dll_bind
push eax
push ecx
call edi
mov esi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e4], 2
call fcn.005fa859
cmp esi, ebx
je 0x47ed05
cmp dword [0x6ec774], ebx
jne 0x47ed0d
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push ebx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x47ed05
mov ecx, dword [0x6e7b6c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push 0x6bf0c4
push eax
mov byte [esp + 0x2f0], 4
call fcn.005f368b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x9c]
call fcn.0050adb0
test eax, eax
je 0x47ecf4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push ebx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x47ecf4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e4], 2
call fcn.005fa859
jmp 0x47ed0d
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e4], 2
call fcn.005fa859
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x47ed4e
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.0050ad40
lea ecx, [esp + 0x88]
mov byte [esp + 0x2e4], 0
call fcn.0050ad40
lea ecx, [esp + 0xc]
mov dword [esp + 0x2e4], 0xffffffff
call fcn.005fa859
jmp 0x47f301
lea ecx, [esp + 0x80]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0xe0]
push ecx
push edx
push ebx
push ebx
push ebx
push eax
mov dword [esp + 0x9c], 0x200
call ebp
mov esi, eax
mov al, 0x7f
mov byte [esp + 0x43], al
mov byte [esp + 0x48], al
neg esi
mov al, 0x2b
mov bl, 0x65
sbb esi, esi
mov byte [esp + 0x49], al
mov dl, 0x6a
mov byte [esp + 0x52], al
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
inc esi
mov byte [esp + 0x38], 0x58
mov byte [esp + 0x39], 0x44
mov byte [esp + 0x3a], 0x4d
mov byte [esp + 0x3b], 0x5f
mov byte [esp + 0x3c], 0x5c
mov byte [esp + 0x3d], 0x4a
mov byte [esp + 0x3e], 0x59
mov byte [esp + 0x3f], 0x4e
mov byte [esp + 0x40], 0x57
mov byte [esp + 0x41], 0x42
mov byte [esp + 0x42], bl
mov byte [esp + 0x44], 0x6e
mov byte [esp + 0x45], 0x79
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x6e
mov byte [esp + 0x4a], 0x4f
mov byte [esp + 0x4b], 0x64
mov byte [esp + 0x4c], 0x7c
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x67
mov byte [esp + 0x4f], 0x64
mov byte [esp + 0x50], dl
mov byte [esp + 0x51], 0x6f
mov byte [esp + 0x53], 0x46
mov byte [esp + 0x54], dl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], dl
mov byte [esp + 0x57], 0x6c
mov byte [esp + 0x58], 0x6e
mov byte [esp + 0x59], 0x79
mov byte [esp + 0x5a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x47ee45
xor byte [esp + eax + 0x38], 0xb
inc eax
cmp eax, ecx
jl 0x47ee3b
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x24], 0x58
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x79
mov byte [esp + 0x27], 0x62
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x67
mov byte [esp + 0x2a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x47ee89
mov dl, byte [esp + eax + 0x24]
xor dl, 0xb
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, ecx
jl 0x47ee79
lea eax, [esp + 0x80]
xor edi, edi
push eax
push 1
lea ecx, [esp + 0x40]
push edi
push ecx
push reloc.WS2_32.dll_bind
mov byte [esp + 0xc0], 0
mov dword [esp + 0x48], 0x32
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
lea edx, [esp + 0x34]
lea eax, [esp + 0xac]
push edx
push eax
push edi
lea ecx, [esp + 0x30]
push edi
push ecx
jne 0x47ef19
mov edx, dword [esp + 0x94]
push edx
call ebp
test eax, eax
je 0x47ef04
lea eax, [esp + 0x34]
lea ecx, [esp + 0xac]
push eax
mov eax, dword [0x6ec7a0]
push ecx
push edi
lea edx, [esp + 0x30]
push edi
push edx
push eax
mov dword [esp + 0x4c], 0x32
call ebp
test eax, eax
jne 0x47ef09
mov edi, 1
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47ef2b
mov edx, dword [0x6ec7a0]
push edx
call ebp
test eax, eax
jne 0x47ef2b
mov edi, 1
xor edx, edx
cmp esi, edx
jne 0x47f17d
cmp edi, edx
je 0x47efe2
lea edi, [esp + 0xac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x10]
not ecx
dec ecx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 2]
push eax
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
je 0x47f2b9
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0xbc]
mov edi, esi
push edx
lea ebx, [ecx + edx + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x47d6c0
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005fae57
jmp 0x47f2b9
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1c], 0x5d
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x1e], 0x79
mov byte [esp + 0x1f], 0x78
mov byte [esp + 0x20], 0x62
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jle 0x47f02b
mov bl, byte [esp + eax + 0x1c]
xor bl, 0xb
mov byte [esp + eax + 0x1c], bl
inc eax
cmp eax, ecx
jl 0x47f01b
lea ecx, [esp + 0x14]
push edx
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0xf003f
push edx
push edx
mov dword [esp + 0x2c], edx
push edx
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x47f2b9
lea ecx, [esp + 0x30]
push ecx
call fcn.005f383a
push 0
lea ecx, [esp + 0x34]
call fcn.005f384d
mov esi, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x34]
add esi, 0x76c
call fcn.005f384d
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x34]
inc edi
call fcn.005f384d
lea edx, [esi + esi*2]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], 0x20
lea edi, [edi + edx*4]
lea edx, [esp + 0x88]
push edx
lea ecx, [edi + edi*2]
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*2 - 0xa6fe0]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
push 0
push 0
push 0
push ecx
call ebp
test eax, eax
jne 0x47f117
lea edx, [esp + 0x5c]
push edx
call fcn.005de348
add esp, 4
test eax, eax
je 0x47f16d
sub esi, eax
cmp esi, 0x3c
jbe 0x47f16d
mov eax, dword [esp + 0x7c]
push 9
push 0x14ad
push 0x111
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47f2b9
mov edx, dword [0x6e7b6c]
mov dword [esp + 0x2c], edx
push esi
lea eax, [esp + 0x30]
push 0x6bc140
push eax
mov byte [esp + 0x2f4], 5
call fcn.005f368b
mov edx, dword [esp + 0x38]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e8], 2
call fcn.005fa859
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47f2b9
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0xe4]
push ecx
push edx
call fcn.0056fdd0
add esp, 0xc
test eax, eax
je 0x47f2a8
mov al, 0x3b
mov cl, 0x39
mov byte [esp + 0x5f], al
mov byte [esp + 0x60], cl
mov byte [esp + 0x65], al
mov byte [esp + 0x66], al
mov byte [esp + 0x67], cl
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x5c], 0x67
mov byte [esp + 0x5d], 0x66
mov byte [esp + 0x5e], 0x5c
mov byte [esp + 0x61], 0x60
mov byte [esp + 0x62], 0x61
mov byte [esp + 0x63], 0x46
mov byte [esp + 0x64], 0x3f
mov byte [esp + 0x68], 0x4d
mov byte [esp + 0x69], 0x4a
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], 0x71
mov byte [esp + 0x6c], 0x7c
mov byte [esp + 0x6d], 0x7c
mov byte [esp + 0x6e], 0x78
mov byte [esp + 0x6f], 0x4a
mov byte [esp + 0x70], 0x3a
mov byte [esp + 0x71], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x47f239
mov bl, byte [esp + eax + 0x5c]
xor bl, 0xb
mov byte [esp + eax + 0x5c], bl
inc eax
cmp eax, ecx
jl 0x47f229
mov esi, 0x6348d4
mov dword [esp + 0x30], esi
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2f8], 6
call fcn.0044b2e0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xac]
push eax
push ecx
call fcn.005de4a0
add esp, 8
test eax, eax
je 0x47f2a4
mov edx, dword [esp + 0x7c]
push 0
push 0x14ad
push 0x111
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47f2b9
push eax
call fcn.005ddf8a
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x2e8], 1
call fcn.0050ad40
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2e8], 0
call fcn.0050ad40
lea ecx, [esp + 0x10]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.005fa859
pop ebp
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2dc
ret