Function at 0x414ac0
Capabilities:
Delete registry value
Encode data using xor
Persist via run registry key
Set registry value
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x419b9a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
push esi
push edi
mov eax, dword [0x4219cc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], esi
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0xd8]
mov byte [esp + 0x44], 1
call sub.MFC80.DLL_Ordinal_3761
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0x130]
call sub.MFC80.DLL_Ordinal_3761
push 0x41bd85
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_1482]
test eax, eax
jne 0x414b7a
push 0x40
push 0x41bf78
push 0x41d0bc
mov ecx, edi
call sub.MFC80.DLL_Ordinal_4104
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret
push esi
push 0x41d0b8
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
je 0x414b9d
push 0x40
push 0x41bf78
push 0x41d0a0
jmp 0x414b4a
push 0x41bd85
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_1482]
test eax, eax
jne 0x414bbe
push 0x40
push 0x41bf78
push 0x41d090
jmp 0x414b4a
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea edx, [esp + 0x24]
push edx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x4c], 2
call dword [sym.imp.MFC80.DLL_Ordinal_297]
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x50], 3
call dword [sym.imp.MFC80.DLL_Ordinal_297]
mov byte [esp + 0x4c], 2
call fcn.00414400
add esp, 0xc
test al, al
jne 0x414c34
push 0x40
push 0x41bf78
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov ecx, edi
call sub.MFC80.DLL_Ordinal_4104
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
jmp 0x414b51
push 0x41bf80
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403bb0
add esp, 0xc
lea ecx, [edi + 0x238]
mov byte [esp + 0x40], 4
call fcn.00401040
test al, al
lea ecx, [esp + 0x10]
je 0x414c9e
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_907]
push 0x41d08c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
lea ecx, [edi + 0x290]
call fcn.00401040
test al, al
lea ecx, [esp + 0x10]
je 0x414c97
push 0x41d08c
jmp 0x414ca3
push 0x41d088
jmp 0x414ca3
push str._0_0
call dword [sym.imp.MFC80.DLL_Ordinal_911]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
push 0x41bd85
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 5
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
test eax, eax
jle 0x414d47
mov ebp, dword [sym.imp.MFC80.DLL_Ordinal_2322]
jmp 0x414ce0
push str._02X
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00403bb0
add esp, 0xc
mov edi, eax
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 6
call dword [sym.imp.MFC80.DLL_Ordinal_865]
movsx edx, al
xor edx, 0x31
push edx
mov ecx, edi
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea eax, [esp + 0x24]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 5
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x10]
add esi, 1
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
cmp esi, eax
jl 0x414ce0
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
call fcn.00401b60
push str.ldp.dat
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x50], 7
call fcn.00403bb0
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 9
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x41bea8
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x414dc0
push esi
push 1
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll_fwrite]
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
lea eax, [esp + 0x20]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push connect
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414e78
lea ecx, [edi + 0x290]
call fcn.00401040
test al, al
je 0x414e5d
lea ecx, [esp + 0x34]
push ecx
call fcn.00401b60
push str.Honic.exe
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x50], 0xa
call fcn.00403bb0
add esp, 0x10
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov eax, dword [esp + 0x28]
push 1
push 0
push str.Honic
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
jmp 0x414e6d
mov ecx, dword [esp + 0x20]
push str.Honic
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret