Function at 0x1000d910
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.10011630
push ebx
push esi
push edi
mov dword [ebp - 0x1044], ecx
push eax
xor eax, eax
add eax, eax
xor eax, eax
xor eax, eax
je 0x1000d938
inc ebx
push edi
je 0x1000d991
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 0x1000d98f
cmp dword [ebp - 0x1030], 0
je 0x1000d9a1
mov eax, dword [ebp - 0x1044]
mov dword [eax + 4], 0x1b58
jmp 0x1000dc67
mov esp, 0xc7ffffef
inc eax
add al, 0x58
sbb eax, dword [eax]
add cl, ch
mov byte [edx], 0
add bh, al
inc ebp
cld
add byte [eax], al
add byte [eax], al
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1044]
call fcn.1000dce0
mov dword [ebp - 0x1040], eax
cmp dword [ebp - 0x1040], 0
jne 0x1000d9e1
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 0x1000dc67
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 0x1000dbac
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 0x1000dae7
cmp dword [ebp - 4], 0
jne 0x1000dae2
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 0x1000dbac
cmp dword [ebp - 4], 0
jne 0x1000db7c
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x1000db3c
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 0x1000da1d
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 0x1000da1d
mov dword [ebp - 4], 0
mov edx, 1
test edx, edx
je 0x1000dc5a
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 0x1000dc20
jmp 0x1000dc5a
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 0x1000dbb3
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