Function at 0x45d100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4995ed
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c6190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, SysReAllocString
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x1c], ecx
cmp eax, 1
jb 0x45d352
cmp dword [edi + 0x14], 8
jb 0x45d14b
mov edi, dword [edi]
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
mov esi, 7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp edx, esi
jbe 0x45d1b6
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x45d189
mov esi, SysReAllocString
jmp 0x45d193
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00402280
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], esi
lea esi, [ecx + ecx]
push esi
push edi
push eax
mov dword [ebp - 0x3c], edx
call fcn.00467ba0
mov eax, dword [ebp - 0x14]
mov ecx, 0x5c
xor edx, edx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x18]
mov word [eax + ecx*2], dx
mov ecx, dword [ebp - 0x38]
mov eax, ecx
mov edi, dword [ebp - 0x3c]
sub eax, edi
mov dword [ebp - 4], edx
cmp eax, 0x3c
jb 0x45d220
cmp ecx, 8
lea esi, [ebp - 0x4c]
lea eax, [edi + 0x3c]
cmovae esi, dword [ebp - 0x4c]
push 0x78
mov dword [ebp - 0x3c], eax
push 0x49b788
lea eax, [esi + edi*2]
push eax
call fcn.00467ba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x78], ax
lea eax, [ebp - 0x4c]
jmp 0x45d234
push 0x3c
push 0x49b788
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
push 0x3c
call fcn.00404d10
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x45d2a7
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45d29d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d357
push ecx
push edx
call fcn.00465ef5
add esp, 8
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push ecx
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], 4
cmovae eax, dword [ebp - 0x34]
push 0x49b804
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x45d2fa
cmp dword [ebp - 0x18], 4
jne 0x45d2fa
cmp dword [ebp - 0x14], eax
sete byte [0x4c8604]
mov ecx, dword [ebp - 0x20]
mov byte [0x4c8605], 1
cmp ecx, 8
jb 0x45d337
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45d32d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d35c
push ecx
push edx
call fcn.00465ef5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00465ee7
mov esp, ebp
pop ebp
ret
call fcn.00402000
call fcn.00469eed
call fcn.00469eed
int3