Function at 0x423f20
Capabilities:
Delete file
Delete registry value
Move file
Persist via run registry key
Query or enumerate registry value
Set file attributes

Disassembly:
mov eax, 0x625c
call fcn.0044ced0
mov eax, dword [0x4895f0]
xor eax, esp
mov dword [esp + 0x6258], eax
mov eax, dword [str.KASMain.exe]
mov edx, dword [0x46a580]
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0xf8
mov ebx, ecx
mov ecx, dword [0x46a57c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x50]
push edi
push eax
mov dword [esp + 0x38], ebx
mov ebp, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.0044cf00
mov ecx, dword [str.KASTask.exe]
mov edx, dword [0x46a570]
mov eax, dword [0x46a574]
push 0xf8
mov dword [esp + 0x154], ecx
lea ecx, [esp + 0x160]
push edi
push ecx
mov dword [esp + 0x160], edx
mov dword [esp + 0x164], eax
call fcn.0044cf00
mov edx, dword [str.KAV32.exe]
movzx ecx, word [0x46a568]
mov eax, dword [0x46a564]
push 0xfa
mov dword [esp + 0x264], edx
lea edx, [esp + 0x26e]
push edi
push edx
mov dword [esp + 0x270], eax
mov word [esp + 0x274], cx
call fcn.0044cf00
mov eax, dword [str.KAVDX.exe]
movzx edx, word [0x46a55c]
mov ecx, dword [0x46a558]
push 0xfa
mov dword [esp + 0x374], eax
lea eax, [esp + 0x37e]
push edi
push eax
mov dword [esp + 0x380], ecx
mov word [esp + 0x384], dx
call fcn.0044cf00
mov ecx, dword [str.KAVStart.exe]
mov edx, dword [0x46a548]
mov eax, dword [0x46a54c]
push 0xf7
mov dword [esp + 0x488], edx
mov dword [esp + 0x484], ecx
mov cl, byte [0x46a550]
lea edx, [esp + 0x491]
push edi
push edx
mov dword [esp + 0x494], eax
mov byte [esp + 0x498], cl
call fcn.0044cf00
mov eax, dword [str.KMailMon.exe]
mov ecx, dword [0x46a538]
mov edx, dword [0x46a53c]
mov dword [esp + 0x590], eax
movzx eax, byte [0x46a540]
push 0xf7
mov dword [esp + 0x598], ecx
lea ecx, [esp + 0x5a1]
push edi
push ecx
mov dword [esp + 0x5a4], edx
mov byte [esp + 0x5a8], al
call fcn.0044cf00
add esp, 0x48
mov edx, dword [str.KPFW32.exe]
mov eax, dword [0x46a52c]
movzx ecx, word [0x46a530]
mov dword [esp + 0x658], edx
movzx edx, byte [0x46a532]
push 0xf9
mov dword [esp + 0x660], eax
lea eax, [esp + 0x667]
push edi
push eax
mov word [esp + 0x66c], cx
mov byte [esp + 0x66e], dl
call fcn.0044cf00
mov ecx, dword [str.KPFWSvc.exe]
mov edx, dword [0x46a520]
mov eax, dword [0x46a524]
push 0xf8
mov dword [esp + 0x76c], ecx
lea ecx, [esp + 0x778]
push edi
push ecx
mov dword [esp + 0x778], edx
mov dword [esp + 0x77c], eax
call fcn.0044cf00
mov edx, dword [str.KWatch.exe]
mov eax, dword [0x46a514]
movzx ecx, word [0x46a518]
mov dword [esp + 0x878], edx
movzx edx, byte [0x46a51a]
push 0xf9
mov dword [esp + 0x880], eax
lea eax, [esp + 0x887]
push edi
push eax
mov word [esp + 0x88c], cx
mov byte [esp + 0x88e], dl
call fcn.0044cf00
mov ecx, dword [str.TrojanDetector.exe]
mov edx, dword [0x46a500]
mov eax, dword [0x46a504]
mov dword [esp + 0x988], ecx
mov ecx, dword [0x46a508]
mov dword [esp + 0x98c], edx
movzx edx, word [0x46a50c]
mov dword [esp + 0x990], eax
movzx eax, byte [0x46a50e]
push 0xf1
mov dword [esp + 0x998], ecx
lea ecx, [esp + 0x99f]
push edi
push ecx
mov word [esp + 0x9a4], dx
mov byte [esp + 0x9a6], al
call fcn.0044cf00
push 0x3ff
lea edx, [esp + 0xe9d]
push edi
push edx
mov byte [esp + 0xea4], 0
call fcn.0044cf00
push 0x3ff
lea eax, [esp + 0xaa9]
push edi
mov esi, 0x400
push eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x70], edi
mov byte [esp + 0xab0], 0
call fcn.0044cf00
add esp, 0x48
cmp dword [ebx + 0xd0], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
jbe 0x42427c
lea esi, [ebx + 0xd4]
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x424261
mov dword [ebx + 0x50d4], ebp
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
add edi, ebp
add esi, 0x400
cmp edi, dword [ebx + 0xd0]
jb 0x424247
lea ecx, [esp + 0x10]
push ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4248fa
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [esp + 0x40]
lea edi, [eax + 0xa]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4242cb
mov ecx, dword [esp + 0x20]
push str.Debugger
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4242dc
push eax
call ebp
xor eax, eax
mov dword [esp + 0x20], eax
add esi, 0x104
sub edi, 1
jne 0x4242a6
test eax, eax
je 0x4242f2
push eax
call ebp
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x424305
push eax
call ebp
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, 0x400
push esi
lea eax, [esp + 0xe6c]
push 0
push eax
mov dword [esp + 0x30], 0
call fcn.0044cf00
push esi
lea ecx, [esp + 0xa78]
push 0
push ecx
mov dword [esp + 0x30], esi
call fcn.0044cf00
push 0x2800
lea edx, [esp + 0x1284]
push 0
push edx
mov dword [esp + 0x38], esi
call fcn.0044cf00
push 0x2800
lea eax, [esp + 0x3a90]
push 0
push eax
call fcn.0044cf00
add esp, 0x30
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa6c]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xe7c]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x42458c
xor eax, eax
lea ecx, [esp + 0xa68]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00412100
add esp, 4
cmp eax, 0xffffffff
je 0x42451c
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xa6c]
push eax
call fcn.00412150
add esp, 8
test eax, eax
je 0x42451c
cmp dword [ebx + 0xcc], 0
jbe 0x42451c
mov eax, dword [esp + 0x1c]
shl eax, 0xa
mov ecx, eax
lea edx, [esp + 0xe68]
sub ecx, edx
lea ebp, [esp + ecx + 0x3a68]
lea ecx, [esp + 0xa68]
sub eax, ecx
lea edi, [esp + eax + 0x1268]
mov eax, dword [ebx + 0xcc]
lea edx, [ebx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
nop
mov eax, 0x10
lea ecx, [esp + 0x30]
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x424468
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x424450
test eax, eax
je 0x4244c5
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x4244b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4244c5
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x4244b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4244c5
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x4244b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4244c5
movzx ecx, byte [ecx]
movzx esi, byte [edx]
sub esi, ecx
je 0x4244c5
test esi, esi
mov eax, 1
jg 0x4244c7
or eax, 0xffffffff
jmp 0x4244c7
xor eax, eax
test eax, eax
jne 0x424502
lea eax, [esp + 0xa68]
mov cl, byte [eax]
mov byte [edi + eax], cl
add eax, 1
test cl, cl
jne 0x4244d2
lea eax, [esp + 0xe68]
mov cl, byte [eax]
mov byte [eax + ebp], cl
add eax, 1
test cl, cl
jne 0x4244e5
add dword [esp + 0x1c], 1
add edi, 0x400
add ebp, 0x400
mov edx, dword [esp + 0x18]
add edx, 0x14
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
jne 0x424440
mov ebx, dword [esp + 0x2c]
mov esi, 0x400
push esi
lea edx, [esp + 0xe6c]
push 0
push edx
call fcn.0044cf00
push esi
lea eax, [esp + 0xa78]
push 0
push eax
mov dword [esp + 0x30], esi
call fcn.0044cf00
mov eax, dword [esp + 0x3c]
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa6c]
push edx
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xe7c]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4243b0
cmp dword [esp + 0x1c], 0
jle 0x4245ee
mov ebp, dword [esp + 0x1c]
xor esi, esi
lea esp, [esp]
push 0x20
lea edi, [esp + esi + 0x126c]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4245c5
mov dword [ebx + 0x50d4], 1
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x10]
lea eax, [esp + esi + 0x3a68]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esi, 0x400
sub ebp, 1
jne 0x4245a0
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
je 0x424603
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], edi
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, 0x400
push esi
lea eax, [esp + 0xe6c]
push edi
push eax
mov dword [esp + 0x30], edi
call fcn.0044cf00
push esi
lea ecx, [esp + 0xa78]
push edi
push ecx
mov dword [esp + 0x30], esi
call fcn.0044cf00
push 0x2800
lea edx, [esp + 0x1284]
push edi
push edx
mov dword [esp + 0x38], esi
call fcn.0044cf00
push 0x2800
lea eax, [esp + 0x3a90]
push edi
push eax
call fcn.0044cf00
add esp, 0x30
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa6c]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xe7c]
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x42487c
xor eax, eax
lea ecx, [esp + 0xa68]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00412100
add esp, 4
cmp eax, 0xffffffff
je 0x42480c
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xa6c]
push eax
call fcn.00412150
add esp, 8
test eax, eax
je 0x42480c
cmp dword [ebx + 0xcc], 0
jbe 0x42480c
mov eax, dword [esp + 0x1c]
shl eax, 0xa
mov ecx, eax
lea edx, [esp + 0xe68]
sub ecx, edx
lea ebp, [esp + ecx + 0x3a68]
lea ecx, [esp + 0xa68]
sub eax, ecx
lea edi, [esp + eax + 0x1268]
mov eax, dword [ebx + 0xcc]
lea edx, [ebx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov eax, 0x10
lea ecx, [esp + 0x30]
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x424758
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x424740
test eax, eax
je 0x4247b5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4247a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4247b5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4247a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4247b5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4247a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4247b5
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x4247b5
test esi, esi
mov eax, 1
jg 0x4247b7
or eax, 0xffffffff
jmp 0x4247b7
xor eax, eax
test eax, eax
jne 0x4247f2
lea eax, [esp + 0xa68]
mov cl, byte [eax]
mov byte [eax + edi], cl
add eax, 1
test cl, cl
jne 0x4247c2
lea eax, [esp + 0xe68]
mov cl, byte [eax]
mov byte [eax + ebp], cl
add eax, 1
test cl, cl
jne 0x4247d5
add dword [esp + 0x1c], 1
add edi, 0x400
add ebp, 0x400
mov edx, dword [esp + 0x18]
add edx, 0x14
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
jne 0x424733
mov ebx, dword [esp + 0x2c]
mov esi, 0x400
push esi
lea edx, [esp + 0xe6c]
push 0
push edx
call fcn.0044cf00
push esi
lea eax, [esp + 0xa78]
push 0
push eax
mov dword [esp + 0x30], esi
call fcn.0044cf00
mov eax, dword [esp + 0x3c]
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xa6c]
push edx
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xe7c]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4246a4
cmp dword [esp + 0x1c], 0
jle 0x4248de
mov ebp, dword [esp + 0x1c]
xor esi, esi
lea esp, [esp]
push 0x20
lea edi, [esp + esi + 0x126c]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4248b5
mov dword [ebx + 0x50d4], 1
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x10]
lea eax, [esp + esi + 0x3a68]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esi, 0x400
sub ebp, 1
jne 0x424890
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x4248f3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebp
mov ecx, ebx
call fcn.00423cd0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x424911
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x424920
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x6268]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ce74
add esp, 0x625c
ret