Function at 0x101d326
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x10349f3
call fcn.01027f58
sub esp, 0x280
mov eax, dword [0x10400ac]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x10070b8
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x274], esp
push 0
mov ebx, 0x200
push ebx
push 0x20d
mov edi, 0x1006ab4
push edi
mov esi, 0x1006a30
push esi
call fcn.01011a74
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.01011ae8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.0101a851
mov byte [ebp - 4], 2
and dword [ebp - 0x21c], 0
mov byte [ebp - 4], 3
cmp dword [0x1040204], 0
jne 0x101d706
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 0x101d3d2
mov ecx, eax
call fcn.0101b10f
jmp 0x101d3d4
xor eax, eax
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 3
mov dword [0x1040204], eax
test eax, eax
jne 0x101d421
push 0x1006434
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.01011a74
mov byte [ebp - 4], 5
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01011cb6
add esp, 0x4c
push 0x100684c
push 0x1006800
push 0x10070a8
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 0x101d4b7
jle 0x101d476
and eax, 0xffff
or eax, 0x80070000
push 0x100684c
push 0x1006800
push 0x1007048
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.01011a74
mov byte [ebp - 4], 6
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01028fd3
add esp, 0x54
mov byte [ebp - 0x215], 0
and dword [ebp - 0x220], 0
cmp byte [ebp - 0x215], 0
jne 0x101d706
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 0x101d586
cmp eax, 0x103
je 0x101d57a
test eax, eax
jle 0x101d527
and eax, 0xffff
or eax, 0x80070000
push dword [ebp - 0x220]
lea ecx, [ebp - 0x214]
push ecx
push 0x100684c
push 0x1006800
push 0x1007000
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.01011a74
mov byte [ebp - 4], 9
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01028fd3
add esp, 0x5c
jmp 0x101d649
mov byte [ebp - 0x215], 1
jmp 0x101d649
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
call fcn.0101bffb
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x244], eax
test eax, eax
jge 0x101d5ef
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1006f90
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x264], esp
push 0
push ebx
push 0x24d
push edi
push esi
call fcn.01011a74
mov byte [ebp - 4], 7
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01013145
add esp, 0x50
jmp 0x101d649
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [0x1040204]
add ecx, 4
call fcn.0101cd0d
test eax, eax
jne 0x101d642
push 0x1006c98
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.01011a74
mov byte [ebp - 4], 8
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 3
call fcn.01011cb6
add esp, 0x4c
and dword [ebp - 0x228], 0
inc dword [ebp - 0x220]
jmp 0x101d4c5
mov dword [ebp - 4], 2
xor eax, eax
cmp dword [ebp - 0x21c], eax
je 0x101d723
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x101d764
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1006f30
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x260], esp
push 0
push ebx
push 0x275
push edi
push esi
call fcn.01011a74
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 2
call fcn.01011c0f
add esp, 0x4c
cmp dword [ebp - 0x244], 0
jge 0x101d7b4
call fcn.0101cf5b
push dword [ebp - 0x244]
push 0x1006ec8
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.01011a74
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 2
call fcn.01011cb6
add esp, 0x50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.0101a87d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.01011b91
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01027c3a
pop edi
pop esi
pop ebx
leave
ret