Function at 0x101d366
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1034a33
call fcn.01027f98
sub esp, 0x280
mov eax, dword [0x10400ac]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x1007108
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x274], esp
push 0
mov ebx, 0x200
push ebx
push 0x20d
mov edi, 0x1006b04
push edi
mov esi, 0x1006a78
push esi
call fcn.01011ab4
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.01011b28
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.0101a891
mov byte [ebp - 4], 2
and dword [ebp - 0x21c], 0
mov byte [ebp - 4], 3
cmp dword [0x1040204], 0
jne 0x101d746
push 0x14
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x101d412
mov ecx, eax
call fcn.0101b14f
jmp 0x101d414
xor eax, eax
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 3
mov dword [0x1040204], eax
test eax, eax
jne 0x101d461
push 0x100647c
push 0x8007000e
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
push ebx
push 0x220
push edi
push esi
call fcn.01011ab4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01011cf6
add esp, 0x4c
push 0x1006894
push 0x1006848
push 0x10070f8
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x214]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x24c], eax
test eax, eax
je 0x101d4f7
jle 0x101d4b6
and eax, 0xffff
or eax, 0x80070000
push 0x1006894
push 0x1006848
push 0x1007098
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x27c], esp
push 0
push ebx
push 0x22c
push edi
push esi
call fcn.01011ab4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01029013
add esp, 0x54
mov byte [ebp - 0x215], 0
and dword [ebp - 0x220], 0
cmp byte [ebp - 0x215], 0
jne 0x101d746
mov dword [ebp - 0x248], 0x100
lea eax, [ebp - 0x28c]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x24c], eax
test eax, eax
je 0x101d5c6
cmp eax, 0x103
je 0x101d5ba
test eax, eax
jle 0x101d567
and eax, 0xffff
or eax, 0x80070000
push dword [ebp - 0x220]
lea ecx, [ebp - 0x214]
push ecx
push 0x1006894
push 0x1006848
push 0x1007050
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x25c], esp
push 0
push ebx
push 0x268
push edi
push esi
call fcn.01011ab4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01029013
add esp, 0x5c
jmp 0x101d689
mov byte [ebp - 0x215], 1
jmp 0x101d689
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
call fcn.0101c03b
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x244], eax
test eax, eax
jge 0x101d62f
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1006fe0
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x264], esp
push 0
push ebx
push 0x24d
push edi
push esi
call fcn.01011ab4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01013185
add esp, 0x50
jmp 0x101d689
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [0x1040204]
add ecx, 4
call fcn.0101cd4d
test eax, eax
jne 0x101d682
push 0x1006ce8
push 0x8007000e
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
push ebx
push 0x259
push edi
push esi
call fcn.01011ab4
mov byte [ebp - 4], 8
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01011cf6
add esp, 0x4c
and dword [ebp - 0x228], 0
inc dword [ebp - 0x220]
jmp 0x101d505
mov dword [ebp - 4], 2
xor eax, eax
cmp dword [ebp - 0x21c], eax
je 0x101d763
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x101d7a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1006f80
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x260], esp
push 0
push ebx
push 0x275
push edi
push esi
call fcn.01011ab4
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 2
call fcn.01011c4f
add esp, 0x4c
cmp dword [ebp - 0x244], 0
jge 0x101d7f4
call fcn.0101cf9b
push dword [ebp - 0x244]
push 0x1006f18
push dword [ebp - 0x244]
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0
push ebx
push 0x27c
push edi
push esi
call fcn.01011ab4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 2
call fcn.01011cf6
add esp, 0x50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.0101a8bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.01011bd1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01027c7a
pop edi
pop esi
pop ebx
leave
ret