Function at 0x423260
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43849b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x33c
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x145]
mov byte [esp + 0x144], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push 0x44ac04
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00401000
push 0xf003f
push ebx
push 0x44ac04
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x44]
mov dword [esp + 0x364], ebx
call fcn.00401200
cmp esi, ebx
jne 0x42369a
push ebx
push ebx
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x38]
push ebx
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x42369a
mov ecx, 0x40
lea edi, [esp + 0x249]
mov byte [esp + 0x248], bl
mov dword [esp + 0x1c], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x24], ebx
jbe 0x42369a
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x40]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x144]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push 0x104
push eax
push ecx
push edx
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
jne 0x42369a
mov esi, 0x445b74
lea eax, [esp + 0x40]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4233b6
mov ebp, 1
add esi, 0x208
cmp esi, 0x448a2c
jb 0x4233a1
cmp ebp, ebx
jne 0x4233f9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
cmp eax, ebx
je 0x4233e4
lea eax, [esp + 0x40]
push eax
push ebx
jmp 0x4233eb
lea ecx, [esp + 0x40]
push ecx
push 1
mov ecx, dword [esp + 0x20]
push 0x186bb
call fcn.004236d0
mov edx, 0x44abfc
lea ecx, [esp + 0x144]
mov esi, 0x104
lea eax, [esp + 0x144]
sub edx, ecx
mov cl, byte [edx + eax]
cmp cl, bl
je 0x423422
mov byte [eax], cl
inc eax
dec esi
jne 0x423413
jmp 0x423426
cmp esi, ebx
jne 0x423427
dec eax
mov byte [eax], bl
mov ecx, 0x104
lea eax, [esp + 0x144]
cmp byte [eax], bl
je 0x42343f
inc eax
dec ecx
jne 0x423435
jmp 0x423488
cmp ecx, ebx
je 0x423488
lea edx, [esp + 0x3c]
test edx, edx
je 0x423458
mov eax, 0x104
sub eax, ecx
mov dword [esp + 0x3c], eax
jmp 0x42345c
mov eax, dword [esp + 0x3c]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x144]
je 0x423488
lea esi, [esp + 0x40]
sub esi, eax
mov cl, byte [esi + eax]
cmp cl, bl
je 0x423481
mov byte [eax], cl
inc eax
dec edx
jne 0x423472
jmp 0x423485
cmp edx, ebx
jne 0x423486
dec eax
mov byte [eax], bl
mov ecx, 0x104
lea eax, [esp + 0x144]
cmp byte [eax], bl
je 0x42349e
inc eax
dec ecx
jne 0x423494
jmp 0x4234e8
cmp ecx, ebx
je 0x4234e8
lea eax, [esp + 0x30]
test eax, eax
je 0x4234b7
mov eax, 0x104
sub eax, ecx
mov dword [esp + 0x30], eax
jmp 0x4234bb
mov eax, dword [esp + 0x30]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x144]
je 0x4234e8
mov esi, 0x44abf4
sub esi, eax
mov cl, byte [esi + eax]
cmp cl, bl
je 0x4234e1
mov byte [eax], cl
inc eax
dec edx
jne 0x4234d2
jmp 0x4234e5
cmp edx, ebx
jne 0x4234e6
dec eax
mov byte [eax], bl
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x144]
push ecx
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x423685
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x248]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x248]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push 0x44e4f8
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x44], 0x104
call ebp
cmp eax, ebx
jne 0x423685
mov ecx, 0x104
lea eax, [esp + 0x248]
cmp byte [eax], bl
je 0x42356b
inc eax
dec ecx
jne 0x423561
jmp 0x4235b5
cmp ecx, ebx
je 0x4235b5
lea edx, [esp + 0x38]
test edx, edx
je 0x423584
mov eax, 0x104
sub eax, ecx
mov dword [esp + 0x38], eax
jmp 0x423588
mov eax, dword [esp + 0x38]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x248]
je 0x4235b5
mov esi, 0x44abe8
sub esi, eax
mov cl, byte [esi + eax]
cmp cl, bl
je 0x4235ae
mov byte [eax], cl
inc eax
dec edx
jne 0x42359f
jmp 0x4235b2
cmp edx, ebx
jne 0x4235b3
dec eax
mov byte [eax], bl
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x248]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x423685
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x248]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x248]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push ebx
push 0x44e4f8
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x44], 0x104
call ebp
cmp eax, ebx
jne 0x423685
lea ecx, [esp + 0x248]
push ecx
call fcn.00404e80
add esp, 4
test eax, eax
je 0x423671
lea edx, [esp + 0x40]
push 0x44abc0
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x423671
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
cmp eax, ebx
je 0x42365c
lea edx, [esp + 0x40]
push edx
push ebx
jmp 0x423663
lea eax, [esp + 0x40]
push eax
push 1
mov ecx, dword [esp + 0x20]
push 0x186bb
call fcn.004236d0
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x42335d
lea ecx, [esp + 0x34]
mov dword [esp + 0x354], 0xffffffff
call fcn.00401030
mov ecx, dword [esp + 0x34c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x348
ret