Function at 0x40d690
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a9e7
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x554418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x43c], ebx
test esi, esi
jne 0x40d6de
xor eax, eax
jmp 0x40d9ed
mov dword [ebp - 0x42c], 0
test ebx, ebx
je 0x40d6f2
mov dword [ebx], 0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d3ba0
add esp, 0xc
call fcn.0040da40
push str.QuickSeeTray.exe
test al, al
lea eax, [ebp - 0x218]
push esi
push eax
je 0x40d768
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x424]
call fcn.0040ea90
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push edi
push eax
push 0x516ca0
lea ecx, [ebp - 0x424]
call fcn.00410cc0
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x42c], eax
call fcn.0040f690
jmp 0x40d9e7
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x430]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d9e7
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x516ca0
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40d9e7
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x40da09
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x428]
test eax, 0xffff0000
jne 0x40d819
movzx eax, ax
push eax
call fcn.0040daf0
jmp 0x40d81f
push eax
call fcn.0040dd40
mov esi, dword [ebp - 0x428]
mov dword [ebp - 4], 2
mov edi, dword [esi - 0xc]
test edi, edi
js 0x40da13
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40d85a
push edi
lea ecx, [ebp - 0x428]
call fcn.0040dca0
mov esi, dword [ebp - 0x428]
lea eax, [edi + 1]
push eax
push esi
call fcn.004da9ff
add esp, 8
cmp edi, dword [esi - 8]
jg 0x40da13
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x40da1d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x424]
test eax, 0xffff0000
jne 0x40d8b8
movzx eax, ax
push eax
call fcn.0040daf0
jmp 0x40d8be
push eax
call fcn.0040dd40
mov edi, dword [ebp - 0x424]
mov byte [ebp - 4], 4
mov ebx, dword [edi - 0xc]
test ebx, ebx
js 0x40da27
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x40d8f6
push ebx
lea ecx, [ebp - 0x424]
call fcn.0040dca0
mov edi, dword [ebp - 0x424]
lea eax, [ebx + 1]
push eax
push edi
call fcn.004da9ff
add esp, 8
cmp ebx, dword [edi - 8]
jg 0x40da13
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
cmp dword [esi - 0xc], eax
jl 0x40d9ad
push edi
push esi
call fcn.004d3cfa
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40d9ad
sub ebx, esi
sar ebx, 1
js 0x40d9ad
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x42c], 1
test eax, eax
je 0x40d94e
mov dword [eax], 1
cmp dword [ebp - 0x434], 0
je 0x40d9ad
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40d9ad
add ebx, dword [edi - 0xc]
cmp dword [esi - 4], 1
jle 0x40d97e
push dword [esi - 0xc]
lea ecx, [ebp - 0x428]
call fcn.0040d550
mov esi, dword [ebp - 0x428]
mov eax, dword [ebp + 0x10]
push eax
lea eax, [esi + ebx*2]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push dword [esi - 8]
push esi
call fcn.004da655
add esp, 8
test eax, eax
js 0x40da13
cmp eax, dword [esi - 8]
jg 0x40da13
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [edi - 0x10]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d9cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40d9e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f0c9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406290
push 0x80070057
call fcn.00406290
push 0x80004005
call fcn.00406290
push 0x80070057
call fcn.00406290
int3