Function at 0x445420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd558
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.00444fe0
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x445473
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x44569f
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x48], edi
jb 0x445483
mov eax, dword [edi]
mov dword [ebp - 0x48], eax
mov edx, dword [edi + 0x10]
test edx, edx
je 0x44549e
mov ecx, edx
nop dword [eax]
cmp word [eax], 0x5c
je 0x4454c0
add eax, 2
sub ecx, 1
jne 0x445490
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 0x4456bd
jmp 0x4454cb
test eax, eax
je 0x44549e
sub eax, dword [ebp - 0x48]
sar eax, 1
jmp 0x4454a1
sub edx, eax
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [edi + 0x14], 8
jb 0x4454de
mov edi, dword [edi]
push ecx
lea eax, [edi + eax*2]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042d9b0
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 0x44556f
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44569f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4456c2
jmp 0x445695
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x40], 0
jb 0x445580
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 0x4455f2
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 0x44569f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4456c7
jmp 0x445695
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.004456e0
cmp dword [ebx + 0x14], 8
jb 0x445615
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 0x445682
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 0x445532
mov ecx, dword [ebp - 0x30]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x445673
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4456cc
push ecx
push edi
call fcn.0047904e
add esp, 8
jmp 0x445532
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 0x445532
push edx
push ecx
call fcn.0047904e
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.0047900d
mov esp, ebp
pop ebp
ret
call fcn.0042f0b0
call fcn.0049a859
call fcn.0049a859
call fcn.0049a859
int3