Function at 0x10062620
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
or eax, 0x2001f
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push eax
push edx
mov dword [ebp - 0x858], ecx
push ecx
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x854], edx
mov dword [ebp - 0x860], ebx
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xffffffff
mov dword [ebp + 0x14], eax
call fcn.10058810
test eax, eax
jne 0x10062da6
push esi
push ebx
lea ecx, [ebp - 0x834]
call fcn.100588d0
xor esi, esi
mov dword [ebp - 0x80c], esi
push edi
mov ecx, dword [ebp - 0x82c]
mov ebx, dword [ebp - 0x834]
mov dword [ebp - 0x810], 0x400
cmp ecx, 0xffffffff
je 0x100626f4
cmp esi, ecx
jb 0x100626f4
test ebx, ebx
je 0x100626f4
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x804]
push eax
mov eax, esi
sub eax, ecx
push eax
push ebx
call fcn.10023d70
mov edi, eax
jmp 0x10062842
cmp dword [ebp - 0x830], 0
mov edi, 0x103
mov dword [ebp - 0x82c], 0xffffffff
je 0x100627ad
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10062726
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3d
call fcn.10003680
add esp, 4
test eax, eax
je 0x10062760
lea ecx, [ebp - 0x850]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp - 0x80c]
push ecx
push dword [ebp - 0x830]
call eax
jmp 0x1006278e
mov ecx, dword [ebp - 0x80c]
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x804]
push eax
push ecx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x1006279b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x103
jne 0x1006283c
mov esi, dword [ebp - 0x80c]
test ebx, ebx
je 0x1006283c
mov dword [ebp - 0x82c], esi
mov dword [ebp - 0x810], 0x400
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x100627db
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3d
call fcn.10003680
add esp, 4
test eax, eax
je 0x1006280b
lea ecx, [ebp - 0x850]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x804]
push ecx
push 0
push ebx
call eax
jmp 0x1006282f
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x804]
push eax
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x1006283c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x80c]
test edi, edi
jne 0x10062da4
cmp esi, 0x3e8
jge 0x10062da4
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
lea esi, [eax + 0x10]
lea eax, [ebp - 0x804]
mov dword [ebp - 0x814], esi
test eax, 0xffff0000
jne 0x1006297b
push edi
mov ecx, 0x1025bea0
call fcn.101beff4
mov edi, eax
mov ebx, 1
test edi, edi
je 0x100629ac
lea ecx, [ebp - 0x804]
movzx eax, cx
shr eax, 4
inc eax
mov dword [ebp - 0x81c], eax
lea esp, [esp]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x100628d8
lea edx, [ebp - 0x804]
movzx ecx, dx
push ecx
push eax
push edi
call fcn.10003980
add esp, 0xc
test eax, eax
jne 0x100628f6
push ebx
mov ecx, 0x1025bea0
call fcn.101beff4
mov edi, eax
inc ebx
test edi, edi
je 0x100629ac
mov eax, dword [ebp - 0x81c]
jmp 0x100628b0
test edi, edi
je 0x100629ac
push 6
push dword [ebp - 0x81c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, eax
test ecx, ecx
je 0x100629ac
lea edx, [ebp - 0x804]
movzx eax, dx
push eax
push ecx
push edi
call fcn.10003980
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100629ac
movzx ecx, word [ebx]
mov eax, dword [esi - 8]
mov edi, ecx
mov edx, ecx
sub eax, edi
mov ecx, 1
sub ecx, dword [esi - 4]
or ecx, eax
jge 0x1006295e
push edi
lea ecx, [ebp - 0x814]
call fcn.10003310
movzx edx, word [ebx]
mov esi, dword [ebp - 0x814]
movzx ecx, dx
lea eax, [ebx + 2]
push ecx
push eax
push edi
push esi
call fcn.101eb860
add esp, 0x10
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100629ac
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10062984
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x814]
call fcn.10003740
mov esi, dword [ebp - 0x814]
push dword [ebp - 0x854]
lea ecx, [ebp - 0x818]
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 0xffffffff
call fcn.10002490
push dword [esi - 0xc]
lea ecx, [ebp - 0x818]
push esi
call fcn.10002970
lea ecx, [ebp - 0x844]
call fcn.10008220
mov eax, dword [ebp - 0x858]
cmp eax, 0x80000000
jne 0x10062b72
push str.SOFTWAREClasses
lea ecx, [ebp - 0x820]
call fcn.10002490
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x10062afc
cmp word [eax], 0x5c
je 0x10062ad5
mov edi, dword [ebp - 0x820]
mov ebx, 0x10202944
push 1
sub ebx, edi
mov dword [ebp - 0x848], 0x10202944
push 0x10202944
mov eax, dword [edi - 0xc]
sar ebx, 1
mov dword [ebp - 0x81c], eax
call fcn.101e6fd0
mov ecx, dword [edi - 8]
mov edx, 1
sub edx, dword [edi - 4]
add esp, 8
mov dword [ebp - 0x85c], eax
add eax, dword [ebp - 0x81c]
sub ecx, eax
or edx, ecx
jge 0x10062a8e
push eax
lea ecx, [ebp - 0x820]
call fcn.10003310
mov edi, dword [ebp - 0x820]
mov ecx, dword [ebp - 0x81c]
cmp ebx, ecx
ja 0x10062aa1
lea eax, [edi + ebx*2]
mov dword [ebp - 0x848], eax
mov ebx, dword [ebp - 0x85c]
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x848]
push eax
lea eax, [edi + ecx*2]
push eax
call fcn.10004510
mov eax, dword [ebp - 0x81c]
add esp, 0x10
add eax, ebx
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
mov eax, dword [ebp - 0x818]
mov edx, eax
lea edi, [edx + 2]
lea ebx, [ebx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10062ae0
sub edx, edi
lea ecx, [ebp - 0x820]
sar edx, 1
push edx
push eax
call fcn.10002970
push dword [ebp + 0x14]
mov edi, dword [ebp - 0x820]
lea eax, [ebp - 0x844]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov ecx, eax
call fcn.1000a260
push dword [ebp + 0x14]
mov ebx, eax
lea ecx, [ebp - 0x844]
push edi
push SysReAllocString
lea eax, [ebp - 0x840]
push eax
call fcn.1000a260
test ebx, ebx
je 0x10062b58
test eax, eax
je 0x10062b58
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10062b8c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10062b8c
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10062b94
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10062b94
push dword [ebp + 0x14]
push dword [ebp - 0x818]
push eax
lea eax, [ebp - 0x844]
push eax
mov ecx, eax
call fcn.1000a260
mov ebx, eax
test ebx, ebx
jne 0x10062d52
push 0x10202940
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.10060900
mov edi, dword [ebp - 0x824]
mov ecx, 1
add esp, 0xc
mov eax, dword [edi - 8]
mov ebx, dword [edi - 0xc]
sub eax, ebx
sub ecx, dword [edi - 4]
or ecx, eax
jge 0x10062bdb
push ebx
lea ecx, [ebp - 0x824]
call fcn.10003310
mov edi, dword [ebp - 0x824]
lea eax, [ebx + 1]
push eax
push edi
call fcn.101e7180
add esp, 8
mov dword [edi - 0xc], ebx
xor eax, eax
lea ecx, [ebp - 0x808]
mov word [edi + ebx*2], ax
push dword [ebp - 0x860]
call fcn.10002490
mov eax, dword [ebp - 0x808]
mov edx, 1
mov ecx, dword [eax - 8]
mov ebx, dword [eax - 0xc]
sub ecx, ebx
sub edx, dword [eax - 4]
or edx, ecx
jge 0x10062c2e
push ebx
lea ecx, [ebp - 0x808]
call fcn.10003310
mov eax, dword [ebp - 0x808]
lea ecx, [ebx + 1]
push ecx
push eax
call fcn.101e7180
mov eax, dword [ebp - 0x808]
xor ecx, ecx
add esp, 8
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], cx
mov ecx, 1
mov eax, dword [esi - 8]
mov ebx, dword [esi - 0xc]
sub eax, ebx
sub ecx, dword [esi - 4]
or ecx, eax
jge 0x10062c70
push ebx
lea ecx, [ebp - 0x814]
call fcn.10003310
mov esi, dword [ebp - 0x814]
lea eax, [ebx + 1]
push eax
push esi
call fcn.101e7180
xor eax, eax
mov dword [esi - 0xc], ebx
add esp, 8
mov word [esi + ebx*2], ax
cmp dword [edi - 0xc], eax
jl 0x10062ca7
push dword [ebp - 0x808]
push edi
call sub.msvcrt.dll_wcsstr
add esp, 8
test eax, eax
je 0x10062ca7
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x10062cc9
cmp dword [esi - 0xc], 0
jl 0x10062d1c
push dword [ebp - 0x808]
push esi
call sub.msvcrt.dll_wcsstr
add esp, 8
test eax, eax
je 0x10062d1c
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x10062d1c
lea ecx, [ebp - 0x844]
call fcn.10008220
push esi
lea ecx, [ebp - 0x834]
call fcn.100588d0
test eax, eax
jne 0x10062d1c
mov edx, dword [ebp - 0x808]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10062d02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10062d58
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10062d58
mov edx, dword [ebp - 0x808]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10062d3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10062d52
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [ebp - 0x80c]
mov edx, dword [ebp - 0x818]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10062d76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x844]
call fcn.10008220
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10062d99
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x80c]
jmp 0x100626a4
pop edi
pop esi
lea ecx, [ebp - 0x834]
call fcn.10008220
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret