Function at 0x403770
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x544477
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x5960c0]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov eax, dword [0x5960c0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov dword [esp + 0x1c], vtable.CRegistry.0
call fcn.004219a6
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4037d3
push 0x80004005
call fcn.00402210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], reloc.OLEAUT32.dll_SysReAllocString
push 0x2e
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
lea ecx, [esp + 0x38]
mov dword [esp + 0x158], edi
call fcn.00402150
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x2c]
push ecx
push 0xf003f
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
cmp eax, edi
je 0x40384e
lea edx, [esp + 0x2c]
push edx
push 0xf013f
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, edi
jne 0x403a34
cmp dword [ebp + 8], edi
je 0x403a01
push 0x103
lea eax, [esp + 0x39]
push edi
push eax
mov byte [esp + 0x40], 0
call fcn.00521f30
add esp, 0xc
push 0x104
lea ecx, [esp + 0x38]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x10]
call fcn.00401ea0
mov byte [esp + 0x150], 1
mov eax, dword [esp + 0xc]
push 0x5c
push eax
call fcn.0051bc1f
add esp, 8
cmp eax, edi
je 0x4039d7
sub eax, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jle 0x4039d7
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00404c70
push eax
lea edx, [esp + 0x14]
push 0x571ee0
push edx
mov byte [esp + 0x15c], 2
call fcn.004056c0
add esp, 0xc
mov byte [esp + 0x150], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40390d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.00404bf0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 5
call fcn.00405790
mov byte [esp + 0x150], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403960
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x12
push str.AssistShell.exe_
lea ecx, [esp + 0x18]
call fcn.00401b30
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401b30
push 1
push 0x571ef8
lea ecx, [esp + 0x18]
call fcn.00401b30
push 0x11
push str.__startup_autorun
lea ecx, [esp + 0x18]
call fcn.00401b30
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x1c]
call fcn.00412170
mov byte [esp + 0x150], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4039d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403a1d
mov ecx, dword [esp + 0x2c]
push str.IBKCNAssist
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x403a38
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x403a38
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x1c], vtable.CRegistry.0
cmp eax, edi
je 0x403a5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0051ac68
mov esp, ebp
pop ebp
ret