Function at 0x445570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd698
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x44], esi
mov ebx, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x44], esi
call fcn.00445130
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x4455c3
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x4457ef
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x48], edi
jb 0x4455d3
mov eax, dword [edi]
mov dword [ebp - 0x48], eax
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4455ee
mov ecx, edx
nop dword [eax]
cmp word [eax], 0x5c
je 0x445610
add eax, 2
sub ecx, 1
jne 0x4455e0
or eax, 0xffffffff
inc eax
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
cmp edx, eax
jb 0x44580d
jmp 0x44561b
test eax, eax
je 0x4455ee
sub eax, dword [ebp - 0x48]
sar eax, 1
jmp 0x4455f1
sub edx, eax
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [edi + 0x14], 8
jb 0x44562e
mov edi, dword [edi]
push ecx
lea eax, [edi + eax*2]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042da40
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push 0
push 0x2011f
push 0
push 0
push 0
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4456bf
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4457ef
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4457e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445812
jmp 0x4457e5
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x40], 0
jb 0x4456d0
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0
push 0
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x445742
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp edx, 8
jb 0x4457ef
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4457e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445817
jmp 0x4457e5
push ecx
push dword [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.00445830
cmp dword [ebx + 0x14], 8
jb 0x445765
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x40]
push eax
push edi
push 0
push 0
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4457d2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x445682
mov ecx, dword [ebp - 0x30]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x4457c3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44581c
push ecx
push edi
call fcn.0047917e
add esp, 8
jmp 0x445682
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 8], eax
jmp 0x445682
push edx
push ecx
call fcn.0047917e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047913d
mov esp, ebp
pop ebp
ret
call fcn.0042f140
call fcn.0049a999
call fcn.0049a999
call fcn.0049a999
int3