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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x608]
push ebx
sub esp, 0x668
mov dword [ebp - 0x608], 0
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.Filter
mov dword [esp], 0x80000000
mov dword [ebp - 0x614], eax
call eax
sub esp, 0x14
test eax, eax
je 0x10001c08
mov eax, dword [ebp - 0x608]
test eax, eax
je 0x10001bf9
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x604]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x608]
mov dword [esp + 0x28], 0
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryInfoKeyW]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [ebp - 0x630], eax
call eax
sub esp, 0x30
test eax, eax
jne 0x10001be3
mov edx, dword [ebp - 0x604]
test edx, edx
je 0x10001be3
mov dword [ebp - 0x60c], 0
lea eax, [ebp - 0x59c]
shr eax, 0x10
mov dword [ebp - 0x624], eax
lea esi, [esi]
lea eax, [ebp - 0x600]
mov dword [ebp - 0x600], 0x40
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x59c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x60c]
mov dword [ebp - 0x5fc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x608]
mov dword [ebp - 0x5f8], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
jne 0x10002120
test byte [0x1000a01c], 8
jne 0x10002140
lea eax, [ebp - 0x59c]
lea ebx, [ebp - 0x5ac]
mov dword [esp], eax
mov eax, dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [esp + 4], ebx
mov dword [ebp - 0x618], eax
call eax
sub esp, 8
test eax, eax
js 0x10002120
lea eax, [ebp - 0x59c]
lea esi, [ebp - 0x41c]
mov dword [esp + 8], str.CLSID_s
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x104
mov dword [esp], esi
call sym._swprintf
lea eax, [ebp - 0x5f8]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x614]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp], 0x80000000
call eax
sub esp, 0x14
test eax, eax
jne 0x10002120
mov eax, dword [ebp - 0x5f8]
lea edi, [ebp - 0x5f0]
lea esi, [ebp - 0x5f4]
mov dword [ebp - 0x5f0], 0
mov dword [esp + 0x14], edi
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [ebp - 0x61c], eax
call eax
sub esp, 0x18
test eax, eax
jne 0x10002338
mov eax, dword [ebp - 0x5f0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, eax
mov dword [ebp - 0x610], eax
mov eax, dword [ebp - 0x5f8]
test ecx, ecx
je 0x10002369
mov ecx, dword [ebp - 0x610]
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov eax, dword [ebp - 0x61c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
mov ecx, dword [ebp - 0x610]
lea eax, [ebp - 0x5fc]
lea edx, [ebp - 0x59c]
sub esp, 0x18
mov dword [esp + 4], eax
mov eax, 0x1000fbf0
mov dword [esp], ecx
mov ecx, ebx
call sym._register_codec
mov ecx, dword [ebp - 0x610]
mov ebx, eax
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x5f8]
test ebx, ebx
js 0x10002369
lea edx, [ebp - 0x5b8]
mov dword [esp], eax
mov eax, dword [ebp - 0x61c]
mov dword [esp + 0x10], edx
mov dword [ebp - 0x5b8], 0x600000
mov dword [ebp - 0x5f0], 4
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.Merit
call eax
lea eax, [ebp - 0x5ec]
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5bc], 2
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5f8]
mov dword [ebp - 0x5b4], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x614]
mov dword [ebp - 0x5b0], 0
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.Pins
call eax
sub esp, 0x14
test eax, eax
jne 0x10002004
lea eax, [ebp - 0x5e8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5ec]
mov dword [esp + 0x28], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x630]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
sub esp, 0x30
test eax, eax
jne 0x10002b00
mov eax, dword [ebp - 0x5e8]
test eax, eax
jne 0x100023c0
mov eax, dword [ebp - 0x5ec]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x620], 0
sub esp, 4
mov eax, dword [ebp - 0x620]
mov dword [ebp - 0x5b0], eax
mov eax, dword [ebp - 0x5fc]
lea edx, [ebp - 0x5bc]
call sym._write_filter_data
mov eax, dword [ebp - 0x5fc]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x5f8]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x5b0]
sub esp, 4
test ecx, ecx
je 0x10002120
mov eax, dword [ebp - 0x5b4]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
je 0x10002110
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
xor ebx, ebx
xor edi, edi
jmp 0x10002082
add edi, 1
add ebx, 0x1c
cmp edi, dword [ebp - 0x5b4]
jae 0x10002110
lea eax, [ecx + ebx]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x10002070
mov eax, dword [eax + 8]
test eax, eax
je 0x100020f0
xor eax, eax
mov dword [ebp - 0x618], edi
mov edi, eax
jmp 0x100020a3
mov edx, dword [edx + 0xc]
mov edx, dword [edx + edi*8]
lea ecx, [edi*8]
add edi, 1
mov dword [ebp - 0x610], ecx
mov dword [esp], edx
call esi
mov edx, dword [ebp - 0x5b0]
mov ecx, dword [ebp - 0x610]
sub esp, 4
mov edx, dword [edx + ebx + 0xc]
mov edx, dword [edx + ecx + 4]
mov dword [esp], edx
call esi
mov edx, dword [ebp - 0x5b0]
sub esp, 4
add edx, ebx
cmp edi, dword [edx + 8]
jb 0x100020a0
mov edi, dword [ebp - 0x618]
mov edx, dword [edx + 0xc]
mov dword [esp], edx
add edi, 1
add ebx, 0x1c
call esi
mov ecx, dword [ebp - 0x5b0]
sub esp, 4
cmp edi, dword [ebp - 0x5b4]
jb 0x10002082
mov dword [esp], ecx
call esi
sub esp, 4
nop
lea esi, [esi]
add dword [ebp - 0x60c], 1
mov eax, dword [ebp - 0x60c]
cmp dword [ebp - 0x604], eax
ja 0x10001cb0
jmp 0x10001be3
mov eax, dword [ebp - 0x624]
test eax, eax
je 0x10002380
lea eax, [ebp - 0x59c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1000c0f8
sub esp, 8
test eax, eax
jne 0x10002266
cmp word [ebp - 0x59c], 0
je 0x10002ad8
nop
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebp + edx*2 - 0x59a], 0
jne 0x10002188
mov ecx, 0x224c
lea ebx, [ebp - 0x59c]
lea esi, [ebp - 0xf2]
mov word [ebp - 0x214], cx
lea ecx, [ebp - 0x212]
mov dword [ebp - 0x610], ebx
jmp 0x100021ed
cmp ax, 9
je 0x100022b0
cmp ax, 0xa
jne 0x100022ce
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x10002238
cmp ecx, esi
ja 0x10002238
mov edx, eax
add dword [ebp - 0x610], 2
mov eax, dword [ebp - 0x610]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x10002298
jbe 0x100021c0
cmp ax, 0x22
je 0x10002320
cmp ax, 0x5c
jne 0x100022c1
mov edi, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], di
test edx, edx
jg 0x100021e7
lea esi, [esi]
mov byte [ecx], 0x22
test eax, eax
jle 0x10002af1
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Registering__s_n
mov dword [esp + 8], 0x1000c360
mov dword [esp + 4], 0x1000a01c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x10001d33
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100021e0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100021e0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x100023b0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefregister_legacy_filters]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefregister_legacy_filters]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefregister_legacy_filters]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefregister_legacy_filters]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100021e0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100021e0
lea eax, [ebp - 0x5fc]
mov ecx, ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x59c]
mov dword [esp], eax
mov edx, eax
mov eax, 0x1000fbf0
call sym._register_codec
mov ebx, eax
mov eax, dword [ebp - 0x5f8]
test ebx, ebx
jns 0x10001eae
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x10002120
lea eax, [ebp - 0x59c]
mov dword [esp], 0x1000c110
mov dword [ebp - 0x610], eax
movzx eax, word [ebp - 0x610]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov edx, eax
jmp 0x10002266
mov byte [ecx], al
add ecx, 1
jmp 0x100021e0
imul eax, eax, 0x1c
mov dword [esp], eax
mov eax, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [ebp - 0x634], eax
call eax
sub esp, 4
test eax, eax
mov dword [ebp - 0x620], eax
mov eax, dword [ebp - 0x5ec]
je 0x10002bbb
mov dword [ebp - 0x610], eax
mov eax, dword [ebp - 0x5e8]
test eax, eax
je 0x10002b84
lea eax, [ebp - 0x214]
xor edi, edi
mov dword [ebp - 0x62c], eax
lea esi, [esi]
imul edx, dword [ebp - 0x5b4], 0x1c
add edx, dword [ebp - 0x620]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x5e4], 0
lea ebx, [edx + 4]
mov ecx, edx
mov dword [ebp - 0x5e0], 0x104
and ebx, 0xfffffffc
sub ecx, ebx
mov dword [edx], 0
mov dword [edx + 0x18], 0
add ecx, 0x1c
and ecx, 0xfffffffc
mov dword [ebx + eax], esi
add eax, 4
cmp eax, ecx
jb 0x10002452
lea eax, [ebp - 0x5e0]
mov esi, dword [ebp - 0x62c]
mov dword [ebp - 0x628], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x610]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
jne 0x10002a82
lea eax, [ebp - 0x5e4]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5ec]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x614]
mov dword [esp + 4], esi
call eax
sub esp, 0x14
test eax, eax
jne 0x10002a82
lea eax, [ebp - 0x5d4]
lea esi, [ebp - 0x5d8]
mov dword [ebp - 0x5d8], 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5e4]
lea ebx, [ebp - 0x5dc]
mov dword [esp + 0x14], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x61c]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.AllowedMany
call eax
sub esp, 0x18
test eax, eax
jne 0x10002a70
cmp dword [ebp - 0x5d4], 4
jne 0x10002a70
mov eax, dword [ebp - 0x5dc]
mov edx, dword [ebp - 0x628]
test eax, eax
je 0x10002562
or dword [edx], 4
lea eax, [ebp - 0x5d4]
mov dword [ebp - 0x610], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5e4]
mov dword [ebp - 0x5d8], 4
mov dword [esp], eax
mov eax, dword [ebp - 0x61c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.AllowedZero
call eax
sub esp, 0x18
test eax, eax
jne 0x10002a70
cmp dword [ebp - 0x5d4], 4
jne 0x10002a70
mov eax, dword [ebp - 0x5dc]
mov edx, dword [ebp - 0x610]
test eax, eax
je 0x100025d0
or dword [edx], 1
lea eax, [ebp - 0x5d4]
mov dword [ebp - 0x610], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5e4]
mov dword [ebp - 0x5d8], 4
mov dword [esp], eax
mov eax, dword [ebp - 0x61c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.Direction
call eax
sub esp, 0x18
test eax, eax
jne 0x10002a70
cmp dword [ebp - 0x5d4], 4
jne 0x10002a70
mov eax, dword [ebp - 0x5dc]
mov edx, dword [ebp - 0x610]
test eax, eax
je 0x1000263e
or dword [edx], 8
lea eax, [ebp - 0x5d4]
mov dword [ebp - 0x610], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5e4]
mov dword [ebp - 0x5d8], 4
mov dword [esp], eax
mov eax, dword [ebp - 0x61c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.IsRendered
call eax
sub esp, 0x18
test eax, eax
jne 0x10002a70
cmp dword [ebp - 0x5d4], 4
mov edx, dword [ebp - 0x610]
jne 0x10002a70
mov eax, dword [ebp - 0x5dc]
test eax, eax
je 0x100026ac
or dword [edx], 2
lea eax, [ebp - 0x5d0]
mov dword [ebp - 0x610], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5e4]
mov dword [ebp - 0x5d0], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x614]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.Types
call eax
sub esp, 0x14
test eax, eax
jne 0x10002b78
lea eax, [ebp - 0x5cc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5d0]
mov dword [esp + 0x28], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x630]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
sub esp, 0x30
test eax, eax
mov eax, dword [ebp - 0x5d0]
jne 0x10002baf
mov esi, dword [ebp - 0x5cc]
mov edx, dword [ebp - 0x610]
test esi, esi
je 0x10002bca
mov dword [ebp - 0x63c], 0
xor esi, esi
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x640], edi
mov edi, esi
mov esi, edx
lea ebx, [ebp - 0x5c4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x51c]
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x610]
mov dword [ebp - 0x5c8], 0
mov dword [ebp - 0x5c4], 0x40
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
jne 0x10002b29
lea eax, [ebp - 0x5c8]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x51c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5d0]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x614]
call eax
sub esp, 0x14
test eax, eax
jne 0x10002b29
lea eax, [ebp - 0x5c0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5c8]
mov dword [esp + 0x28], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x630]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
sub esp, 0x30
test eax, eax
jne 0x10002b17
mov ecx, dword [ebp - 0x5c0]
xor ebx, ebx
test ecx, ecx
jne 0x10002983
jmp 0x10002b17
mov ecx, dword [ebp - 0x638]
mov eax, dword [ebp - 0x618]
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x51c]
mov dword [esp], ecx
call eax
sub esp, 8
test eax, eax
js 0x10002a3d
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x63c]
cmp ecx, eax
jne 0x1000295a
mov edx, eax
mov ecx, 1
mov dword [esp], edi
shr edx, 1
cmp eax, 1
cmovbe edx, ecx
add edx, eax
lea eax, [edx*8]
mov dword [ebp - 0x644], edx
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CoTaskMemRealloc]
sub esp, 8
test eax, eax
je 0x10002a3d
mov edx, dword [ebp - 0x644]
mov ecx, dword [esi + 8]
mov edi, eax
mov dword [ebp - 0x63c], edx
mov eax, dword [ebp - 0x638]
mov dword [edi + ecx*8], eax
mov ecx, dword [ebp - 0x628]
mov eax, dword [esi + 8]
mov dword [edi + eax*8 + 4], ecx
add dword [esi + 8], 1
add ebx, 1
cmp ebx, dword [ebp - 0x5c0]
jae 0x10002b17
lea eax, [ebp - 0x5c4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x49c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x5c4], 0x40
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
jne 0x10002974
mov dword [esp], 0x10
mov eax, dword [ebp - 0x634]
call eax
mov dword [ebp - 0x628], eax
sub esp, 4
test eax, eax
je 0x10002974
mov dword [esp], 0x10
mov ecx, dword [ebp - 0x634]
call ecx
mov dword [ebp - 0x638], eax
sub esp, 4
test eax, eax
je 0x10002a3d
mov eax, dword [ebp - 0x628]
mov dword [esp + 4], eax
lea eax, [ebp - 0x49c]
mov dword [esp], eax
mov eax, dword [ebp - 0x618]
call eax
sub esp, 8
test eax, eax
jns 0x100028e0
mov eax, dword [ebp - 0x638]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x628]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x10002974
mov eax, dword [ebp - 0x5e4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x5ec]
add edi, 1
mov dword [ebp - 0x610], eax
cmp edi, dword [ebp - 0x5e8]
jb 0x10002410
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x5b4]
test eax, eax
jne 0x10001ff8
mov eax, dword [ebp - 0x620]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x620], 0
sub esp, 4
jmp 0x10001ff8
mov eax, 0x224c
mov byte [ebp - 0x212], 0x22
lea ecx, [ebp - 0x212]
mov word [ebp - 0x214], ax
lea eax, [ecx + 1]
jmp 0x10002253
mov eax, dword [ebp - 0x5ec]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x10002004
mov eax, dword [ebp - 0x5c8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
add dword [ebp - 0x610], 1
mov eax, dword [ebp - 0x5d0]
mov ebx, dword [ebp - 0x610]
cmp ebx, dword [ebp - 0x5cc]
jb 0x100027aa
mov edx, esi
mov dword [esp], eax
mov esi, edi
mov edi, dword [ebp - 0x640]
mov dword [ebp - 0x610], edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [ebp - 0x610]
sub esp, 4
test esi, esi
je 0x10002b75
mov eax, dword [edx + 8]
test eax, eax
je 0x10002b9b
mov dword [edx + 0xc], esi
add dword [ebp - 0x5b4], 1
jmp 0x10002a82
mov eax, dword [ebp - 0x610]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x10002aa9
mov dword [esp], esi
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 0x610]
push eax
jmp 0x10002b75
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push ebx
jmp 0x10002b78
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push edx
jmp 0x10002004
mov dword [ebp - 0x610], edx
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push edx
mov edx, dword [ebp - 0x610]
jmp 0x10002b75