Function at 0x40ced4
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403360
push 0x419748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a4
push ebx
push esi
push edi
mov byte [ebp - 0x4c], 0x52
mov byte [ebp - 0x4b], 0x65
mov byte [ebp - 0x4a], 0x67
mov byte [ebp - 0x49], 0x51
mov byte [ebp - 0x48], 0x75
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x72
mov byte [ebp - 0x45], 0x79
mov byte [ebp - 0x44], 0x56
mov byte [ebp - 0x43], 0x61
mov byte [ebp - 0x42], 0x6c
mov byte [ebp - 0x41], 0x75
mov byte [ebp - 0x40], 0x65
mov byte [ebp - 0x3f], 0x45
mov byte [ebp - 0x3e], 0x78
mov byte [ebp - 0x3d], 0x41
and byte [ebp - 0x3c], 0
lea eax, [ebp - 0x4c]
push eax
push 0x401520
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call ebx
mov dword [ebp - 0x16c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 0x2b4], 0x52
mov byte [ebp - 0x2b3], 0x45
mov byte [ebp - 0x2b2], 0x47
mov byte [ebp - 0x2b1], 0x5f
mov byte [ebp - 0x2b0], 0x53
mov byte [ebp - 0x2af], 0x5a
and byte [ebp - 0x2ae], al
push 0x20
push eax
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x104
push esi
push 0
lea eax, [ebp - 0x168]
push eax
call sub.MSVCRT.dll_memset
push esi
push 0
lea eax, [ebp - 0x2a8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov byte [ebp - 0x2c], 0x25
mov byte [ebp - 0x2b], 0x2d
mov byte [ebp - 0x2a], 0x32
mov byte [ebp - 0x29], 0x34
mov byte [ebp - 0x28], 0x73
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x25
mov byte [ebp - 0x25], 0x2d
mov byte [ebp - 0x24], 0x31
mov byte [ebp - 0x23], 0x35
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x20
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0xd
mov byte [ebp - 0x1c], 0x6e
and byte [ebp - 0x1b], 0
mov byte [ebp - 0x19c], 0x52
mov byte [ebp - 0x19b], 0x65
mov byte [ebp - 0x19a], 0x67
mov byte [ebp - 0x199], 0x4f
mov byte [ebp - 0x198], 0x70
mov byte [ebp - 0x197], 0x65
mov byte [ebp - 0x196], 0x6e
mov byte [ebp - 0x195], 0x4b
mov byte [ebp - 0x194], 0x65
mov byte [ebp - 0x193], 0x79
mov byte [ebp - 0x192], 0x45
mov byte [ebp - 0x191], 0x78
mov byte [ebp - 0x190], 0x41
and byte [ebp - 0x18f], 0
lea eax, [ebp - 0x19c]
push eax
push 0x401520
call edi
push eax
call ebx
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], 0x77
mov byte [ebp - 0x63], 0x73
mov byte [ebp - 0x62], 0x70
mov byte [ebp - 0x61], 0x72
mov byte [ebp - 0x60], 0x69
mov byte [ebp - 0x5f], 0x6e
mov byte [ebp - 0x5e], 0x74
mov byte [ebp - 0x5d], 0x66
mov byte [ebp - 0x5c], 0x41
and byte [ebp - 0x5b], 0
lea eax, [ebp - 0x64]
push eax
push 0x4014e0
call edi
push eax
call ebx
mov dword [ebp - 0x58], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2ac]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x54]
test eax, eax
je 0x40d0f9
or dword [ebp - 0x38], 0xffffffff
jmp 0x40d41c
mov eax, dword [ebp + 0x24]
sub eax, ebx
je 0x40d2b9
dec eax
je 0x40d244
dec eax
je 0x40d114
dec eax
jmp 0x40d3d3
push 0x20
pop edi
push edi
push ebx
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x168]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x2a8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x1a4]
inc dword [ebp - 0x1a4]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp + 0x14]
push ecx
push ebx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x18c]
push ecx
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40d41c
mov eax, dword [ebp + 0x14]
dec eax
je 0x40d201
dec eax
je 0x40d1f3
dec eax
je 0x40d1d3
dec eax
je 0x40d1a5
sub eax, 3
jne 0x40d227
push 0x401d9c
jmp 0x40d1d8
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x168]
push eax
push 0x401d90
lea eax, [ebp - 0x18c]
push eax
push 0x401d78
lea eax, [ebp - 0x2a8]
push eax
call dword [ebp - 0x58]
add esp, 0x18
jmp 0x40d227
push 0x401d6c
lea eax, [ebp - 0x18c]
push eax
push 0x401d5c
lea eax, [ebp - 0x2a8]
push eax
call dword [ebp - 0x58]
add esp, 0x10
jmp 0x40d227
lea eax, [ebp - 0x168]
push eax
push 0x401d4c
jmp 0x40d20f
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a8]
push eax
call dword [ebp - 0x58]
add esp, 0x14
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov dword [ebp - 0x38], 1
jmp 0x40d114
push esi
push ebx
lea eax, [ebp - 0x168]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x1a4]
inc dword [ebp - 0x1a4]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40d41c
lea eax, [ebp - 0x168]
push eax
push 0x401d44
lea eax, [ebp - 0x2a8]
push eax
call dword [ebp - 0x58]
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcat
add esp, 0x14
mov dword [ebp - 0x38], 1
jmp 0x40d244
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jbe 0x40d41c
cmp ecx, 2
jbe 0x40d3d7
cmp ecx, 3
je 0x40d3b0
push 4
pop eax
cmp ecx, eax
je 0x40d377
cmp ecx, 7
jne 0x40d41c
mov dword [ebp - 0x30], esi
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2ac]
call dword [ebp - 0x16c]
test eax, eax
jne 0x40d41c
lea eax, [ebp - 0x168]
mov dword [ebp - 0x50], eax
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
cmp byte [eax], 0
je 0x40d361
push esi
push eax
lea eax, [ebp - 0x2a8]
push eax
call edi
push esi
push 0x401550
lea eax, [ebp - 0x2a8]
push eax
call edi
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x20
inc eax
mov dword [ebp - 0x50], eax
jmp 0x40d32f
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x40d415
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2ac]
call dword [ebp - 0x16c]
test eax, eax
jne 0x40d41c
push dword [ebp - 0x1a0]
push 0x401d40
push dword [ebp + 0x18]
call dword [ebp - 0x58]
jmp 0x40d412
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2ac]
call dword [ebp - 0x16c]
test eax, eax
jne 0x40d41c
jmp 0x40d415
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2ac]
call dword [ebp - 0x16c]
test eax, eax
jne 0x40d41c
lea eax, [ebp - 0x168]
push eax
call fcn.0040cea9
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
add esp, 0xc
mov dword [ebp - 0x38], 1
or dword [ebp - 4], 0xffffffff
call fcn.0040d437
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret