Function at 0x103d158
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x334
mov eax, 0x10cdac3
call fcn.010b53c2
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x22c], ebx
call fcn.0103c431
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x228], 0x1001fd0
mov dword [ebp - 0x224], ebx
cmp dword [edi + 0x18], 8
mov byte [ebp - 4], 2
jb 0x103d1b4
mov eax, dword [edi + 4]
jmp 0x103d1b7
lea eax, [edi + 4]
lea ecx, [ebp - 0x224]
push ecx
push 8
push ebx
push eax
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x220], eax
cmp eax, ebx
je 0x103d32f
cmp byte [ebp + 0x14], bl
je 0x103d312
push ebx
push 7
lea ecx, [ebp - 0x264]
call fcn.01033bfc
push 0x1004588
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call fcn.01033c5d
push dword [ebp - 0x220]
lea eax, [ebp - 0x2a4]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0x288]
push 0x1004570
push eax
mov byte [ebp - 4], 4
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 5
call fcn.01033bb7
push ebx
push esi
lea ecx, [ebp - 0x288]
call fcn.01032f16
push ebx
push esi
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 3
call fcn.01032f16
push dword [ebp - 0x218]
lea eax, [ebp - 0x288]
push eax
call fcn.0103c59a
push eax
lea eax, [ebp - 0x2a4]
push 0x1002314
push eax
mov byte [ebp - 4], 6
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 7
call fcn.01033bb7
push ebx
push esi
lea ecx, [ebp - 0x2a4]
call fcn.01032f16
push ebx
push esi
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call fcn.01032f16
push edi
lea eax, [ebp - 0x2a4]
push 0x1002304
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
call fcn.01033bb7
push ebx
push esi
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 3
call fcn.01032f16
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x280]
call fcn.010907af
push 0x10de07c
lea eax, [ebp - 0x280]
push eax
call fcn.010b4e4c
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x23c]
push eax
call fcn.0103ccea
mov dword [ebp - 0x22c], esi
jmp 0x103d52d
push ebx
push 7
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x230], 0xff
call fcn.01033bfc
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2b4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x21c]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x103d3fc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.010377ae
push 0x1002650
push eax
lea eax, [ebp - 0x2a4]
push eax
mov byte [ebp - 4], 0xa
call fcn.010377ae
add esp, 0x18
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0xb
call fcn.0103cb55
push ebx
push esi
lea ecx, [ebp - 0x2a4]
call fcn.01032f16
push ebx
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 9
call fcn.01032f16
inc dword [ebp - 0x21c]
mov dword [ebp - 0x230], 0xff
jmp 0x103d351
cmp eax, 0x103
je 0x103d50a
push 0x1004588
lea ecx, [ebp - 0x250]
call fcn.01033c5d
push dword [ebp - 0x220]
lea eax, [ebp - 0x340]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0x2d0]
push 0x1004558
push eax
mov byte [ebp - 4], 0xc
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xd
call fcn.01033bb7
push ebx
push esi
lea ecx, [ebp - 0x2d0]
call fcn.01032f16
push ebx
push esi
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 9
call fcn.01032f16
push dword [ebp - 0x218]
lea eax, [ebp - 0x2ec]
push eax
call fcn.0103c59a
push eax
lea eax, [ebp - 0x324]
push 0x1002314
push eax
mov byte [ebp - 4], 0xe
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xf
call fcn.01033bb7
push ebx
push esi
lea ecx, [ebp - 0x324]
call fcn.01032f16
push ebx
push esi
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 9
call fcn.01032f16
push edi
lea eax, [ebp - 0x308]
push 0x1002304
push eax
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x10
call fcn.01033bb7
push ebx
push esi
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 9
call fcn.01032f16
lea eax, [ebp - 0x250]
jmp 0x103d2f5
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x23c]
push eax
call fcn.0103ccea
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x22c], esi
call fcn.01038184
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 0x1001fd0
call fcn.0103431b
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.0103ccb6
mov eax, dword [ebp - 0x214]
call fcn.010b5454
ret 0x10