Function at 0x6dc2e833
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
xor esi, esi
push 0x3c
lea eax, [ebp - 0x60]
push esi
push eax
mov dword [ebp - 0x64], esi
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18c], eax
add esp, 0xc
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x138], ecx
push 4
pop ebx
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x11c], ecx
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x4c]
xor edi, edi
inc edi
push 2
mov dword [ebp - 0x154], eax
pop eax
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1b4], 0x6dc2f0b4
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a4], esi
mov byte [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x198], 0x6dc2f098
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x188], esi
mov byte [ebp - 0x184], 0
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x17c], 0x6dc2f08c
mov dword [ebp - 0x178], 7
mov dword [ebp - 0x174], esi
mov byte [ebp - 0x168], 0
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x160], 0x6dc2f058
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x150], esi
mov byte [ebp - 0x14c], 0
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], 0x6dc2f024
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x134], esi
mov byte [ebp - 0x130], 0
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0x6dc2effc
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], esi
mov byte [ebp - 0x114], 1
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], 0x6dc2efc4
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], esi
mov byte [ebp - 0xf8], 0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 0x6dc2ef94
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe8], esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xc], esi
mov byte [ebp - 0xdc], 0
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], 0x6dc2ef54
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xc0], 0
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], 0x6dc2ef10
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], 0x6dc2eee0
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], 0x6dc2eeb4
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x68], ebx
lea esi, [ebp - 0x1ac]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
test eax, eax
je 0x6dc2eb56
mov eax, dword [esi - 4]
cmp dword [ebp - 0x20], eax
jne 0x6dc2eb3a
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi]
jbe 0x6dc2eb3a
push eax
call fcn.6dc03247
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6dc2eb6d
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [esi - 8]
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x6dc2eb3a
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x6dc2eb56
cmp byte [esi + 0xc], 1
je 0x6dc2eb52
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x6dc2eb76
test dword [ebp - 0x2c], eax
jne 0x6dc2eb76
and dword [ebp - 4], 0
inc dword [ebp - 0xc]
add esi, 0x1c
cmp dword [ebp - 0xc], 0xc
jb 0x6dc2eac3
mov esi, 0x6dc3a848
jmp 0x6dc2ebb9
mov dword [ebp - 4], 8
jmp 0x6dc2eb66
mov eax, dword [0x6dc3a848]
mov esi, 0x6dc3a848
cmp eax, esi
je 0x6dc2ebbe
test dword [eax + 0x1c], 0x400
je 0x6dc2ebbe
mov edx, dword [ebp - 0x64]
test edx, edx
jne 0x6dc2eb99
mov edx, 0x6dc22384
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x1c
push dword [ebp + ecx - 0x1b4]
push edx
push 0x6dc224ec
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc29d2f
mov eax, dword [0x6dc3a848]
cmp dword [ebp - 0x28], edi
je 0x6dc2ebcf
mov dword [ebp - 4], 0x32
jmp 0x6dc2ec8e
cmp dword [ebp - 4], 0
jne 0x6dc2ec8e
test byte [ebp - 0x2c], 6
jne 0x6dc2ec12
mov dword [ebp - 4], 0x57
cmp eax, esi
je 0x6dc2ec8e
test dword [eax + 0x1c], 0x400
je 0x6dc2ec8e
push dword [ebp - 0x2c]
push 0x6dc224ec
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
jmp 0x6dc2ec8e
test byte [ebp - 0x2c], 2
je 0x6dc2eca1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.6dc2e0e5
mov dword [ebp - 4], eax
test eax, eax
je 0x6dc2eca1
mov eax, dword [0x6dc3a848]
cmp eax, esi
je 0x6dc2ec57
test dword [eax + 0x1c], 0x400
je 0x6dc2ec57
push dword [ebp - 4]
push 0x6dc224ec
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
mov esi, dword [ebp - 8]
cmp dword [ebp - 4], 0
je 0x6dc2ec8e
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x6dc2ec72
cmp dword [eax], 0
jne 0x6dc2ec72
push eax
call fcn.6dc2dfb1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6dc2ec84
cmp dword [eax], 0
jne 0x6dc2ec84
push eax
call fcn.6dc2e004
test esi, esi
je 0x6dc2ec8e
push esi
call fcn.6dc2e325
lea eax, [ebp - 0x64]
push eax
call fcn.6dc2e059
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
test byte [ebp - 0x2c], bl
je 0x6dc2ece4
call fcn.6dc2f217
test al, al
je 0x6dc2ece4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.6dc2e372
mov dword [ebp - 4], eax
test eax, eax
je 0x6dc2ecf0
mov eax, dword [0x6dc3a848]
cmp eax, esi
je 0x6dc2ec57
test dword [eax + 0x1c], 0x400
je 0x6dc2ec57
push dword [ebp - 4]
push 0x6dc224ec
push 0xd
jmp 0x6dc2ec4c
test byte [ebp - 0x2c], 2
jne 0x6dc2ecf0
and dword [ebp - 4], 0
jmp 0x6dc2ec8e
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
shr eax, 1
cmp word [ecx], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], eax
jne 0x6dc2ed0c
jmp 0x6dc2ec57
mov eax, dword [ebp - 0x14]
and dword [ebp + 8], 0
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0xc]
call fcn.6dc0e53d
test eax, eax
jl 0x6dc2ee54
cmp dword [ebp - 0x18], 0
je 0x6dc2ec57
test byte [ebp - 0x2c], 6
je 0x6dc2ee54
push 0x34
call fcn.6dc03247
mov esi, eax
test esi, esi
je 0x6dc2ee63
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp - 0x18]
call fcn.6dc05b03
test eax, eax
jl 0x6dc2ee71
mov eax, dword [ebp + 8]
push 2
pop ecx
mul ecx
lea ecx, [ebp + 8]
push ecx
push edx
push eax
call fcn.6dc05b28
test eax, eax
jl 0x6dc2ee71
push dword [ebp + 8]
call fcn.6dc031a9
mov dword [esi + 0x24], eax
test eax, eax
je 0x6dc2ee63
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x24]
shr eax, 1
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x50]
add esp, 0xc
test eax, eax
je 0x6dc2edf4
cmp word [eax], dx
je 0x6dc2edf4
push dword [ebp - 0x4c]
call fcn.6dc031a9
mov dword [esi + 0x2c], eax
test eax, eax
je 0x6dc2ee63
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x4c]
mov ecx, dword [esi + 0x2c]
shr eax, 1
add esp, 0xc
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x30], eax
test byte [ebp - 0x2c], 2
je 0x6dc2ee0b
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x6dc2ee0b
push eax
mov dword [esi + 0x14], eax
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedIncrement]
test byte [ebp - 0x2c], bl
je 0x6dc2ee21
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6dc2ee21
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedIncrement]
push esi
call dword [ebp + 0xc]
mov dword [ebp - 4], eax
test eax, eax
jne 0x6dc2ee7d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
and dword [ebp - 8], 0
or edx, 0xffffffff
sub edx, ecx
add dword [ebp - 0x14], edx
lea eax, [eax + ecx*2 + 2]
cmp word [eax], 0
mov dword [ebp - 0xc], eax
je 0x6dc2ec57
jmp 0x6dc2ed09
mov esi, dword [ebp - 8]
mov dword [ebp - 4], 0x57
jmp 0x6dc2ec60
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x6dc2ec5a
mov dword [ebp - 4], 0x216
jmp 0x6dc2ec60
mov eax, dword [0x6dc3a848]
cmp eax, 0x6dc3a848
je 0x6dc2ec5a
test dword [eax + 0x1c], 0x400
je 0x6dc2ec5a
push dword [ebp - 4]
push 0x6dc224ec
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.6dc242f2
jmp 0x6dc2ec5a