Function at 0x455df0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d3459
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x77c
mov dl, byte [0x4f55a8]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x171]
mov byte [esp + 0x170], dl
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 + 0x275]
mov byte [esp + 0x274], dl
rep stosd dword es:[edi], eax
mov ecx, dword [0x4f604c]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x174]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4562f7
mov esi, dword [sym.imp.USER32.dll_CharLowerA]
lea edx, [esp + 0x170]
push edx
call esi
lea eax, [esp + 0x274]
push 0x104
lea ecx, [esp + 0x174]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x274]
push edx
call esi
mov edi, 0x105
lea eax, [esp + 0x68]
xor ebx, ebx
push edi
push eax
push ebx
push 0x80000000
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4562f7
cmp byte [esp + 0x68], 0x2e
jne 0x4562d4
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x684]
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
push 0x80000000
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x4562d4
mov al, byte [esp + 0x684]
test al, al
je 0x4562d4
lea ecx, [esp + 0x28]
lea edx, [esp + 0x684]
push ecx
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4562d4
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x378]
push eax
push ecx
push str.shellopencommand
push edx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x4562c9
lea eax, [esp + 0x69]
test eax, eax
je 0x455f6c
lea ecx, [esp + 0x69]
push ecx
call fcn.00470f80
add esp, 4
mov dword [esp + 0x34], eax
jmp 0x455f70
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x34]
lea edx, [esp + 0x34]
test eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], edx
je 0x455fc4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
push 0x458f60
push 4
push ecx
lea eax, [esp + 0x38]
push edx
push eax
call fcn.004a94e4
add esp, 0x14
cmp eax, ebx
je 0x455fc4
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
jmp 0x455fc8
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x455fd9
push eax
call fcn.004bd4c4
add esp, 4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x378]
push eax
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_CharLowerA]
lea ecx, [esp + 0x170]
lea edx, [esp + 0x378]
push ecx
push edx
call fcn.004a8fec
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
neg esi
mov dword [esp + 0x14], esi
jne 0x456044
mov al, byte [esp + 0x274]
test al, al
je 0x456044
lea eax, [esp + 0x274]
lea ecx, [esp + 0x378]
push eax
push ecx
call fcn.004a8fec
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], eax
mov esi, eax
lea edx, [esp + 0x170]
push edx
call fcn.00471a00
push eax
lea eax, [esp + 0x380]
push eax
call fcn.004a8fec
mov cl, byte [0x4f55a8]
mov ebx, eax
add esp, 0xc
mov byte [esp + 0x480], cl
neg ebx
sbb ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x481]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x69]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x484]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts._s
push eax
neg ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x480]
push ecx
push DrawStatusTextA
lea ecx, [esp + 0x5c]
call fcn.0046fdd0
mov dl, byte [0x4f55a8]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x581]
mov byte [esp + 0x580], dl
mov dword [esp + 0x794], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x30]
lea ecx, [esp + 0x580]
push eax
push ecx
push str.Application
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], 0x104
call fcn.004701a0
test eax, eax
jne 0x45613b
lea edx, [esp + 0x170]
mov dword [esp + 0x14], eax
push edx
call fcn.00471a00
push eax
lea eax, [esp + 0x588]
push eax
call fcn.004a8fec
mov esi, dword [esp + 0x20]
mov ebx, eax
add esp, 0xc
neg ebx
sbb ebx, ebx
neg ebx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45629a
test esi, esi
je 0x4562ae
push 0x20
call fcn.004bd49b
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor ecx, ecx
mov byte [esp + 0x794], 1
cmp esi, ecx
je 0x4561a7
lea edx, [esp + 0x69]
test edx, edx
je 0x456186
lea eax, [esp + 0x69]
push eax
call fcn.00470f80
add esp, 4
xor ecx, ecx
jmp 0x456188
xor eax, eax
mov edi, esi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x10], edi
jmp 0x4561ad
mov dword [esp + 0x10], ecx
mov edi, ecx
mov dword [edi + 4], ecx
mov dword [edi + 0x1c], ecx
lea ecx, [esp + 0x69]
mov byte [esp + 0x794], 0
push ecx
mov dword [esp + 0x28], edi
mov dword [edi + 0x18], 1
call dword [sym.imp.USER32.dll_CharLowerA]
test edi, edi
je 0x456247
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x456237
mov ecx, dword [ebp + 0x14]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.004bd49b
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x20], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
push eax
call fcn.004bd4c4
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, ecx
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4], edi
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
test esi, esi
jl 0x456292
cmp esi, dword [ebp + 8]
jge 0x456262
test esi, esi
jl 0x456262
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + esi*4]
jmp 0x456264
xor eax, eax
mov edx, dword [eax]
mov eax, dword [edi]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
test eax, eax
je 0x456292
mov eax, dword [ebp + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [ebp + 4]
mov dword [eax + esi*4 + 4], edi
jns 0x456251
test edi, edi
je 0x4562ae
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [eax + 8], 1
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x794], 0xffffffff
call fcn.0046ffb0
xor ebx, ebx
mov edi, 0x105
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x68]
inc eax
push edi
push edx
push eax
push 0x80000000
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x455ec7
mov ecx, dword [esp + 0x78c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x788
ret