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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a430
push 0x10019366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
push edi
push str.RegQueryValueExA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x12c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x25c]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x260]
push eax
push 0x20019
push esi
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000be16
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 0xffffffff
call fcn.1000c317
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x24]
cmp eax, 3
ja case.0x1000be36.5
jmp dword [eax*4 + 0x1000c344]
mov eax, dword [ebp + 0x14]
dec eax
cmp eax, 6
ja case.0x1000be36.5
jmp dword [eax*4 + 0x1000c354]
mov dword [ebp - 0x1c], 0x104
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x260]
push edx
call ebx
test eax, eax
jne case.0x1000be36.5
lea eax, [ebp - 0x12c]
push eax
call fcn.1000bd30
add esp, 4
mov edi, eax
jmp 0x1000bef8
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call ebx
test eax, eax
jne case.0x1000be36.5
lea esi, [ebp - 0x12c]
mov dword [ebp - 0x28], esi
mov ebx, dword [sym.imp.MSVCRT.dll_strchr]
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
cmp byte [esi], 0
je 0x1000bef2
push 0x104
push esi
lea edx, [ebp - 0x25c]
push edx
call edi
push 0x104
push 0x1001ea78
lea eax, [ebp - 0x25c]
push eax
call edi
push 0
push esi
call ebx
add esp, 0x20
inc eax
mov esi, eax
mov dword [ebp - 0x28], esi
jmp 0x1000bebb
lea edi, [ebp - 0x25c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
call fcn.1000c317
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call ebx
test eax, eax
jne case.0x1000be36.5
mov edx, dword [ebp - 0x154]
push edx
push 0x1001e27c
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.0x1000be22.3
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x260]
push eax
call ebx
test eax, eax
jne case.0x1000be36.5
jmp case.0x1000be22.3
mov ebx, dword [ebp + 0x18]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x12c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0x104
mov eax, esi
inc esi
mov dword [ebp - 0x158], esi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x12c]
push edx
push eax
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne case.0x1000be36.5
lea ecx, [ebp - 0x12c]
push ecx
push str.__s__r_n
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edi, [ebp - 0x25c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x24], 1
mov esi, dword [ebp - 0x158]
jmp 0x1000bfb2
mov bl, 0x25
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x12c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x25c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], 0x104
mov eax, esi
inc esi
mov dword [ebp - 0x158], esi
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp + 0x14]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x150]
push ecx
push eax
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne case.0x1000be36.5
mov byte [ebp - 0x274], bl
mov byte [ebp - 0x273], 0x2d
mov byte [ebp - 0x272], 0x32
mov byte [ebp - 0x271], 0x34
mov byte [ebp - 0x270], 0x73
mov byte [ebp - 0x26f], 0x20
mov byte [ebp - 0x26e], bl
mov byte [ebp - 0x26d], 0x2d
mov byte [ebp - 0x26c], 0x31
mov byte [ebp - 0x26b], 0x35
mov byte [ebp - 0x26a], 0x73
mov byte [ebp - 0x269], 0x20
mov byte [ebp - 0x268], bl
mov byte [ebp - 0x267], 0x73
mov byte [ebp - 0x266], 0x20
mov byte [ebp - 0x265], 0xd
mov byte [ebp - 0x264], 0xa
mov byte [ebp - 0x263], al
mov byte [ebp - 0x298], bl
mov byte [ebp - 0x297], 0x2d
mov byte [ebp - 0x296], 0x32
mov byte [ebp - 0x295], 0x34
mov byte [ebp - 0x294], 0x73
mov byte [ebp - 0x293], 0x20
mov byte [ebp - 0x292], bl
mov byte [ebp - 0x291], 0x2d
mov byte [ebp - 0x290], 0x31
mov byte [ebp - 0x28f], 0x35
mov byte [ebp - 0x28e], 0x73
mov byte [ebp - 0x28d], al
mov byte [ebp - 0x28c], bl
mov byte [ebp - 0x28b], 0x2d
mov byte [ebp - 0x28a], 0x32
mov byte [ebp - 0x289], 0x34
mov byte [ebp - 0x288], 0x73
mov byte [ebp - 0x287], 0x20
mov byte [ebp - 0x286], bl
mov byte [ebp - 0x285], 0x2d
mov byte [ebp - 0x284], 0x31
mov byte [ebp - 0x283], 0x35
mov byte [ebp - 0x282], 0x73
mov byte [ebp - 0x281], 0x20
mov byte [ebp - 0x280], 0x30
mov byte [ebp - 0x27f], 0x78
mov byte [ebp - 0x27e], bl
mov byte [ebp - 0x27d], 0x78
mov byte [ebp - 0x27c], 0x28
mov byte [ebp - 0x27b], bl
mov byte [ebp - 0x27a], 0x64
mov byte [ebp - 0x279], 0x29
mov byte [ebp - 0x278], 0x72
mov byte [ebp - 0x277], 0xa
mov byte [ebp - 0x276], al
mov eax, dword [ebp + 0x14]
dec eax
cmp eax, 6
ja case.0x1000c23b.5
jmp dword [eax*4 + 0x1000c370]
lea ecx, [ebp - 0x12c]
push ecx
push str.REG_SZ
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp case.0x1000c23b.5
lea edx, [ebp - 0x12c]
push edx
push str.REG_EXPAND_SZ
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x274]
push ecx
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp case.0x1000c23b.5
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
push str.REG_DWORD
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp case.0x1000c23b.5
push str.REG_MULTI_SZ
jmp 0x1000c2dc
push str.REG_BINARY
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x25c]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x24], 1
jmp 0x1000c055