Function at 0x1000d600
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.10011320
push ebx
push esi
push edi
mov dword [ebp - 0x1044], ecx
push eax
xor eax, eax
xor eax, eax
xor eax, eax
xor eax, eax
je 0x1000d628
sub al, 0x2d
pop eax
pop eax
mov eax, dword [ebp - 0x1044]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1034], ecx
mov dword [ebp - 0x818], 0
lea edx, [ebp - 0x818]
push edx
push 9
push 0
mov eax, dword [ebp - 0x1034]
push eax
mov ecx, dword [ebp - 0x1034]
mov edx, dword [ecx + 0x1208]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 5
je 0x1000d67f
cmp dword [ebp - 0x1030], 0
je 0x1000d691
mov eax, dword [ebp - 0x1044]
mov dword [eax + 4], 0x1b58
jmp 0x1000d957
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1044]
call fcn.1000d9d0
mov dword [ebp - 0x1040], eax
cmp dword [ebp - 0x1040], 0
jne 0x1000d6d1
mov ecx, dword [ebp - 0x1044]
mov dword [ecx + 4], 0x1b69
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000d957
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1028], 0
mov ecx, 0x203
xor eax, eax
lea edi, [ebp - 0x1024]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x814], 0
mov ecx, 0x203
xor eax, eax
lea edi, [ebp - 0x810]
rep stosd dword es:[edi], eax
mov eax, 1
test eax, eax
je 0x1000d89c
mov ecx, 0x204
xor eax, eax
lea edi, [ebp - 0x1028]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x1020], 0x1fe
mov dword [ebp - 0x1028], 0x1fe
lea ecx, [ebp - 0x1020]
push ecx
lea edx, [ebp - 0xc18]
push edx
lea eax, [ebp - 0x1024]
push eax
push 0
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x818]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 0
je 0x1000d7d7
cmp dword [ebp - 4], 0
jne 0x1000d7d2
mov dword [ebp - 0x810], 1
mov dword [ebp - 0x814], 0xffffffff
mov dword [ebp - 0x80c], 0xffffffff
push 0
lea edx, [ebp - 0x102c]
push edx
push 0x810
lea eax, [ebp - 0x814]
push eax
mov ecx, dword [ebp - 0x1040]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1000d89c
cmp dword [ebp - 4], 0
jne 0x1000d86c
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x1000d82c
mov dword [ebp - 0x1028], 0xffffffff
push 0
lea eax, [ebp - 0x102c]
push eax
push 0x810
lea ecx, [ebp - 0x1028]
push ecx
mov edx, dword [ebp - 0x1040]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x1000d70d
mov dword [ebp - 0x810], 1
mov dword [ebp - 0x814], 0xffffffff
mov dword [ebp - 0x80c], 0xffffffff
push 0
lea ecx, [ebp - 0x102c]
push ecx
push 0x810
lea edx, [ebp - 0x814]
push edx
mov eax, dword [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 0x102c]
push ecx
push 0x810
lea edx, [ebp - 0x1028]
push edx
mov eax, dword [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x1000d70d
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x1000d94a
mov ecx, 0x204
xor eax, eax
lea edi, [ebp - 0x1028]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1020], 0x1fe
mov dword [ebp - 0x1028], 0x1fe
lea eax, [ebp - 0x103c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x818]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 0
je 0x1000d910
jmp 0x1000d94a
mov dword [ebp - 0x101c], 1
push 0
lea edx, [ebp - 0x102c]
push edx
push 0x810
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0x1040]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x1000d8a3
mov eax, dword [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret