Function at 0x41c610
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450d90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x10]
xor edi, edi
push eax
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push esi
push edx
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41c67e
mov eax, dword [ebp + 0x10]
push 0x4927e4
push esi
push 0x4927f8
push eax
call fcn.0043d910
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
push edi
mov eax, dword [ebp - 0x10]
push edi
push edi
push edi
lea ecx, [ebp - 0x1c]
push edi
lea edx, [ebp - 0x18]
push ecx
push edx
push edi
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, edi
je 0x41c6cb
mov ecx, dword [ebp + 0x10]
push esi
push 0x492828
push ecx
call fcn.0043d910
mov edx, dword [ebp - 0x10]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
push ebx
mov dword [ebp - 0x34], 0x45554c
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
cmp ecx, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], 1
jbe 0x41c76d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp + 8], eax
lea ecx, [eax + eax]
push ecx
call fcn.00444a70
add esp, 4
lea edx, [ebp + 8]
mov esi, eax
mov eax, dword [ebp - 0x10]
push edi
push edi
push edi
push edi
push edx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x41c749
push esi
call fcn.00444ab0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 4
push 0x492854
push ecx
push 0x492868
push edx
call fcn.0043d910
add esp, 0x10
mov dword [ebp - 0x14], edi
jmp 0x41c762
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [ebp - 0x34]
call fcn.0041d250
mov eax, dword [ebp - 0x30]
mov dword [eax + edi*4], esi
xor edi, edi
mov eax, dword [ebp - 0x18]
inc ebx
cmp ebx, eax
jb 0x41c6f4
mov eax, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
cmp eax, edi
jbe 0x41c833
mov edx, dword [ebp - 0x30]
lea ecx, [ebp + 8]
mov dword [ebp + 8], edi
push ecx
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp - 0x10]
push 0x2001f
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x41c7be
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push 0x492898
push edx
push 0x4928ac
push eax
call fcn.0043d910
add esp, 0x10
mov dword [ebp - 0x14], edi
jmp 0x41c827
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
push edi
lea edx, [ecx + esi*4]
mov ecx, dword [ebp - 0x10]
push edx
push eax
push ecx
call fcn.0041c890
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
push 0x4928dc
lea eax, [edx + esi*4]
mov edx, dword [ebp - 0x10]
push eax
push ecx
push edx
call fcn.0041c890
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
push 0x4928e4
lea ecx, [eax + esi*4]
mov eax, dword [ebp - 0x10]
push ecx
push edx
push eax
call fcn.0041c890
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
push 0x4928ec
lea edx, [ecx + esi*4]
mov ecx, dword [ebp - 0x10]
push edx
push eax
push ecx
call fcn.0041c890
mov edx, dword [ebp + 8]
add esp, 0x40
push edx
call ebx
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, eax
jb 0x41c77d
xor esi, esi
cmp eax, edi
jbe 0x41c850
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + esi*4]
push eax
call fcn.00444ab0
mov eax, dword [ebp - 0x2c]
add esp, 4
inc esi
cmp esi, eax
jb 0x41c839
mov ecx, dword [ebp - 0x10]
push ecx
call ebx
mov dword [ebp - 0x34], 0x45554c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 1
cmp eax, edi
pop ebx
je 0x41c875
push eax
call fcn.00444ab0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret