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

Disassembly:
push 0xffffffffffffffff
push 0x61d67d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
mov eax, dword [0x6cd768]
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.0047fc80
test eax, eax
je 0x47f695
lea ecx, [esp + 0x88]
mov dword [esp + 0x14], ebx
call fcn.0050e5b0
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.0050e5b0
mov edx, dword [0x6d2324]
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 0x47f665
cmp esi, 2
je 0x47f5ad
mov eax, dword [0x6cd768]
mov dword [esp + 0x10], eax
mov eax, dword [0x6d2324]
mov byte [esp + 0x2e4], 3
cmp eax, ebx
mov eax, str.CURRENT_USER
jne 0x47f506
mov eax, str.MACHINE
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x6a1c6c
push edx
call fcn.005fc86b
mov eax, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x88]
push eax
call fcn.0050e660
test eax, eax
je 0x47f55a
mov eax, dword [0x6d2324]
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 0x47f59c
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0050e720
test eax, eax
je 0x47f59c
mov ecx, dword [0x6d2324]
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.00603a3c
cmp esi, ebx
je 0x47f665
cmp dword [0x6d2324], ebx
jne 0x47f66d
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 0x47f665
mov ecx, dword [0x6cd768]
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.005fc86b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x9c]
call fcn.0050e660
test eax, eax
je 0x47f654
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 0x47f654
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e4], 2
call fcn.00603a3c
jmp 0x47f66d
lea ecx, [esp + 0x10]
mov byte [esp + 0x2e4], 2
call fcn.00603a3c
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x47f6ae
lea ecx, [esp + 0x98]
mov byte [esp + 0x2e4], 1
call fcn.0050e5f0
lea ecx, [esp + 0x88]
mov byte [esp + 0x2e4], 0
call fcn.0050e5f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2e4], 0xffffffff
call fcn.00603a3c
jmp 0x47fc61
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 0x47f7a5
xor byte [esp + eax + 0x38], 0xb
inc eax
cmp eax, ecx
jl 0x47f79b
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 0x47f7e9
mov dl, byte [esp + eax + 0x24]
xor dl, 0xb
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, ecx
jl 0x47f7d9
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 0x47f879
mov edx, dword [esp + 0x94]
push edx
call ebp
test eax, eax
je 0x47f864
lea eax, [esp + 0x34]
lea ecx, [esp + 0xac]
push eax
mov eax, dword [0x6d2354]
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 0x47f869
mov edi, 1
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47f88b
mov edx, dword [0x6d2354]
push edx
call ebp
test eax, eax
jne 0x47f88b
mov edi, 1
xor edx, edx
cmp esi, edx
jne 0x47fadd
cmp edi, edx
je 0x47f942
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.005ffe3f
mov edx, eax
add esp, 4
test edx, edx
je 0x47fc19
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 0x47e010
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.0060403a
jmp 0x47fc19
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 0x47f98b
mov bl, byte [esp + eax + 0x1c]
xor bl, 0xb
mov byte [esp + eax + 0x1c], bl
inc eax
cmp eax, ecx
jl 0x47f97b
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 0x47fc19
lea ecx, [esp + 0x30]
push ecx
call fcn.005fca1a
push 0
lea ecx, [esp + 0x34]
call fcn.005fca2d
mov esi, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x34]
add esi, 0x76c
call fcn.005fca2d
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x34]
inc edi
call fcn.005fca2d
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 0x47fa77
lea edx, [esp + 0x5c]
push edx
call fcn.005e73e8
add esp, 4
test eax, eax
je 0x47facd
sub esi, eax
cmp esi, 0x3c
jbe 0x47facd
mov eax, dword [esp + 0x7c]
push 9
push 0x14b3
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 0x47fc19
mov edx, dword [0x6cd768]
mov dword [esp + 0x2c], edx
push esi
lea eax, [esp + 0x30]
push 0x6a1150
push eax
mov byte [esp + 0x2f4], 5
call fcn.005fc86b
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.00603a3c
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47fc19
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.00577de0
add esp, 0xc
test eax, eax
je 0x47fc08
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 0x47fb99
mov bl, byte [esp + eax + 0x5c]
xor bl, 0xb
mov byte [esp + eax + 0x5c], bl
inc eax
cmp eax, ecx
jl 0x47fb89
mov esi, 0x635434
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.0044bd30
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xac]
push eax
push ecx
call fcn.005e7640
add esp, 8
test eax, eax
je 0x47fc04
mov edx, dword [esp + 0x7c]
push 0
push 0x14b3
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 0x47fc19
push eax
call fcn.005e7026
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.0050e5f0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2e8], 0
call fcn.0050e5f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.00603a3c
pop ebp
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2dc
ret