Function at 0x41d0a0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4246
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4e13b0]
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 dword [ebp - 0x240], esi
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0
mov ecx, str.ComputerZ_Tray
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d12c
test dx, dx
je 0x41d128
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d12c
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d106
xor eax, eax
jmp 0x41d131
sbb eax, eax
or eax, 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
test eax, eax
jne 0x41d157
push SysReAllocString
call fcn.0040cdf0
jmp 0x41d169
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040cdf0
test eax, eax
jne 0x41d324
lea ecx, [ebp - 0x22c]
call fcn.00409930
push dword [edi + 8]
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 1
push dword [edi]
push str._s___s_
push eax
call fcn.0040a920
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00440bc0
mov edi, dword [ebp - 0x238]
lea eax, [ebp - 0x228]
add esp, 0x1c
mov dword [ebp - 0x228], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d1f9
mov eax, dword [ebp - 0x23c]
cmp eax, 1
je 0x41d1e7
cmp eax, 2
jne 0x41d1f9
cmp dword [ebp - 0x228], 0
jne 0x41d1f9
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004690d6
add esp, 8
test eax, eax
je 0x41d249
test esi, esi
je 0x41d249
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d220
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp - 0x240]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.0040cdf0
mov edi, dword [ebp - 0x224]
test eax, eax
jne 0x41d297
push str.Computer_Z
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.0040cdf0
mov ebx, dword [ebp - 0x224]
test eax, eax
jne 0x41d2e5
push str.Computer_Z
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test ebx, ebx
je 0x41d2f4
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
jmp 0x41d2fa
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41d301
push edi
call ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d31d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x41d326
xor esi, esi
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x41d333
push eax
call ebx
mov eax, esi
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.00428c45
mov esp, ebp
pop ebp
ret 8