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

Disassembly:
jmp 0x464310
push 0xffffffffffffffff
push 0x529f59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x758
mov dl, byte [0x5688a4]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x45]
mov byte [esp + 0x44], 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 + 0x251]
mov byte [esp + 0x250], dl
rep stosd dword es:[edi], eax
mov ecx, dword [0x566a70]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x48]
push eax
push ecx
call dword [0x56cda4]
test eax, eax
je 0x464773
mov esi, dword [0x56de48]
lea edx, [esp + 0x44]
push edx
call esi
lea eax, [esp + 0x250]
push 0x104
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [0x56cd58]
lea edx, [esp + 0x250]
push edx
call esi
mov ebp, 0x105
lea eax, [esp + 0x148]
push ebp
push eax
push 0
push 0x80000000
mov dword [esp + 0x38], 0
call dword [0x56ca30]
test eax, eax
jne 0x464773
cmp byte [esp + 0x148], 0x2e
jne 0x46474d
mov edi, dword [0x56ca38]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x660]
push ecx
lea eax, [esp + 0x14c]
push edx
push eax
push 0x80000000
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x46474d
mov al, byte [esp + 0x660]
test al, al
je 0x46474d
lea ecx, [esp + 0x24]
lea edx, [esp + 0x660]
push ecx
push edx
push 0x80000000
call dword [0x56ca3c]
test eax, eax
jne 0x46474d
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x354]
push eax
push ecx
push str.shellopencommand
push edx
mov dword [esp + 0x24], ebp
call edi
test eax, eax
jne 0x464742
lea eax, [esp + 0x149]
mov ecx, ebx
push eax
call fcn.0040150f
lea ecx, [esp + 0x354]
mov dword [esp + 0x1c], eax
push ecx
call esi
mov edi, dword [sym.imp.MSVCRT.dll__mbsstr]
lea edx, [esp + 0x44]
lea eax, [esp + 0x354]
push edx
push eax
call edi
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
neg esi
mov dword [esp + 0x10], esi
jne 0x4644dd
mov al, byte [esp + 0x250]
test al, al
je 0x4644dd
lea ecx, [esp + 0x250]
lea edx, [esp + 0x354]
push ecx
push edx
call edi
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x10], eax
mov esi, eax
lea eax, [esp + 0x44]
push eax
call fcn.00473720
lea ecx, [esp + 0x358]
push eax
push ecx
call edi
mov dl, byte [0x5688a4]
mov ebp, eax
add esp, 0xc
mov ecx, 0x3f
neg ebp
sbb ebp, ebp
xor eax, eax
lea edi, [esp + 0x561]
mov byte [esp + 0x560], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x149]
lea ecx, [esp + 0x560]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts._s
push ecx
neg ebp
call dword [0x56df30]
add esp, 0xc
lea edx, [esp + 0x560]
lea ecx, [esp + 0x30]
push edx
push 0x80000001
call fcn.00477940
mov al, byte [0x5688a4]
mov ecx, 0x40
mov byte [esp + 0x45c], al
xor eax, eax
lea edi, [esp + 0x45d]
lea edx, [esp + 0x45c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x770], 0
stosw word es:[edi], ax
push ecx
push edx
push str.Application
lea ecx, [esp + 0x3c]
stosb byte es:[edi], al
mov dword [esp + 0x38], 0x104
call fcn.00477e20
test eax, eax
jne 0x4645ce
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
call fcn.00473720
lea ecx, [esp + 0x460]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, dword [esp + 0x1c]
mov ebp, eax
add esp, 0xc
neg ebp
sbb ebp, ebp
neg ebp
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x464713
test esi, esi
je 0x464723
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x770], 1
je 0x464613
lea edx, [esp + 0x149]
mov ecx, eax
push edx
call fcn.00402b5d
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x46461f
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x149]
xor esi, esi
push eax
mov byte [esp + 0x774], 0
mov dword [esp + 0x20], edi
mov dword [edi + 4], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], 1
call dword [0x56de48]
cmp edi, esi
je 0x4646bc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4646ac
add eax, dword [ebx + 0x14]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, eax
mov dword [esp + 0x24], 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 [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x14]
mov edi, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0xc]
add esp, 8
add eax, ecx
mov dword [ebx + 0xc], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], edi
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
mov esi, dword [ebx + 8]
add esi, 0xfffffffe
test esi, esi
jl 0x464707
cmp esi, dword [ebx + 8]
jge 0x4646d7
test esi, esi
jl 0x4646d7
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + esi*4]
jmp 0x4646d9
xor eax, eax
mov edx, dword [eax]
mov eax, dword [edi]
push edx
push eax
call dword [0x56cdcc]
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
test eax, eax
je 0x464707
mov eax, dword [ebx + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [ebx + 4]
mov dword [eax + esi*4 + 4], edi
jns 0x4646c6
test edi, edi
je 0x464723
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], 1
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x770], 0xffffffff
call fcn.00477bd0
mov esi, dword [0x56de48]
mov ebp, 0x105
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x56ca2c]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x148]
inc eax
push ebp
push edx
push eax
push 0x80000000
mov dword [esp + 0x38], eax
call dword [0x56ca30]
test eax, eax
je 0x4643de
mov ecx, dword [esp + 0x768]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x764
ret