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

Disassembly:
push 0xffffffffffffffff
push 0x5621db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xe8]
push str.rpcrt4.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc0], ebx
je 0x4b0cad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UuidCreate
push ebx
call esi
push str.UuidToStringA
push ebx
mov edi, eax
call esi
push str.RpcStringFreeA
push ebx
mov ebp, eax
call esi
test edi, edi
mov ebx, eax
je 0x4b0cad
test ebp, ebp
je 0x4b0cad
lea eax, [esp + 0xd8]
push eax
call edi
test eax, eax
jne 0x4b0cad
lea ecx, [esp + 0x3c]
lea edx, [esp + 0xd8]
push ecx
push edx
call ebp
test eax, eax
jne 0x4b0cad
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4b0ce4
lea ecx, [esp + 0x3c]
push ecx
call ebx
jmp 0x4b0ce4
mov eax, dword [0x5a6cc4]
lea edx, [esp + 0xe8]
test eax, eax
mov edi, str.9C9D53D4_A978_43FC_93E2_1C21B529E6D7
jne 0x4b0cc7
mov edi, str.E8CF4E59_B7A3_41F2_86C7_82B03334F22A
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, 0x77
mov al, 0x4e
or ebp, 0xffffffff
mov dl, 0x41
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], al
mov byte [esp + 0x5e], cl
mov byte [esp + 0x60], al
mov byte [esp + 0x66], al
lea edi, [esp + 0x50]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x50], dl
mov byte [esp + 0x51], 0x7d
mov byte [esp + 0x52], 0x74
mov byte [esp + 0x53], 0x66
mov byte [esp + 0x54], 0x65
mov byte [esp + 0x55], 0x73
mov byte [esp + 0x56], 0x60
mov byte [esp + 0x59], 0x51
mov byte [esp + 0x5a], 0x7e
mov byte [esp + 0x5b], 0x73
mov byte [esp + 0x5c], 0x61
mov byte [esp + 0x5d], 0x61
mov byte [esp + 0x5f], 0x61
mov byte [esp + 0x61], 0x51
mov byte [esp + 0x62], 0x5e
mov byte [esp + 0x63], dl
mov byte [esp + 0x64], 0x5b
mov byte [esp + 0x65], 0x56
mov byte [esp + 0x67], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4b0d7f
mov bl, byte [esp + eax + 0x50]
xor bl, 0x12
mov byte [esp + eax + 0x50], bl
inc eax
cmp eax, ecx
jl 0x4b0d6f
mov ecx, dword [0x5c2a74]
mov dword [esp + 0x24], ecx
mov bl, 0x26
lea edi, [esp + 0x40]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x40], 0x2b
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x25
mov byte [esp + 0x43], 0x21
mov byte [esp + 0x44], 0x24
mov byte [esp + 0x45], 0x20
mov byte [esp + 0x46], 0x22
mov byte [esp + 0x47], 0x27
mov byte [esp + 0x48], 0x25
mov byte [esp + 0x49], 0x23
mov byte [esp + 0x4a], 0x2b
mov byte [esp + 0x4b], 0x20
mov byte [esp + 0x4c], 0x2a
mov byte [esp + 0x4d], 0x21
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x134], 0
test ecx, ecx
jle 0x4b0e05
mov dl, byte [esp + eax + 0x40]
xor dl, 0x12
mov byte [esp + eax + 0x40], dl
inc eax
cmp eax, ecx
jl 0x4b0df5
lea edx, [esp + 0x40]
lea eax, [esp + 0x24]
push edx
push 0x5a3e24
push eax
call fcn.0053afda
mov ecx, dword [0x5c2a74]
add esp, 0xc
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0xe8]
lea eax, [esp + 0x1c]
push edx
push 0x5a3e24
push eax
mov byte [esp + 0x140], 1
call fcn.0053afda
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.004a3ad0
mov edx, dword [esp + 0x24]
mov ecx, ebp
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0xe8]
push ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push ecx
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x144], 2
call fcn.004a3e60
mov edx, dword [0x5c2a74]
mov dword [esp + 0x10], edx
lea edi, [esp + 0x34]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x34], 0x61
mov byte [esp + 0x35], 0x71
mov byte [esp + 0x36], 0x73
mov byte [esp + 0x37], 0x7c
mov byte [esp + 0x38], 0x61
mov byte [esp + 0x39], 0x79
mov byte [esp + 0x3a], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x134], 3
test ecx, ecx
jle 0x4b0ee0
mov dl, byte [esp + eax + 0x34]
xor dl, 0x12
mov byte [esp + eax + 0x34], dl
inc eax
cmp eax, ecx
jl 0x4b0ed0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
push 0x5a3e24
push ecx
call fcn.0053afda
mov eax, dword [0x5a6cc4]
add esp, 0xc
test eax, eax
je 0x4b1409
mov al, 0x3f
mov cl, 0x57
mov byte [esp + 0x9c], al
mov byte [esp + 0xa1], al
mov byte [esp + 0xa6], al
mov byte [esp + 0xab], al
mov al, 0x54
mov byte [esp + 0x95], cl
mov byte [esp + 0x9f], cl
mov byte [esp + 0xa3], cl
mov byte [esp + 0xb2], al
mov byte [esp + 0xb3], al
mov byte [esp + 0xb5], cl
lea edi, [esp + 0x94]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x94], 0x27
mov byte [esp + 0x96], 0x56
mov byte [esp + 0x97], 0x24
mov byte [esp + 0x98], 0x22
mov byte [esp + 0x99], 0x25
mov byte [esp + 0x9a], 0x25
mov byte [esp + 0x9b], 0x2b
mov byte [esp + 0x9d], bl
mov byte [esp + 0x9e], 0x56
mov byte [esp + 0xa0], 0x20
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa4], 0x22
mov byte [esp + 0xa5], 0x25
mov byte [esp + 0xa7], 0x50
mov byte [esp + 0xa8], 0x2a
mov byte [esp + 0xa9], 0x24
mov byte [esp + 0xaa], 0x20
mov byte [esp + 0xac], 0x2b
mov byte [esp + 0xad], 0x25
mov byte [esp + 0xae], bl
mov byte [esp + 0xaf], 0x51
mov byte [esp + 0xb0], 0x53
mov byte [esp + 0xb1], bl
mov byte [esp + 0xb4], 0x20
mov byte [esp + 0xb6], 0x2b
mov byte [esp + 0xb7], 0x51
mov byte [esp + 0xb8], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4b104e
mov bl, byte [esp + eax + 0x94]
xor bl, 0x12
mov byte [esp + eax + 0x94], bl
inc eax
cmp eax, ecx
jl 0x4b1038
mov edx, dword [0x5c2a74]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x94]
lea ecx, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s
push edx
mov byte [esp + 0x144], 4
call fcn.0053afda
mov eax, dword [0x5c2a74]
add esp, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x5c74a0]
mov byte [esp + 0x134], 5
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4b10a3
mov eax, str.MACHINE
lea ecx, [esp + 0x94]
lea edx, [esp + 0x50]
push ecx
push edx
push eax
lea eax, [esp + 0x20]
push str._s_s_s
push eax
call fcn.0053afda
add esp, 0x14
lea ecx, [esp + 0x40]
xor bl, bl
call fcn.004a7a10
mov eax, dword [0x5c74a0]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
neg eax
push 0
push 0
sbb eax, eax
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
mov byte [esp + 0x158], 6
call esi
test eax, eax
je 0x4b11c2
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x44]
call fcn.004a7ac0
test eax, eax
je 0x4b1150
mov ecx, dword [0x5c74a0]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x30]
push 0
push edx
push 0
neg ecx
push 0xf003f
push 0
sbb ecx, ecx
push 0
push 0
add ecx, reloc.WSOCK32.dll_bind
push eax
push ecx
call esi
test eax, eax
je 0x4b11c4
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 5
call fcn.004a7a50
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 4
call fcn.005421be
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 3
call fcn.005421be
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 2
call fcn.005421be
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 1
call fcn.004a3b00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 0
call fcn.005421be
mov dword [esp + 0x134], ebp
jmp 0x4b17e4
mov bl, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0xe8]
push 0x32
push edx
push 0
push 0
push eax
push ecx
call ebp
mov edx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
test bl, bl
je 0x4b1203
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push eax
call fcn.004a7bd0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.0053afda
mov eax, dword [0x5c74a0]
add esp, 0x10
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push 0
push ecx
push 0
push 0xf003f
neg eax
push 0
push 0
sbb eax, eax
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
call esi
test eax, eax
je 0x4b1285
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 5
call fcn.004a7a50
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 4
call fcn.005421be
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 3
call fcn.005421be
jmp 0x4b17a6
lea ecx, [esp + 0xd8]
call fcn.004a7a10
mov eax, dword [0x5c74a0]
mov byte [esp + 0x134], 7
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4b12ac
mov eax, str.MACHINE
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push eax
push 0x5a4824
push edx
call fcn.0053afda
add esp, 0x10
lea eax, [esp + 0x3c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSID07999AC3_058B_40BF_984F_69EB1E554CA7
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
je 0x4b1319
mov ecx, dword [esp + 0x30]
push ecx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xd8]
push edx
call fcn.004a7bd0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x134], 6
call fcn.004a7a50
jmp 0x4b124d
mov edx, dword [esp + 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xbc]
lea ecx, [esp + 0xc4]
push eax
push ecx
push 0
push 0
mov ebx, 4
push str.Model
push edx
mov dword [esp + 0xd4], ebx
call esi
test eax, eax
jne 0x4b1367
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc4]
push ebx
push eax
push ebx
push 0
push str.Model
push ecx
call ebp
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xbc]
lea eax, [esp + 0x34]
push edx
push eax
push 0
push 0
push str.Therad
push ecx
mov dword [esp + 0xd4], ebx
call esi
test eax, eax
jne 0x4b13a3
lea edx, [esp + 0x34]
push ebx
push edx
push ebx
push eax
mov eax, dword [esp + 0x40]
push str.Therad
push eax
call ebp
mov ecx, dword [esp + 0x30]
push ecx
call edi
mov edx, dword [esp + 0x3c]
push edx
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xd8]
push eax
call fcn.004a7bd0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x134], 6
call fcn.004a7a50
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 5
call fcn.004a7a50
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 4
call fcn.005421be
mov byte [esp + 0x134], 3
lea ecx, [esp + 0x18]
jmp 0x4b178f
mov edx, dword [esp + 0x10]
mov eax, dword [0x5c74b0]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xe8]
push 0x32
push ecx
push 0
push 0
push edx
push eax
call ebp
mov cl, 0x57
mov al, 0x3f
mov byte [esp + 0x6f], cl
mov byte [esp + 0x74], al
mov byte [esp + 0x79], al
mov dl, 0x53
mov byte [esp + 0x7d], cl
mov byte [esp + 0x7e], al
mov byte [esp + 0x83], al
mov byte [esp + 0x8e], cl
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x6c], 0x25
mov byte [esp + 0x6d], 0x50
mov byte [esp + 0x6e], 0x2a
mov byte [esp + 0x70], 0x2b
mov byte [esp + 0x71], 0x23
mov byte [esp + 0x72], 0x24
mov byte [esp + 0x73], bl
mov byte [esp + 0x75], 0x21
mov byte [esp + 0x76], 0x20
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], 0x56
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7b], dl
mov byte [esp + 0x7c], 0x20
mov byte [esp + 0x7f], dl
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], 0x24
mov byte [esp + 0x82], 0x56
mov byte [esp + 0x84], 0x22
mov byte [esp + 0x85], 0x23
mov byte [esp + 0x86], 0x24
mov byte [esp + 0x87], 0x27
mov byte [esp + 0x88], 0x54
mov byte [esp + 0x89], 0x50
mov byte [esp + 0x8a], 0x20
mov byte [esp + 0x8b], 0x22
mov byte [esp + 0x8c], 0x22
mov byte [esp + 0x8d], 0x22
mov byte [esp + 0x8f], 0x51
mov byte [esp + 0x90], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4b1531
mov bl, byte [esp + eax + 0x6c]
xor bl, 0x12
mov byte [esp + eax + 0x6c], bl
inc eax
cmp eax, ecx
jl 0x4b1521
mov ecx, dword [0x5c2a74]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x6c]
lea eax, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x28]
push str._s_s
push ecx
mov byte [esp + 0x144], 8
call fcn.0053afda
mov edx, dword [0x5c2a74]
add esp, 0x10
mov dword [esp + 0x2c], edx
mov eax, dword [0x5c74a0]
mov byte [esp + 0x134], 9
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4b1584
mov eax, str.MACHINE
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x50]
push ecx
push edx
push eax
lea eax, [esp + 0x38]
push str._s_s_s
push eax
call fcn.0053afda
add esp, 0x14
lea ecx, [esp + 0xc8]
xor bl, bl
call fcn.004a7a10
mov eax, dword [0x5c74a0]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x68]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
neg eax
push 0
push 0
sbb eax, eax
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
mov byte [esp + 0x158], 0xa
call esi
test eax, eax
je 0x4b1639
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0xcc]
call fcn.004a7ac0
test eax, eax
je 0x4b16bf
mov ecx, dword [0x5c74a0]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x68]
push 0
push edx
push 0
neg ecx
push 0xf003f
push 0
sbb ecx, ecx
push 0
push 0
add ecx, reloc.WSOCK32.dll_bind
push eax
push ecx
call esi
test eax, eax
je 0x4b163b
jmp 0x4b16bf
mov bl, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0xe8]
push 0x32
push edx
push 0
push 0
push eax
push ecx
call ebp
mov edx, dword [esp + 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4b1675
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc8]
push eax
call fcn.004a7bd0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x28]
push str._s_s
push eax
call fcn.0053afda
mov eax, dword [0x5c74a0]
add esp, 0x10
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x68]
push 0
push ecx
push 0
push 0xf003f
neg eax
push 0
push 0
sbb eax, eax
push 0
add eax, reloc.WSOCK32.dll_bind
push edx
push eax
call esi
test eax, eax
je 0x4b16fa
lea ecx, [esp + 0xc8]
mov byte [esp + 0x134], 9
call fcn.004a7a50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x134], 8
call fcn.005421be
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 3
call fcn.005421be
jmp 0x4b17a6
lea ecx, [esp + 0x11c]
call fcn.004a7a10
mov eax, dword [0x5c74a0]
mov byte [esp + 0x134], 0xb
test eax, eax
mov eax, str.CURRENT_USER
jne 0x4b1721
mov eax, str.MACHINE
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
push eax
push 0x5a4824
push edx
call fcn.0053afda
mov eax, dword [esp + 0x3c]
add esp, 0x10
lea ecx, [esp + 0x11c]
push eax
call fcn.004a7bd0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x134], 0xa
call fcn.004a7a50
lea ecx, [esp + 0xc8]
mov byte [esp + 0x134], 9
call fcn.004a7a50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x134], 8
call fcn.005421be
mov byte [esp + 0x134], 3
lea ecx, [esp + 0x20]
call fcn.005421be
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4b17a6
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 2
call fcn.005421be
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 1
call fcn.004a3b00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 0
call fcn.005421be
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.005421be
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret