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

Disassembly:
push 0xffffffffffffffff
push 0x64c8be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xf8]
push str.rpcrt4.dll
rep stosd dword es:[edi], eax
call fcn.0044abc0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0xd0], ebp
je 0x5326d2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UuidCreate
push ebp
call esi
push str.UuidToStringA
push ebp
mov edi, eax
call esi
push str.RpcStringFreeA
push ebp
mov ebx, eax
call esi
test edi, edi
mov esi, eax
je 0x5326d2
test ebx, ebx
je 0x5326d2
lea eax, [esp + 0xd8]
push eax
call edi
test eax, eax
jne 0x5326d2
lea ecx, [esp + 0x4c]
lea edx, [esp + 0xd8]
push ecx
push edx
call ebx
test eax, eax
jne 0x5326d2
mov eax, dword [esp + 0x4c]
push 0x3f
lea ecx, [esp + 0xfc]
push eax
push ecx
call fcn.00609f00
add esp, 0xc
mov byte [esp + 0x137], 0
test esi, esi
je 0x532709
lea edx, [esp + 0x4c]
push edx
call esi
jmp 0x532709
mov eax, dword [0x6cdb00]
lea edx, [esp + 0xf8]
test eax, eax
mov edi, str.9C9D53D4_A978_43FC_93E2_1C21B529E6D7
jne 0x5326ec
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 + 0x5b], cl
mov byte [esp + 0x5c], al
mov byte [esp + 0x62], cl
mov byte [esp + 0x64], al
mov byte [esp + 0x6a], al
lea edi, [esp + 0x54]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x54], dl
mov byte [esp + 0x55], 0x7d
mov byte [esp + 0x56], 0x74
mov byte [esp + 0x57], 0x66
mov byte [esp + 0x58], 0x65
mov byte [esp + 0x59], 0x73
mov byte [esp + 0x5a], 0x60
mov byte [esp + 0x5d], 0x51
mov byte [esp + 0x5e], 0x7e
mov byte [esp + 0x5f], 0x73
mov byte [esp + 0x60], 0x61
mov byte [esp + 0x61], 0x61
mov byte [esp + 0x63], 0x61
mov byte [esp + 0x65], 0x51
mov byte [esp + 0x66], 0x5e
mov byte [esp + 0x67], dl
mov byte [esp + 0x68], 0x5b
mov byte [esp + 0x69], 0x56
mov byte [esp + 0x6b], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x5327a4
mov bl, byte [esp + eax + 0x54]
xor bl, 0x12
mov byte [esp + eax + 0x54], bl
inc eax
cmp eax, ecx
jl 0x532794
mov ecx, dword [0x6f7b78]
mov dword [esp + 0x28], ecx
mov bl, 0x26
lea edi, [esp + 0x3c]
mov ecx, ebp
xor eax, eax
mov byte [esp + 0x3c], 0x2b
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x25
mov byte [esp + 0x3f], 0x21
mov byte [esp + 0x40], 0x24
mov byte [esp + 0x41], 0x20
mov byte [esp + 0x42], 0x22
mov byte [esp + 0x43], 0x27
mov byte [esp + 0x44], 0x25
mov byte [esp + 0x45], 0x23
mov byte [esp + 0x46], 0x2b
mov byte [esp + 0x47], 0x20
mov byte [esp + 0x48], 0x2a
mov byte [esp + 0x49], 0x21
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x140], 0
test ecx, ecx
jle 0x53282a
mov dl, byte [esp + eax + 0x3c]
xor dl, 0x12
mov byte [esp + eax + 0x3c], dl
inc eax
cmp eax, ecx
jl 0x53281a
lea edx, [esp + 0x3c]
lea eax, [esp + 0x28]
push edx
push 0x6c910c
push eax
call fcn.0061fae1
mov ecx, dword [0x6f7b78]
add esp, 0xc
mov dword [esp + 0x20], ecx
lea edx, [esp + 0xf8]
lea eax, [esp + 0x20]
push edx
push 0x6c910c
push eax
mov byte [esp + 0x14c], 1
call fcn.0061fae1
add esp, 0xc
mov dword [esp + 0x2c], 0x65a24c
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0xf8]
push ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push ecx
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x150], 2
call fcn.00451890
mov edx, dword [0x6f7b78]
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 + 0x140], 3
test ecx, ecx
jle 0x532904
mov dl, byte [esp + eax + 0x34]
xor dl, 0x12
mov byte [esp + eax + 0x34], dl
inc eax
cmp eax, ecx
jl 0x5328f4
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
push 0x6c910c
push ecx
call fcn.0061fae1
mov eax, dword [0x6cdb00]
add esp, 0xc
test eax, eax
je 0x532e6e
mov al, 0x57
mov cl, 0x54
mov byte [esp + 0x95], al
mov byte [esp + 0x9f], al
mov byte [esp + 0xa3], al
mov byte [esp + 0xb2], cl
mov byte [esp + 0xb3], cl
mov byte [esp + 0xb5], al
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 + 0x9c], 0x3f
mov byte [esp + 0x9d], bl
mov byte [esp + 0x9e], 0x56
mov byte [esp + 0xa0], 0x20
mov byte [esp + 0xa1], 0x3f
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa4], 0x22
mov byte [esp + 0xa5], 0x25
mov byte [esp + 0xa6], 0x3f
mov byte [esp + 0xa7], 0x50
mov byte [esp + 0xa8], 0x2a
mov byte [esp + 0xa9], 0x24
mov byte [esp + 0xaa], 0x20
mov byte [esp + 0xab], 0x3f
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 0x532a74
mov bl, byte [esp + eax + 0x94]
xor bl, 0x12
mov byte [esp + eax + 0x94], bl
inc eax
cmp eax, ecx
jl 0x532a5e
mov edx, dword [0x6f7b78]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x94]
lea ecx, [esp + 0x54]
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s
push edx
mov byte [esp + 0x150], 4
call fcn.0061fae1
mov eax, dword [0x6f7b78]
add esp, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x6fcacc]
mov byte [esp + 0x140], 5
test eax, eax
mov eax, str.CURRENT_USER
jne 0x532ac9
mov eax, str.MACHINE
lea ecx, [esp + 0x94]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
lea eax, [esp + 0x20]
push str._s_s_s
push eax
call fcn.0061fae1
add esp, 0x14
lea ecx, [esp + 0x3c]
xor bl, bl
call fcn.00524830
mov eax, dword [0x6fcacc]
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, 0x80000002
push edx
push eax
mov byte [esp + 0x164], 6
call esi
test eax, eax
je 0x532c25
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.005248e0
test eax, eax
je 0x532b7a
mov ecx, dword [0x6fcacc]
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, 0x80000002
push eax
push ecx
call esi
test eax, eax
je 0x532c27
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push edx
call fcn.005249b0
test eax, eax
je 0x532bbc
mov edx, dword [0x6fcacc]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push 0
push eax
push 0
neg edx
push 0xf003f
push 0
sbb edx, edx
push 0
push 0
add edx, 0x80000002
push ecx
push edx
call esi
test eax, eax
je 0x532c27
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 5
call fcn.00524870
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 4
call fcn.00622d8a
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00622d8a
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 2
call fcn.00622d8a
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0x65a24c
mov byte [esp + 0x140], 0
call fcn.00622d8a
mov dword [esp + 0x140], ebp
jmp 0x53328d
mov bl, 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0xf8]
push 0x40
push eax
push 0
push 0
push ecx
push edx
call ebp
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
test bl, bl
je 0x532c66
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.00524b90
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_s
push ecx
call fcn.0061fae1
mov ecx, dword [0x6fcacc]
add esp, 0x10
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x30]
push 0
push edx
push 0
push 0xf003f
neg ecx
push 0
push 0
sbb ecx, ecx
push 0
add ecx, 0x80000002
push eax
push ecx
call esi
test eax, eax
je 0x532cea
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 5
call fcn.00524870
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 4
call fcn.00622d8a
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00622d8a
jmp 0x533258
lea ecx, [esp + 0xd8]
call fcn.00524830
mov eax, dword [0x6fcacc]
mov byte [esp + 0x140], 7
test eax, eax
mov eax, str.CURRENT_USER
jne 0x532d11
mov eax, str.MACHINE
mov edx, dword [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x1c]
push 0x6c9ce8
push eax
call fcn.0061fae1
add esp, 0x10
lea ecx, [esp + 0x4c]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareClassesCLSID07999AC3_058B_40BF_984F_69EB1E554CA7
push 0x80000001
call esi
test eax, eax
je 0x532d7e
mov edx, dword [esp + 0x30]
push edx
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xd8]
push eax
call fcn.00524b90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.00524870
jmp 0x532cb2
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xbc]
lea edx, [esp + 0xd4]
push ecx
push edx
push 0
push 0
mov ebx, 4
push str.Model
push eax
mov dword [esp + 0xd4], ebx
call esi
test eax, eax
jne 0x532dcb
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xd4]
push ebx
push ecx
push ebx
push eax
push str.Model
push edx
call ebp
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
push 0
push str.Therad
push edx
mov dword [esp + 0xd4], ebx
call esi
test eax, eax
jne 0x532e08
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push ebx
push eax
push ebx
push 0
push str.Therad
push ecx
call ebp
mov edx, dword [esp + 0x30]
push edx
call edi
mov eax, dword [esp + 0x4c]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0xdc]
call fcn.00524b90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.00524870
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 5
call fcn.00524870
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 4
call fcn.00622d8a
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x18]
jmp 0x533241
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6fcafc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0xf8]
push 0x40
push edx
push 0
push 0
push eax
push ecx
call ebp
mov al, 0x57
mov cl, 0x53
mov dl, 0x50
mov byte [esp + 0x6f], al
mov byte [esp + 0x7b], cl
mov byte [esp + 0x7d], al
mov byte [esp + 0x7f], cl
mov byte [esp + 0x8e], al
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x6c], 0x25
mov byte [esp + 0x6d], dl
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 + 0x74], 0x3f
mov byte [esp + 0x75], 0x21
mov byte [esp + 0x76], 0x20
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], 0x56
mov byte [esp + 0x79], 0x3f
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7c], 0x20
mov byte [esp + 0x7e], 0x3f
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], 0x24
mov byte [esp + 0x82], 0x56
mov byte [esp + 0x83], 0x3f
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], dl
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 0x532f99
mov bl, byte [esp + eax + 0x6c]
xor bl, 0x12
mov byte [esp + eax + 0x6c], bl
inc eax
cmp eax, ecx
jl 0x532f89
mov edx, dword [0x6f7b78]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x54]
push eax
push ecx
lea edx, [esp + 0x24]
push str._s_s
push edx
mov byte [esp + 0x150], 8
call fcn.0061fae1
mov eax, dword [0x6f7b78]
add esp, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [0x6fcacc]
mov byte [esp + 0x140], 9
test eax, eax
mov eax, str.CURRENT_USER
jne 0x532feb
mov eax, str.MACHINE
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
lea eax, [esp + 0x30]
push str._s_s_s
push eax
call fcn.0061fae1
add esp, 0x14
lea ecx, [esp + 0xc0]
xor bl, bl
call fcn.00524830
mov eax, dword [0x6fcacc]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
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, 0x80000002
push edx
push eax
mov byte [esp + 0x164], 0xa
call esi
test eax, eax
je 0x5330e9
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0xc4]
call fcn.005248e0
test eax, eax
je 0x53309b
mov ecx, dword [0x6fcacc]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x50]
push 0
push edx
push 0
neg ecx
push 0xf003f
push 0
sbb ecx, ecx
push 0
push 0
add ecx, 0x80000002
push eax
push ecx
call esi
test eax, eax
je 0x5330eb
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc0]
push edx
call fcn.005249b0
test eax, eax
je 0x533171
mov edx, dword [0x6fcacc]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push 0
push eax
push 0
neg edx
push 0xf003f
push 0
sbb edx, edx
push 0
push 0
add edx, 0x80000002
push ecx
push edx
call esi
test eax, eax
je 0x5330eb
jmp 0x533171
mov bl, 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0xf8]
push 0x40
push eax
push 0
push 0
push ecx
push edx
call ebp
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x533125
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0xc4]
call fcn.00524b90
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x24]
push str._s_s
push ecx
call fcn.0061fae1
mov ecx, dword [0x6fcacc]
add esp, 0x10
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x50]
push 0
push edx
push 0
push 0xf003f
neg ecx
push 0
push 0
sbb ecx, ecx
push 0
add ecx, 0x80000002
push eax
push ecx
call esi
test eax, eax
je 0x5331ac
lea ecx, [esp + 0xc0]
mov byte [esp + 0x140], 9
call fcn.00524870
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 8
call fcn.00622d8a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 3
call fcn.00622d8a
jmp 0x533258
lea ecx, [esp + 0xe8]
call fcn.00524830
mov eax, dword [0x6fcacc]
mov byte [esp + 0x140], 0xb
test eax, eax
mov eax, str.CURRENT_USER
jne 0x5331d3
mov eax, str.MACHINE
mov edx, dword [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x2c]
push 0x6c9ce8
push eax
call fcn.0061fae1
mov ecx, dword [esp + 0x34]
add esp, 0x10
push ecx
lea ecx, [esp + 0xec]
call fcn.00524b90
lea ecx, [esp + 0xe8]
mov byte [esp + 0x140], 0xa
call fcn.00524870
lea ecx, [esp + 0xc0]
mov byte [esp + 0x140], 9
call fcn.00524870
lea ecx, [esp + 0x24]
mov byte [esp + 0x140], 8
call fcn.00622d8a
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x1c]
call fcn.00622d8a
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x533258
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 2
call fcn.00622d8a
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0x65a24c
mov byte [esp + 0x140], 0
call fcn.00622d8a
mov dword [esp + 0x140], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00622d8a
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret