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

Disassembly:
push 0xffffffffffffffff
push 0x6588d4
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
push 0x40
lea eax, [esp + 0xa8]
push 0
push eax
call fcn.0061d9e0
push str.rpcrt4.dll
call fcn.00447580
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x52a18e
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
mov esi, eax
test edi, edi
je 0x52a18e
test ebx, ebx
je 0x52a18e
lea ecx, [esp + 0x54]
push ecx
call edi
test eax, eax
jne 0x52a18e
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x58]
push eax
call ebx
test eax, eax
jne 0x52a18e
mov ecx, dword [esp + 0x30]
push 0x40
push ecx
lea edx, [esp + 0xac]
push edx
call fcn.00405460
add esp, 0xc
test esi, esi
je 0x52a1b0
lea eax, [esp + 0x30]
push eax
call esi
jmp 0x52a1b0
cmp dword [0x74fd2c], 0
mov ecx, 9
lea edi, [esp + 0xa4]
mov esi, str.9C9D53D4_A978_43FC_93E2_1C21B529E6D7
jne 0x52a1ad
mov esi, str.E8CF4E59_B7A3_41F2_86C7_82B03334F22A
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov al, 0x73
mov byte [esp + 0x91], al
mov byte [esp + 0x97], al
mov al, 0x61
mov cl, 0x4e
mov bl, 0x41
mov dl, 0x77
mov byte [esp + 0x98], al
mov byte [esp + 0x99], al
mov byte [esp + 0x9b], al
lea eax, [esp + 0x8c]
mov byte [esp + 0x94], cl
mov byte [esp + 0x9c], cl
mov byte [esp + 0xa2], cl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], 0x7d
mov byte [esp + 0x8e], 0x74
mov byte [esp + 0x8f], 0x66
mov byte [esp + 0x90], 0x65
mov byte [esp + 0x92], 0x60
mov byte [esp + 0x93], dl
mov byte [esp + 0x95], 0x51
mov byte [esp + 0x96], 0x7e
mov byte [esp + 0x9a], dl
mov byte [esp + 0x9d], 0x51
mov byte [esp + 0x9e], 0x5e
mov byte [esp + 0x9f], bl
mov byte [esp + 0xa0], 0x5b
mov byte [esp + 0xa1], 0x56
mov byte [esp + 0xa3], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52a278
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x52a29d
jmp 0x52a290
xor byte [esp + ecx + 0x8c], 0x12
inc ecx
cmp ecx, eax
jl 0x52a290
lea ecx, [esp + 0x28]
call fcn.00402500
mov dword [esp + 0xf0], 0
lea ecx, [esp + 0x28]
push ecx
call fcn.00529060
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00402500
mov byte [esp + 0xf0], 1
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x28]
push 0x675ea0
push eax
call fcn.00402f70
add esp, 0xc
mov dword [esp + 0x2c], vtable.CProtection.0
mov byte [esp + 0xf0], 2
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52a302
sub eax, edx
mov edx, eax
lea eax, [esp + 0xa4]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52a317
push edx
push edi
sub eax, esi
push eax
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00448660
lea ecx, [esp + 0x20]
call fcn.00402500
mov byte [esp + 0xf0], 3
lea edx, [esp + 0x20]
push edx
call fcn.00528fe0
add esp, 4
cmp dword [0x74fd2c], 0
je 0x52a7c7
mov al, 0x26
mov cl, 0x3f
mov byte [esp + 0x6d], al
mov byte [esp + 0x72], al
mov byte [esp + 0x7e], al
mov byte [esp + 0x81], al
mov al, 0x54
mov dl, 0x57
mov bl, 0x22
mov byte [esp + 0x82], al
mov byte [esp + 0x83], al
lea eax, [esp + 0x64]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x71], cl
mov byte [esp + 0x76], cl
mov byte [esp + 0x7b], cl
mov byte [esp + 0x64], 0x27
mov byte [esp + 0x65], dl
mov byte [esp + 0x66], 0x56
mov byte [esp + 0x67], 0x24
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x25
mov byte [esp + 0x6a], 0x25
mov byte [esp + 0x6b], 0x2b
mov byte [esp + 0x6e], 0x56
mov byte [esp + 0x6f], dl
mov byte [esp + 0x70], 0x20
mov byte [esp + 0x73], dl
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], 0x25
mov byte [esp + 0x77], 0x50
mov byte [esp + 0x78], 0x2a
mov byte [esp + 0x79], 0x24
mov byte [esp + 0x7a], 0x20
mov byte [esp + 0x7c], 0x2b
mov byte [esp + 0x7d], 0x25
mov byte [esp + 0x7f], 0x51
mov byte [esp + 0x80], 0x53
mov byte [esp + 0x84], 0x20
mov byte [esp + 0x85], dl
mov byte [esp + 0x86], 0x2b
mov byte [esp + 0x87], 0x51
mov byte [esp + 0x88], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52a434
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x52a44d
xor byte [esp + ecx + 0x64], 0x12
inc ecx
cmp ecx, eax
jl 0x52a443
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0xf0], 4
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x1c]
push 0x6a3600
push edx
call fcn.00402f70
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0xf0], 5
cmp dword [0x75aba4], 0
mov eax, str.CURRENT_USER
jne 0x52a4a1
mov eax, str.MACHINE
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x90]
push edx
push eax
lea eax, [esp + 0x24]
push str._s_s_s
push eax
call fcn.00402f70
add esp, 0x14
lea ecx, [esp + 0x34]
xor bl, bl
call fcn.0051b590
mov byte [esp + 0xf0], 6
mov eax, dword [0x75aba4]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
neg eax
push 0
sbb eax, eax
push edx
add eax, 0x80000002
push eax
call esi
test eax, eax
je 0x52a5c8
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.0051b680
test eax, eax
je 0x52a54e
mov ecx, dword [0x75aba4]
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
neg ecx
push 0
sbb ecx, ecx
push eax
add ecx, 0x80000002
push ecx
call esi
test eax, eax
je 0x52a5ca
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.0051b750
test eax, eax
je 0x52a590
mov edx, dword [0x75aba4]
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0xf003f
push 0
push 0
neg edx
push 0
sbb edx, edx
push ecx
add edx, 0x80000002
push edx
call esi
test eax, eax
je 0x52a5ca
mov byte [esp + 0xf0], 5
lea ecx, [esp + 0x34]
call fcn.0051b5f0
mov byte [esp + 0xf0], 4
lea ecx, [esp + 0x18]
call fcn.00402570
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0x14]
call fcn.00402570
jmp 0x52ab5e
mov bl, 1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x40
lea eax, [esp + 0xa8]
push eax
push 0
push 0
push ecx
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
test bl, bl
je 0x52a609
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.0051b380
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
push 0x6a3600
push ecx
call fcn.00402f70
mov ecx, dword [0x75aba4]
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
neg ecx
push 0
sbb ecx, ecx
push eax
add ecx, 0x80000002
push ecx
call esi
test eax, eax
jne 0x52a590
lea ecx, [esp + 0x54]
call fcn.0051b590
mov byte [esp + 0xf0], 7
cmp dword [0x75aba4], 0
mov eax, str.CURRENT_USER
jne 0x52a680
mov eax, str.MACHINE
mov edx, dword [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x20]
push 0x678c08
push eax
call fcn.00402f70
add esp, 0x10
push 0
lea ecx, [esp + 0x34]
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 0x52a6e7
mov edx, dword [esp + 0x1c]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
call fcn.0051b380
mov byte [esp + 0xf0], 6
lea ecx, [esp + 0x54]
call fcn.0051b5f0
jmp 0x52a590
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x54]
push edx
push 0
push 0
push str.Model
mov ebx, 4
push eax
mov dword [esp + 0x5c], ebx
call esi
test eax, eax
jne 0x52a728
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x54]
push ecx
push ebx
push eax
push str.Model
push edx
call ebp
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push str.Therad
push edx
mov dword [esp + 0x5c], ebx
call esi
test eax, eax
jne 0x52a75f
mov ecx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x50]
push eax
push ebx
push 0
push str.Therad
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push edx
call edi
mov eax, dword [esp + 0x30]
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x58]
call fcn.0051b380
mov byte [esp + 0xf0], 6
lea ecx, [esp + 0x54]
call fcn.0051b5f0
mov byte [esp + 0xf0], 5
lea ecx, [esp + 0x34]
call fcn.0051b5f0
mov byte [esp + 0xf0], bl
lea ecx, [esp + 0x18]
call fcn.00402570
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0x14]
call fcn.00402570
mov ebp, dword [esp + 0x48]
jmp 0x52ab53
mov eax, dword [esp + 0x20]
mov ecx, dword [0x75abd8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x40
lea edx, [esp + 0xa8]
push edx
push 0
push 0
push eax
push ecx
call edi
mov al, 0x26
mov cl, 0x3f
mov bl, 0x53
mov dl, 0x57
mov byte [esp + 0x6b], al
mov byte [esp + 0x6f], al
mov byte [esp + 0x72], al
mov byte [esp + 0x73], bl
mov byte [esp + 0x77], bl
mov bl, 0x22
mov byte [esp + 0x78], al
lea eax, [esp + 0x64]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x71], cl
mov byte [esp + 0x76], cl
mov byte [esp + 0x7b], cl
mov byte [esp + 0x64], 0x25
mov byte [esp + 0x65], 0x50
mov byte [esp + 0x66], 0x2a
mov byte [esp + 0x67], dl
mov byte [esp + 0x68], 0x2b
mov byte [esp + 0x69], 0x23
mov byte [esp + 0x6a], 0x24
mov byte [esp + 0x6d], 0x21
mov byte [esp + 0x6e], 0x20
mov byte [esp + 0x70], 0x56
mov byte [esp + 0x74], 0x20
mov byte [esp + 0x75], dl
mov byte [esp + 0x79], 0x24
mov byte [esp + 0x7a], 0x56
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], 0x23
mov byte [esp + 0x7e], 0x24
mov byte [esp + 0x7f], 0x27
mov byte [esp + 0x80], 0x54
mov byte [esp + 0x81], 0x50
mov byte [esp + 0x82], 0x20
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], bl
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], dl
mov byte [esp + 0x87], 0x51
mov byte [esp + 0x88], 0
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52a8c0
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x52a8da
nop
xor byte [esp + ecx + 0x64], 0x12
inc ecx
cmp ecx, eax
jl 0x52a8d0
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0xf0], 8
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
push 0x6a3600
push ecx
call fcn.00402f70
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0xf0], 9
cmp dword [0x75aba4], 0
mov eax, str.CURRENT_USER
jne 0x52a92e
mov eax, str.MACHINE
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x90]
push ecx
push eax
lea edx, [esp + 0x24]
push str._s_s_s
push edx
call fcn.00402f70
add esp, 0x14
lea ecx, [esp + 0x34]
xor bl, bl
call fcn.0051b590
mov byte [esp + 0xf0], 0xa
mov edx, dword [0x75aba4]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0xf003f
push 0
push 0
neg edx
push 0
sbb edx, edx
push ecx
add edx, 0x80000002
push edx
call esi
test eax, eax
je 0x52aa3b
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.0051b680
test eax, eax
je 0x52a9db
mov eax, dword [0x75aba4]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
neg eax
push 0
sbb eax, eax
push edx
add eax, 0x80000002
push eax
call esi
test eax, eax
je 0x52aa3d
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.0051b750
test eax, eax
je 0x52aa1d
mov ecx, dword [0x75aba4]
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
neg ecx
push 0
sbb ecx, ecx
push eax
add ecx, 0x80000002
push ecx
call esi
test eax, eax
je 0x52aa3d
mov byte [esp + 0xf0], 9
lea ecx, [esp + 0x34]
call fcn.0051b5f0
mov byte [esp + 0xf0], 8
jmp 0x52a5a9
mov bl, 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0x40
lea edx, [esp + 0xa8]
push edx
push 0
push 0
push eax
push ecx
call edi
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x52aa74
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.0051b380
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x1c]
push 0x6a3600
push eax
call fcn.00402f70
mov eax, dword [0x75aba4]
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
neg eax
push 0
sbb eax, eax
push edx
add eax, 0x80000002
push eax
call esi
test eax, eax
jne 0x52aa1d
lea ecx, [esp + 0x54]
call fcn.0051b590
mov byte [esp + 0xf0], 0xb
cmp dword [0x75aba4], 0
mov eax, str.CURRENT_USER
jne 0x52aae9
mov eax, str.MACHINE
mov ecx, dword [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push 0x678c08
push edx
call fcn.00402f70
mov eax, dword [esp + 0x28]
add esp, 0x10
push eax
lea ecx, [esp + 0x58]
call fcn.0051b380
mov byte [esp + 0xf0], 0xa
lea ecx, [esp + 0x54]
call fcn.0051b5f0
mov byte [esp + 0xf0], 9
lea ecx, [esp + 0x34]
call fcn.0051b5f0
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0x18]
call fcn.00402570
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0x14]
call fcn.00402570
test ebp, ebp
je 0x52ab5e
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0xf0], 2
lea ecx, [esp + 0x20]
call fcn.00402570
mov byte [esp + 0xf0], 1
mov dword [esp + 0x2c], vtable.CProtection.0
mov byte [esp + 0xf0], 0
lea ecx, [esp + 0x24]
call fcn.00402570
mov dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00402570
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0061d2ff
add esp, 0xe0
ret