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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017598
push 0x100169cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x194], ebx
push 0x20
pop edi
push edi
push ebx
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCRT.dll_memset
mov esi, 0x104
push esi
push ebx
lea eax, [ebp - 0x16c]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x298]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
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], 0xa
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x50], 0x25
mov byte [ebp - 0x4f], 0x2d
mov byte [ebp - 0x4e], 0x32
mov byte [ebp - 0x4d], 0x34
mov byte [ebp - 0x4c], 0x73
mov byte [ebp - 0x4b], 0x20
mov byte [ebp - 0x4a], 0x25
mov byte [ebp - 0x49], 0x2d
mov byte [ebp - 0x48], 0x31
mov byte [ebp - 0x47], 0x35
mov byte [ebp - 0x46], 0x73
mov byte [ebp - 0x45], 0x20
mov byte [ebp - 0x44], 0x30
mov byte [ebp - 0x43], 0x78
mov byte [ebp - 0x42], 0x25
mov byte [ebp - 0x41], 0x78
mov byte [ebp - 0x40], 0x28
mov byte [ebp - 0x3f], 0x25
mov byte [ebp - 0x3e], 0x64
mov byte [ebp - 0x3d], 0x29
mov byte [ebp - 0x3c], 0x20
mov byte [ebp - 0x3b], 0xd
mov byte [ebp - 0x3a], 0xa
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x2ac], 0x25
mov byte [ebp - 0x2ab], 0x2d
mov byte [ebp - 0x2aa], 0x32
mov byte [ebp - 0x2a9], 0x34
mov byte [ebp - 0x2a8], 0x73
mov byte [ebp - 0x2a7], 0x20
mov byte [ebp - 0x2a6], 0x25
mov byte [ebp - 0x2a5], 0x2d
mov byte [ebp - 0x2a4], 0x31
mov byte [ebp - 0x2a3], 0x35
mov byte [ebp - 0x2a2], 0x73
mov byte [ebp - 0x2a1], 0x20
mov byte [ebp - 0x2a0], 0xd
mov byte [ebp - 0x29f], 0xa
mov byte [ebp - 0x29e], bl
mov byte [ebp - 0x68], 0x25
mov byte [ebp - 0x67], 0x2d
mov byte [ebp - 0x66], 0x32
mov byte [ebp - 0x65], 0x34
mov byte [ebp - 0x64], 0x73
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x25
mov byte [ebp - 0x61], 0x2d
mov byte [ebp - 0x60], 0x31
mov byte [ebp - 0x5f], 0x35
mov byte [ebp - 0x5e], 0x73
mov byte [ebp - 0x5d], 0x20
mov byte [ebp - 0x5c], 0x25
mov byte [ebp - 0x5b], 0x73
mov byte [ebp - 0x5a], 0x20
mov byte [ebp - 0x59], 0xd
mov byte [ebp - 0x58], 0xa
mov byte [ebp - 0x57], bl
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x29c]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000aeb3
or dword [ebp - 0x38], 0xffffffff
jmp 0x1000b1e5
mov eax, dword [ebp + 0x24]
sub eax, ebx
je 0x1000b088
dec eax
je 0x1000b010
dec eax
je 0x1000aece
dec eax
jmp 0x1000b19c
push edi
push ebx
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x16c]
push eax
call sub.MSVCRT.dll_memset
push esi
push ebx
lea eax, [ebp - 0x298]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x194]
inc dword [ebp - 0x194]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x16c]
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 - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1000b1e5
mov eax, dword [ebp + 0x14]
dec eax
je 0x1000afcd
dec eax
je 0x1000afb5
dec eax
je 0x1000af90
dec eax
je 0x1000af60
sub eax, 3
jne 0x1000aff4
push str.REG_MULTI_SZ
jmp 0x1000af95
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x16c]
push eax
push str.REG_DWORD
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x1000aff4
push str.REG_BINARY
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x1000aff4
lea eax, [ebp - 0x16c]
push eax
push str.REG_EXPAND_SZ
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x68]
jmp 0x1000afe3
lea eax, [ebp - 0x16c]
push eax
push str.REG_SZ
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x298]
push eax
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x38], 1
jmp 0x1000aece
push esi
push ebx
lea eax, [ebp - 0x16c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x194]
inc dword [ebp - 0x194]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x16c]
push ecx
push eax
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000b1e5
lea eax, [ebp - 0x16c]
push eax
push str.__s__r_n
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x298]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcat
add esp, 0x14
mov dword [ebp - 0x38], 1
jmp 0x1000b010
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
jbe 0x1000b1e5
cmp ecx, 2
jbe 0x1000b1a0
cmp ecx, 3
je 0x1000b179
push 4
pop eax
cmp ecx, eax
je 0x1000b139
cmp ecx, 7
jne 0x1000b1e5
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b1e5
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x54], eax
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
cmp byte [eax], bl
je 0x1000b123
push esi
push eax
lea eax, [ebp - 0x298]
push eax
call edi
push esi
push 0x1001d370
lea eax, [ebp - 0x298]
push eax
call edi
push ebx
push dword [ebp - 0x54]
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x20
inc eax
mov dword [ebp - 0x54], eax
jmp 0x1000b0f2
lea eax, [ebp - 0x298]
push eax
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x1000b1de
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b1e5
push dword [ebp - 0x190]
push 0x1001d184
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x1000b1db
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 - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b1e5
jmp 0x1000b1de
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x29c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b1e5
lea eax, [ebp - 0x16c]
push eax
call fcn.1000aca4
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.1000b200
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret