Function at 0x628d25
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x50
mov eax, 0x6fd0e8
call fcn.00648b1c
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], ebx
mov esi, dword [edi + 0x24]
call fcn.0058e340
neg eax
lea ecx, [ebp - 0x5c]
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0051e4ac
test eax, eax
jne 0x629145
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x44], bl
call fcn.00516ad6
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
call fcn.00515e26
push eax
lea ecx, [ebp - 0x1c]
call fcn.00515c3a
mov byte [ebp - 4], 2
xor ecx, ecx
mov esi, dword [ebp - 0x1c]
inc ecx
mov edx, 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x628dc0
push edx
lea ecx, [ebp - 0x1c]
call fcn.0051599a
mov esi, dword [ebp - 0x1c]
mov edx, 0x104
push edx
lea ecx, [ebp - 0x1c]
call fcn.00515aea
call fcn.00515e26
push eax
lea ecx, [ebp - 0x38]
call fcn.00515c3a
mov byte [ebp - 4], 3
call fcn.00515e26
push eax
lea ecx, [ebp - 0x34]
call fcn.00515c3a
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x628e54
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], 0x104
call fcn.005c8ad3
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.006281a6
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.005e1b39
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.005484cb
jmp 0x628df4
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.0051d5f9
call fcn.00515e26
push eax
lea ecx, [ebp - 0x18]
call fcn.00515c3a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.006271be
test al, al
je 0x628f28
lea ecx, [ebp - 0x28]
call fcn.005c8ad3
mov ecx, str._wsecedit.dll__67
mov byte [ebp - 4], 7
call fcn.0051545a
push eax
push str._wsecedit.dll__67
lea ecx, [ebp - 0x28]
call fcn.00515b15
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [edi + 0x18]
call fcn.006299fb
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.005154cf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.005e1b39
lea edx, [ebp - 0x11]
lea ecx, [ebp - 0x18]
call fcn.0062721e
test al, al
je 0x628f1c
mov ecx, str._wsecedit.dll__433
call fcn.0051545a
push eax
push str._wsecedit.dll__433
lea ecx, [ebp - 0x28]
call fcn.00515b15
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x18]
call fcn.006299fb
cmp byte [ebp - 0x11], 0
lea ecx, [ebp - 0x24]
lea eax, [edi + 8]
jne 0x628f0a
lea eax, [edi + 0xc]
push eax
call fcn.005154cf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.005e1b39
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005484cb
lea ecx, [ebp - 0x18]
call fcn.0062715e
test al, al
je 0x628fe0
lea ecx, [ebp - 0x28]
call fcn.005c8ad3
mov ecx, str._wsecedit.dll__65
mov byte [ebp - 4], 8
call fcn.0051545a
push eax
push str._wsecedit.dll__65
lea ecx, [ebp - 0x28]
call fcn.00515b15
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [edi + 0x18]
call fcn.006299fb
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.005154cf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.005e1b39
lea edx, [ebp - 0x11]
lea ecx, [ebp - 0x18]
call fcn.0062721e
test al, al
je 0x628fd4
mov ecx, str._wsecedit.dll__432
call fcn.0051545a
push eax
push str._wsecedit.dll__432
lea ecx, [ebp - 0x28]
call fcn.00515b15
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x18]
call fcn.006299fb
cmp byte [ebp - 0x11], 0
lea ecx, [ebp - 0x24]
lea eax, [edi + 8]
jne 0x628fc2
lea eax, [edi + 0xc]
push eax
call fcn.005154cf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.005e1b39
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005484cb
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
call dword [sym.imp.NETAPI32.dll_NetUserModalsGet]
test eax, eax
je 0x628ffc
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 8]
jmp 0x62906c
mov eax, dword [ebp - 0x24]
push eax
mov edi, dword [eax + 0xc]
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test edi, edi
lea ecx, [ebp - 0x28]
sete bl
call fcn.005c8ad3
mov edi, str._wsecedit.dll__63
mov byte [ebp - 4], 9
mov ecx, edi
call fcn.0051545a
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00515b15
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x18]
call fcn.006299fb
lea ecx, [ebp - 0x24]
lea eax, [edi + 8]
test bl, bl
jne 0x62904c
lea eax, [edi + 0xc]
push eax
call fcn.005154cf
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.005e1b39
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005484cb
lea ecx, [ebp + 0xb]
call fcn.00627492
test al, al
je 0x6290d4
lea ecx, [ebp - 0x30]
call fcn.005c8ad3
mov ecx, str._wsecedit.dll__57458
mov byte [ebp - 4], 0xa
call fcn.0051545a
push eax
push str._wsecedit.dll__57458
lea ecx, [ebp - 0x30]
call fcn.00515b15
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x18]
call fcn.006299fb
cmp byte [ebp + 0xb], 0
lea ecx, [ebp - 0x2c]
lea eax, [edi + 8]
jne 0x6290b7
lea eax, [edi + 0xc]
push eax
call fcn.005154cf
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.005e1b39
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.005484cb
push 0x741504
push 1
call fcn.0067f9ad
mov edx, dword [ebx + 4]
lea eax, [ebp + 8]
mov ecx, dword [ebx]
push eax
mov eax, edx
mov dword [ebp + 8], 0x628c6a
sub eax, dword [ebx]
sar eax, 3
push eax
call fcn.006292fd
add esp, 0x10
lea ecx, [edi + 0x18]
call fcn.00629b92
mov ecx, dword [ebp - 0x18]
mov bl, 1
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
lea ecx, [esi - 0x10]
call fcn.00515ed6
mov byte [ebp - 4], 0xb
cmp byte [ebp - 0x44], 0
je 0x629145
mov ecx, dword [ebp - 0x48]
call fcn.0051795c
lea ecx, [ebp - 0x5c]
call fcn.0051e50a
mov al, bl
call fcn.00648ae5
ret 4