Function at 0x416180
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c7cd7
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov edx, dword [0x5141f8]
lea eax, [esp + 0x14]
push eax
mov eax, dword [edx + 4]
mov edi, ecx
xor ebx, ebx
push 0x4eec60
mov ecx, 0x5141f8
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], ebx
call eax
cmp dword [esp + 0x14], ebx
je 0x41651c
mov edx, dword [0x5141f8]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x4eec70
mov ecx, 0x5141f8
mov dword [esp + 0x24], ebx
call eax
cmp dword [esp + 0x1c], ebx
je 0x41651c
mov edx, dword [0x5141f8]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x34]
push ecx
push 0x4eec80
mov ecx, 0x5141f8
mov dword [esp + 0x3c], ebx
call eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
lea ebp, [ebx + 0x10]
lea esp, [esp]
push 0x103
lea ecx, [esp + 0xad]
push ebx
push ecx
mov byte [esp + 0xb4], bl
call fcn.004a7380
push 0x103
lea edx, [esp + 0x1bd]
push ebx
mov esi, 0x104
push edx
mov dword [esp + 0x40], esi
mov byte [esp + 0x1c4], bl
call fcn.004a7380
add esp, 0x18
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1b0]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xbc]
push ecx
push edx
push edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x4164f5
push ebx
mov esi, 0xf
push 0x4ef766
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00403320
mov dword [esp + 0x2bc], ebx
push ebx
push 0x4ef766
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.00403320
mov byte [esp + 0x2bc], 1
cmp dword [esp + 0x20], 3
jne 0x41649b
cmp byte [esp + 0x1ac], bl
je 0x41649b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x1ac]
push edx
call eax
push eax
lea ecx, [esp + 0x90]
call fcn.004031a0
push 2
push 0x4effb0
lea ecx, [esp + 0x94]
push ecx
xor eax, eax
mov byte [esp + 0x2c8], 2
call fcn.00416660
mov edi, eax
push edi
xor ecx, ecx
lea esi, [esp + 0x3c]
lea edx, [esp + 0x90]
call fcn.00416630
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2c8], 3
call fcn.00402ed0
mov byte [esp + 0x2bc], 2
cmp dword [esp + 0x50], ebp
jb 0x4163a7
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a4a1a
add esp, 4
push 0xffffffffffffffff
lea ecx, [edi + 2]
lea esi, [esp + 0x3c]
lea edx, [esp + 0x90]
call fcn.00416630
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x2c8], 4
call fcn.00402ed0
mov byte [esp + 0x2bc], 2
cmp dword [esp + 0x50], ebp
jb 0x4163ec
mov eax, dword [esp + 0x3c]
push eax
call fcn.004a4a1a
add esp, 4
mov al, byte [esp + 0xa8]
mov esi, 0xf
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp al, bl
je 0x416469
cmp al, 0x44
jne 0x416439
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x41641a
lea edx, [esp + 0x58]
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x41642b
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
push edx
mov edx, dword [edi]
push eax
call edx
jmp 0x416469
cmp al, 0x45
jne 0x416469
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x41644b
lea edx, [esp + 0x58]
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x41645c
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
push edx
push eax
mov eax, dword [edi + 4]
call eax
cmp dword [esp + 0xa4], ebp
jb 0x416482
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004a4a1a
add esp, 4
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
cmp byte [esp + 0xa8], bl
je 0x4164b3
lea edx, [esp + 0xa8]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [esp + 0x6c], ebp
jb 0x4164c6
mov eax, dword [esp + 0x58]
push eax
call fcn.004a4a1a
add esp, 4
mov dword [esp + 0x2bc], 0xffffffff
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x88], ebp
jb 0x416500
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004a4a1a
add esp, 4
jmp 0x416500
cmp eax, 0x103
je 0x416514
inc dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edx, eax
inc eax
cmp edx, 0x32
mov dword [esp + 0x24], eax
jl 0x416240
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.004a4a25
add esp, 0x2ac
ret