Function at 0x45c3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab96d
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.0056ed20
mov eax, dword [0x6244f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x104c], edi
mov dword [ebp - 0x1044], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1048], eax
lea eax, [ebp - 0x1048]
push eax
push 0x20019
push 0
push 0x5c6f80
push SysReAllocString
mov dword [ebp - 0x1044], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x1048]
test esi, esi
je 0x45c930
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00570de0
add esp, 0xc
mov dword [ebp - 0x1054], 1
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1050], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1054]
push eax
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45c924
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1018], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c4b5
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.004049b3
push 0xb
xor eax, eax
mov dword [ebp - 0x1040], 0
push 0x5c6fb4
lea ecx, [ebp - 0x1040]
mov dword [ebp - 4], 1
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
call fcn.004049b3
push 0
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.0043de20
mov edx, dword [ebp - 0x102c]
add esp, 0xc
mov byte [ebp - 4], 1
mov esi, eax
cmp edx, 8
jb 0x45c579
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c56f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c94e
push edx
push ecx
call fcn.0056e411
add esp, 8
cmp esi, 0xffffffff
je 0x45c8e8
lea ecx, [esi + 0xb]
mov dword [ebp - 0x1040], 0
cmp dword [ebp - 0x1018], ecx
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1030], 0
cmovb ecx, dword [ebp - 0x1018]
cmp dword [ebp - 0x1014], 8
push ecx
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x1040]
push eax
mov dword [ebp - 0x102c], 7
call fcn.004049b3
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1044], 3
cmp edx, 8
jb 0x45c61b
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c611
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c95d
push edx
push ecx
call fcn.0056e411
add esp, 8
mov eax, dword [ebp - 0x103c]
mov edx, dword [ebp - 0x102c]
cmp edx, 8
mov ecx, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1028]
cmovae eax, ecx
mov dword [ebp - 0x1028], ecx
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], edx
cmp word [eax], 0x22
jne 0x45c756
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
cmp esi, 1
jb 0x45c953
lea eax, [esi - 1]
cmp eax, esi
cmovb esi, eax
cmp edx, 8
lea eax, [ebp - 0x1028]
cmovae eax, ecx
lea ecx, [ebp - 0x1040]
push esi
add eax, 2
push eax
call fcn.004049b3
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1044], 7
cmp edx, 8
jb 0x45c70e
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c704
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c95d
push edx
push ecx
call fcn.0056e411
add esp, 8
mov eax, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x103c]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], eax
cmp dword [ebp - 0x1014], 8
lea edx, [ebp - 0x1028]
cmovae edx, dword [ebp - 0x1028]
test esi, esi
je 0x45c7e8
mov ecx, esi
mov eax, edx
cmp word [eax], 0x7e
je 0x45c782
add eax, 2
sub ecx, 1
jne 0x45c772
jmp 0x45c7e8
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x45c7e8
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1010]
push 0x400
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45c7e2
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c7c0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.004049b3
mov esi, dword [ebp - 0x1018]
lea eax, [ebp - 0x1028]
cmp edi, eax
je 0x45c8e8
cmp dword [ebp - 0x1014], 8
mov ecx, dword [edi + 0x14]
cmovae eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x105c], ecx
cmp esi, ecx
ja 0x45c83b
mov ebx, edi
cmp ecx, 8
jb 0x45c820
mov ebx, dword [edi]
mov dword [edi + 0x10], esi
add esi, esi
push esi
push eax
push ebx
call fcn.00570860
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x45c8e8
cmp esi, 0x7ffffffe
ja 0x45c958
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x45c85b
mov ebx, SysReAllocString
jmp 0x45c879
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x45c871
mov ebx, SysReAllocString
jmp 0x45c879
lea eax, [ecx + edx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, edi
push eax
call fcn.00404993
mov dword [edi + 0x10], esi
add esi, esi
push esi
push dword [ebp - 0x1058]
mov dword [edi + 0x14], ebx
mov ebx, eax
push ebx
mov dword [ebp - 0x104c], eax
call fcn.00570860
xor eax, eax
add esp, 0xc
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x105c]
cmp eax, 8
jb 0x45c8e6
lea ecx, [eax*2 + 2]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x45c8dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c95d
mov eax, edx
push ecx
push eax
call fcn.0056e411
add esp, 8
mov dword [edi], ebx
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x45c924
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c91a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c95d
push edx
push ecx
call fcn.0056e411
add esp, 8
push dword [ebp - 0x1048]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e41f
mov esp, ebp
pop ebp
ret
call fcn.00574b50
call fcn.00404979
call fcn.0040496e
call fcn.00574b50
int3