Function at 0x44e84a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x11c]
push ebx
sub esp, 0x16c
mov dword [ebp - 0x13c], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x144], ecx
mov ecx, 0x41
rep stosd dword es:[edi], eax
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], ecx
mov ecx, edx
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x120], edx
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov ecx, eax
mov ebx, eax
test ebx, ebx
je 0x44e967
mov eax, dword [ebp - 0x13c]
cmp byte [eax + ebx], 0x5c
je 0x44e8c8
dec ebx
jmp 0x44e8b1
xor esi, esi
cmp ebx, 0x103
ja 0x44ea97
mov eax, 0x104
inc ecx
lea edx, [ebp - 0x11c]
mov esi, dword [ebp - 0x13c]
cmp ecx, eax
mov edi, edx
cmova ecx, eax
mov eax, dword [ebp - 0x13c]
rep movsb byte es:[edi], byte [esi]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [ebp - 0x11c]
lea ecx, [eax + 1]
cmp ecx, 0x104
mov ecx, 0x103
cmovae eax, ecx
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x12c]
mov byte [ebp + ebx - 0x11c], 0
inc ebx
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x44e9fe
xor eax, eax
mov dword [ebp - 0x12c], eax
jmp 0x44e9a5
lea eax, [ebp - 0x130]
mov dword [esp + 0xc], 0x2001d
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4b3f15
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x44e9ac
xor eax, eax
mov dword [ebp - 0x130], eax
xor esi, esi
jmp 0x44ea6f
lea eax, [ebp - 0x128]
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], 7
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4b3f1e
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
jne 0x44e95d
lea eax, [ebp - 0x120]
xor ecx, ecx
mov esi, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x124]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x13c]
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
cmp eax, 2
je 0x44ea6f
test eax, eax
jne 0x44e9a5
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x124], eax
jne 0x44e9a5
xor eax, eax
cmp dword [ebp - 0x120], 0
setne al
mov esi, eax
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x44ea83
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x44ea97
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret