Function at 0x449677
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
xor esi, esi
and dword [ebp - 0x218], ebx
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x228], edi
mov word [ebp - 0x210], ax
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4496eb
test byte [eax + 0x1c], 1
je 0x4496eb
cmp byte [eax + 0x19], 5
jb 0x4496eb
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x408670
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.004110b1
mov eax, dword [0x46a020]
test edi, edi
jne 0x449724
cmp eax, 0x46a020
je 0x44971a
test byte [eax + 0x1c], 8
je 0x44971a
cmp byte [eax + 0x19], 2
jb 0x44971a
push 0x4083ac
push dword [eax + 0x14]
mov edx, 0x408670
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.004336e5
mov edi, 0x80070057
jmp 0x449a97
and dword [edi], ebx
lea eax, [ebp - 0x214]
push eax
push 0x74
call fcn.00447f10
mov ecx, eax
test ecx, ecx
je 0x449783
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x449773
test byte [eax + 0x1c], 1
je 0x449773
cmp byte [eax + 0x19], 2
jb 0x449773
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x408670
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.00412c68
mov esi, dword [ebp - 0x214]
mov edi, 0x80004005
jmp 0x449a97
mov esi, dword [ebp - 0x214]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push 0x408430
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
je 0x4497f4
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4497ec
test byte [eax + 0x1c], 1
je 0x4497ec
cmp byte [eax + 0x19], 3
jb 0x4497ec
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x408670
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x18
pop ecx
call fcn.00412c68
xor edi, edi
inc edi
jmp 0x449a86
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
lea edx, [ebp - 0x220]
call fcn.00449acf
test eax, eax
js 0x44981a
xor ebx, ebx
inc ebx
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x220]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jns 0x44986c
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x449a82
test byte [ecx + 0x1c], 8
je 0x449a82
cmp byte [ecx + 0x19], 2
jb 0x449a82
push edi
push 0x4084a4
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x19
pop ecx
call fcn.004494fc
jmp 0x449a82
cmp dword [ebp - 0x21c], 0
je 0x449890
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x68]
cmp dword [ebp - 0x214], 0
je 0x449890
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x64]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
push ecx
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x210]
call fcn.00449c85
mov edi, eax
test edi, edi
js 0x4498b9
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x21c], 0
je 0x449926
mov eax, dword [esi]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
test edi, edi
jns 0x44990b
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x449a82
test byte [eax + 0x1c], 8
je 0x449a82
cmp byte [eax + 0x19], 2
jb 0x449a82
push edi
push 0x4083dc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1a
jmp 0x449861
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 0x68]
cmp dword [ebp - 0x214], 0
je 0x449926
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 0x64]
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
lea edx, [ebp - 0x220]
call fcn.00449e70
test eax, eax
js 0x44994c
xor ebx, ebx
inc ebx
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x220]
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jns 0x449996
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x449a82
test byte [eax + 0x1c], 8
je 0x449a82
cmp byte [eax + 0x19], 2
jb 0x449a82
push edi
push 0x4084c0
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
jmp 0x449861
cmp dword [ebp - 0x21c], 0
je 0x4499ba
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x68]
cmp dword [ebp - 0x214], 0
je 0x4499ba
mov eax, dword [esi]
mov ecx, esi
push 4
call dword [eax + 0x64]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x208
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x4084ec
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x449a42
cmp dword [ebp - 0x22c], 1
jne 0x449a42
cmp dword [ebp - 0x224], eax
jbe 0x449a42
mov eax, dword [esi]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov edi, eax
test edi, edi
jns 0x449a84
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x449a82
test byte [eax + 0x1c], 8
je 0x449a82
cmp byte [eax + 0x19], 2
jb 0x449a82
push edi
push 0x40840c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
jmp 0x449861
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x449a7b
test byte [eax + 0x1c], 1
je 0x449a7b
cmp byte [eax + 0x19], 5
jb 0x449a7b
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x408670
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
pop ecx
call fcn.00412c68
test ebx, ebx
jne 0x449a82
xor edi, edi
inc edi
test edi, edi
je 0x449a8f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x449a97
mov eax, dword [ebp - 0x228]
mov dword [eax], esi
cmp dword [ebp - 0x218], 0
je 0x449aac
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x449ab7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret