Function at 0x1047bde
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x2cc
mov eax, 0x1060847
call fcn.0104f35b
xor esi, esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], 0x1003ab8
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
lea ecx, [ebp - 0x2d8]
call fcn.01034b12
push esi
push 0xf01ff
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.01033e67
push esi
push 3
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x260]
call fcn.01046d2d
push esi
push esi
push 0x1004190
lea ecx, [ebp - 0x260]
call fcn.01034f9e
push esi
push esi
push 0x1004168
lea ecx, [ebp - 0x260]
call fcn.01034f9e
lea eax, [ebp - 0x228]
push eax
push 9
push esi
mov edi, 0x1013140
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x1047d14
jg 0x1047cf0
mov dword [ebp - 0x21c], eax
jmp 0x1047d04
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x21c], ecx
push edi
push 0x10130c0
push 0x10130a0
jmp 0x104822f
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x228]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x234], 0x104
call edi
mov ebx, 0x103
jmp 0x1047db9
cmp eax, esi
jne 0x1048202
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x26c]
call fcn.01031665
push dword [eax]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.01035040
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.010303ce
inc dword [ebp - 0x224]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
mov dword [ebp - 0x234], 0x104
push dword [ebp - 0x228]
call edi
cmp eax, ebx
jne 0x1047d4c
mov dword [ebp - 0x224], esi
cmp dword [ebp - 0x248], esi
jbe 0x1048238
mov ebx, 0x4000000
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x23c], esi
cmp dword [ebp - 0x220], esi
je 0x1047dfa
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], esi
push dword [ebp - 0x224]
lea ecx, [ebp - 0x24c]
call fcn.010411fe
mov eax, dword [eax]
lea ecx, [ebp - 0x220]
push ecx
push 0x20019
push esi
push eax
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
je 0x1047e74
jg 0x1047e37
mov dword [ebp - 0x21c], edi
jmp 0x1047e49
mov eax, edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
push dword [ebp - 0x224]
lea ecx, [ebp - 0x24c]
call fcn.010411fe
push dword [eax]
push 0x10112d8
push 0x1013084
push edi
call fcn.0104a6e8
add esp, 0x10
jmp 0x10481ac
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1013070
push dword [ebp - 0x220]
mov dword [ebp - 0x230], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 2
pop edi
cmp eax, edi
je 0x10481ac
cmp eax, esi
je 0x1047ee4
jg 0x1047ebe
mov dword [ebp - 0x21c], eax
jmp 0x1047ed2
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x21c], ecx
push 0x1013070
push 0x1013028
push 0x101300c
push eax
jmp 0x1047e67
push 4
pop eax
cmp dword [ebp - 0x22c], eax
je 0x1047f09
push 0x1013070
push 0x1002678
push 0x1012fe8
push ebx
call fcn.0104a7da
jmp 0x1047e6c
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1012fd0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x10481ac
cmp eax, esi
je 0x1047f74
jg 0x1047f4c
mov dword [ebp - 0x21c], eax
jmp 0x1047f60
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x21c], ecx
push 0x1012fd0
push 0x1013028
push 0x1012fb4
jmp 0x1047ee1
push 4
pop eax
cmp dword [ebp - 0x22c], eax
je 0x1047f89
push 0x1012fd0
jmp 0x1047ef4
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1012fa0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x1048003
cmp eax, esi
je 0x1047ff0
jg 0x1047fc8
mov dword [ebp - 0x21c], eax
jmp 0x1047fdc
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x21c], ecx
push 0x1012fa0
push 0x1013028
push 0x1012f84
jmp 0x1047ee1
cmp dword [ebp - 0x22c], 4
je 0x1048003
push 0x1012fa0
jmp 0x1047ef4
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1012f5c
push dword [ebp - 0x220]
mov dword [ebp - 0x230], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x1048081
cmp eax, esi
je 0x104806e
jg 0x1048046
mov dword [ebp - 0x21c], eax
jmp 0x104805a
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x21c], ecx
push 0x1012f5c
push 0x1013028
push 0x1012f40
jmp 0x1047ee1
cmp dword [ebp - 0x22c], 4
je 0x1048081
push 0x1012f5c
jmp 0x1047ef4
cmp dword [ebp - 0x220], esi
je 0x104809b
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], esi
cmp dword [ebp - 0x250], 3
jne 0x10481ac
cmp dword [ebp - 0x268], 0xb
jne 0x10481ac
cmp dword [ebp - 0x238], 1
je 0x10481ac
cmp dword [ebp - 0x23c], 1
je 0x10481ac
lea ecx, [ebp - 0x29c]
call fcn.0103bccc
push dword [ebp - 0x224]
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.010411fe
push eax
mov edi, 0x80
push edi
lea ecx, [ebp - 0x29c]
call fcn.0103bacb
cmp eax, esi
mov dword [ebp - 0x21c], eax
jl 0x10481c6
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0103b371
cmp eax, esi
mov dword [ebp - 0x21c], eax
jl 0x10481ea
cmp dword [ebp - 0x264], edi
jne 0x104819d
push dword [ebp - 0x224]
lea ecx, [ebp - 0x24c]
call fcn.010411fe
mov eax, dword [eax]
push 4
push 1
push 0x1012fa0
push eax
push dword [ebp - 0x228]
call fcn.010449fb
cmp eax, esi
mov dword [ebp - 0x21c], eax
jl 0x10481f6
push dword [ebp - 0x224]
lea ecx, [ebp - 0x24c]
call fcn.010411fe
push dword [eax]
push 0x1002678
push 0x1012f1c
push ebx
call fcn.0104a7da
add esp, 0x10
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
call fcn.0103bd71
inc dword [ebp - 0x224]
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x248]
jb 0x1047dd4
jmp 0x1048238
push 0x100c910
push 0x1012f00
push eax
call fcn.0104a504
add esp, 0xc
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
call fcn.0103bd71
jmp 0x1048238
push 0x1012ec4
push 0x1012ea8
jmp 0x10481d0
push 0x1012e60
push 0x1012e40
jmp 0x10481d0
jg 0x104820c
mov dword [ebp - 0x21c], eax
jmp 0x1048220
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x21c], ecx
push 0x1013140
push 0x1012db8
push 0x1012d9c
push eax
call fcn.0104a6e8
add esp, 0x10
push esi
lea eax, [ebp - 0x2d8]
push eax
push 0x1004190
lea ecx, [ebp - 0x260]
call fcn.01034fef
push esi
lea eax, [ebp - 0x2d8]
push eax
push 0x1004168
lea ecx, [ebp - 0x260]
call fcn.01034fef
cmp dword [ebp - 0x220], esi
je 0x1048282
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x220], esi
cmp dword [ebp - 0x228], esi
je 0x104829c
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x228], esi
lea ecx, [ebp - 0x2d8]
call fcn.01034b58
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], 0x1003ab8
call fcn.01033eab
lea ecx, [ebp - 0x24c]
call fcn.01031411
call fcn.0104f3ed
ret