Function at 0x4752f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b39e5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e3050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x2c], edi
mov esi, ecx
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x4755c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x4755c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x18]
call fcn.004755e0
add esp, 0xc
or esi, 0xffffffff
test al, al
je 0x475575
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x475575
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
call fcn.0047d9ad
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call ebx
test eax, eax
je 0x47543c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
call edi
cmp eax, 0xea
jne 0x475490
mov byte [ebp - 4], 4
push esi
call fcn.0047d9a8
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
call fcn.0047d9ad
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call ebx
test eax, eax
jne 0x4753f0
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
cmp eax, 1
je 0x47550b
cmp eax, 2
je 0x47550b
cmp eax, 7
jne 0x4754b4
mov edx, dword [ebp - 0x14]
xor ecx, ecx
lea eax, [edx - 1]
test eax, eax
je 0x475477
cmp byte [ecx + esi], 0
jne 0x47546f
mov byte [ecx + esi], 0xa
mov edx, dword [ebp - 0x14]
inc ecx
lea eax, [edx - 1]
cmp ecx, eax
jb 0x475462
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475480
jmp 0x47551b
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 4
push esi
call fcn.0047d9a8
add esp, 4
mov dword [ebp - 0x18], 0
xor bl, bl
jmp 0x475547
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x4754d2
nop dword [eax + eax]
lea eax, [edi + esi]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040cab0
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x4754c0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x30]
call fcn.0040d500
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.00409090
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x475528
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x475528
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475510
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.004035a0
mov byte [ebp - 4], 4
push esi
call fcn.0047d9a8
add esp, 4
mov dword [ebp - 0x18], 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x475562
push eax
call fcn.00487297
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
or esi, 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x475577
xor bl, bl
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x475595
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4755b4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402570
int3