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

Disassembly:
push 0xffffffffffffffff
push 0x61bb4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
mov eax, dword [0x6f175c]
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.0047fd50
test eax, eax
je 0x47f765
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], ebx
call fcn.0050cde0
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.0050cde0
mov edx, dword [0x6f6334]
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 0x47f735
cmp esi, 2
je 0x47f67d
mov eax, dword [0x6f175c]
mov dword [esp + 0x10], eax
mov eax, dword [0x6f6334]
mov byte [esp + 0x2e4], 3
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x47f5d6
mov eax, str.MACHINE
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x6c5c64
push edx
call fcn.005fa6fb
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x88]
push eax
call fcn.0050ce90
test eax, eax
je 0x47f62a
mov eax, dword [0x6f6334]
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 0x47f66c
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0050cf50
test eax, eax
je 0x47f66c
mov ecx, dword [0x6f6334]
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.006018cc
cmp esi, ebx
je 0x47f735
cmp dword [0x6f6334], ebx
jne 0x47f73d
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 0x47f735
mov ecx, dword [0x6f175c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push str.CURRENT_USER_s
push eax
mov byte [esp + 0x2f0], 4
call fcn.005fa6fb
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x9c]
call fcn.0050ce90
test eax, eax
je 0x47f724
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 0x47f724
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e4], 2
call fcn.006018cc
jmp 0x47f73d
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e4], 2
call fcn.006018cc
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x47f77e
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.0050ce20
lea ecx, [esp + 0x88]
mov byte [esp + 0x2e4], 0
call fcn.0050ce20
lea ecx, [esp + 0xc]
mov dword [esp + 0x2e4], 0xffffffff
call fcn.006018cc
jmp 0x47fd31
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 0x47f875
xor byte [esp + eax + 0x38], 0xb
inc eax
cmp eax, ecx
jl 0x47f86b
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 0x47f8b9
mov dl, byte [esp + eax + 0x24]
xor dl, 0xb
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, ecx
jl 0x47f8a9
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 0x47f949
mov edx, dword [esp + 0x94]
push edx
call ebp
test eax, eax
je 0x47f934
lea eax, [esp + 0x34]
lea ecx, [esp + 0xac]
push eax
mov eax, dword [0x6f6360]
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 0x47f939
mov edi, 1
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47f95b
mov edx, dword [0x6f6360]
push edx
call ebp
test eax, eax
jne 0x47f95b
mov edi, 1
xor edx, edx
cmp esi, edx
jne 0x47fbad
cmp edi, edx
je 0x47fa12
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.005fdccd
mov edx, eax
add esp, 4
test edx, edx
je 0x47fce9
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 0x47e0e0
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.00601eca
jmp 0x47fce9
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 0x47fa5b
mov bl, byte [esp + eax + 0x1c]
xor bl, 0xb
mov byte [esp + eax + 0x1c], bl
inc eax
cmp eax, ecx
jl 0x47fa4b
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 0x47fce9
lea ecx, [esp + 0x30]
push ecx
call fcn.005fa8aa
push 0
lea ecx, [esp + 0x34]
call fcn.005fa8bd
mov esi, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x34]
add esi, 0x76c
call fcn.005fa8bd
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x34]
inc edi
call fcn.005fa8bd
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 0x47fb47
lea edx, [esp + 0x5c]
push edx
call fcn.005e53c8
add esp, 4
test eax, eax
je 0x47fb9d
sub esi, eax
cmp esi, 0x3c
jbe 0x47fb9d
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 0x47fce9
mov edx, dword [0x6f175c]
mov dword [esp + 0x2c], edx
push esi
lea eax, [esp + 0x30]
push 0x6c5148
push eax
mov byte [esp + 0x2f4], 5
call fcn.005fa6fb
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.006018cc
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47fce9
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.00575d30
add esp, 0xc
test eax, eax
je 0x47fcd8
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 0x47fc69
mov bl, byte [esp + eax + 0x5c]
xor bl, 0xb
mov byte [esp + eax + 0x5c], bl
inc eax
cmp eax, ecx
jl 0x47fc59
mov esi, 0x63c91c
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.0044b8b0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xac]
push eax
push ecx
call fcn.005e5520
add esp, 8
test eax, eax
je 0x47fcd4
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 0x47fce9
push eax
call fcn.005e5002
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.0050ce20
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2e8], 0
call fcn.0050ce20
lea ecx, [esp + 0x10]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.006018cc
pop ebp
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2dc
ret