Function at 0x42a5a4
Capabilities:
Copy file
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x42a5ac
push ebx
push esi
push edi
mov eax, 0x42a4b4
call fcn.004065b8
mov edi, dword [0x42b990]
xor eax, eax
push ebp
push 0x42ab3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x42b93c]
call fcn.0040426c
mov eax, dword [0x42b960]
mov byte [eax], 0
lea edx, [ebp - 0x14]
mov eax, 0x34
call fcn.0040c79c
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, 0x42ab54
call fcn.0040e348
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00404668
jne 0x42a64b
mov eax, dword [0x42b960]
mov byte [eax], 1
lea edx, [ebp - 0x24]
mov eax, 0x35
call fcn.0040c79c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040e348
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.0040da70
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x42b93c]
call fcn.004042c0
jmp 0x42a670
lea edx, [ebp - 0x2c]
mov eax, 0x36
call fcn.0040c79c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040e348
mov eax, dword [ebp - 0x28]
mov edx, 4
call fcn.004232ac
mov eax, dword [0x42b90c]
mov dword [eax], 1
mov eax, dword [0x42b984]
mov dword [eax], 1
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov edx, 0x42ab64
call fcn.00407f7c
mov edx, dword [ebp - 0x30]
mov eax, edi
call fcn.004042c0
lea ecx, [ebp - 0x38]
mov eax, dword [edi]
mov edx, 0x42ab64
call fcn.00423168
mov edx, dword [ebp - 0x38]
mov eax, edi
call fcn.004042c0
lea edx, [ebp - 0x3c]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x3c]
mov edx, dword [edi]
call fcn.00423554
test al, al
je 0x42a82a
mov eax, dword [edi]
mov edx, 2
call fcn.00407df8
call fcn.00402970
mov esi, eax
test esi, esi
jle 0x42a741
mov ebx, 1
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.004029d0
mov eax, dword [ebp - 0x40]
mov edx, 0x42ab74
call fcn.00404668
jne 0x42a71d
mov eax, dword [0x42b90c]
inc dword [eax]
jmp 0x42a741
push dword [edi]
push 0x42ab84
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.004029d0
push dword [ebp - 0x44]
mov eax, edi
mov edx, 3
call fcn.004045e4
inc ebx
dec esi
jne 0x42a6fb
mov eax, dword [0x42b90c]
cmp dword [eax], 1
jle 0x42a763
mov eax, dword [0x42b82c]
cmp dword [eax], 0xf
jge 0x42ab1f
call fcn.004240f4
jmp 0x42ab1f
mov eax, dword [0x42b9c0]
xor ecx, ecx
mov edx, 0x44
call fcn.00402e48
mov eax, dword [0x42b9c0]
mov dword [eax], 0x44
mov eax, dword [0x42b9c0]
mov dword [eax + 0x2c], 1
mov eax, dword [0x42b9c0]
mov word [eax + 0x30], 1
mov eax, dword [0x42b8cc]
push eax
mov eax, dword [0x42b9c0]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [edi]
call fcn.0040471c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [edi]
mov edx, 0x10
call fcn.00407cd8
mov ebx, eax
mov eax, dword [0x42b82c]
cmp dword [eax], 0xf
jge 0x42a7da
call fcn.004240f4
push 0xffffffffffffffff
mov eax, dword [0x42b8cc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, ebx
call fcn.00407df0
mov eax, dword [0x42b8cc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [edi]
call fcn.0040c2f4
test al, al
je 0x42ab1f
mov eax, dword [edi]
call fcn.0040471c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040445c
mov eax, dword [ebp - 0x48]
call fcn.00407f14
jmp 0x42ab1f
mov eax, dword [0x42b90c]
mov dword [eax], 2
call fcn.00402970
mov esi, eax
test esi, esi
jle 0x42a86b
mov ebx, 1
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.004029d0
mov eax, dword [ebp - 0x4c]
mov edx, 0x42ab74
call fcn.00404668
jne 0x42a867
mov eax, dword [0x42b90c]
inc dword [eax]
jmp 0x42a86b
inc ebx
dec esi
jne 0x42a845
mov eax, dword [0x42b90c]
cmp dword [eax], 2
jg 0x42a8c6
lea edx, [ebp - 0x54]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov edx, 0x42ab90
call fcn.00407f7c
mov edx, dword [ebp - 0x50]
mov eax, edi
call fcn.004042c0
lea ecx, [ebp - 0x58]
mov eax, dword [edi]
mov edx, 0x42ab90
call fcn.00423168
mov edx, dword [ebp - 0x58]
mov eax, edi
call fcn.004042c0
lea edx, [ebp - 0x5c]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x5c]
mov edx, dword [edi]
call fcn.004239b0
push 0x42ab98
push 0x42ab9c
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x42ab1f
push pe_nt_image_headers32
push 0x42cd40
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
push 0
lea eax, [ebp - 0x64]
call fcn.0040d304
push dword [ebp - 0x64]
push 0x42abb0
push 0x42abbc
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x60]
call fcn.0040471c
push eax
push 0x42cd40
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x6c]
call fcn.0040d304
push dword [ebp - 0x6c]
push 0x42abb0
push 0x42abbc
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x68]
call fcn.0040471c
push eax
push 1
mov ecx, 0x42ab98
mov edx, 0x42abc4
mov eax, 0x80000002
call fcn.0040e67c
lea eax, [ebp - 0x74]
call fcn.0040d304
push dword [ebp - 0x74]
push 0x42abb0
push 0x42abbc
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x70]
call fcn.0040471c
push eax
push 1
mov ecx, 0x42ab98
mov edx, 0x42abfc
mov eax, 0x80000001
call fcn.0040e67c
lea edx, [ebp - 0x7c]
mov eax, 0x42cd40
call fcn.0040c65c
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0040c214
mov eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x88]
call fcn.0040d304
push dword [ebp - 0x88]
push 0x42abb0
push 0x42abbc
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.0040c214
mov edx, dword [ebp - 0x80]
pop eax
call fcn.00404668
je 0x42aa9b
mov eax, dword [0x42b90c]
cmp dword [eax], 2
jg 0x42aa58
push 5
lea eax, [ebp - 0x90]
call fcn.0040d304
push dword [ebp - 0x90]
push 0x42abb0
push 0x42abbc
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x8c]
call fcn.0040471c
push eax
call sub.kernel32.dll_WinExec
jmp 0x42ab1f
push 5
lea eax, [ebp - 0x98]
call fcn.0040d304
push dword [ebp - 0x98]
push 0x42abb0
push 0x42ac34
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x94]
call fcn.0040471c
push eax
call sub.kernel32.dll_WinExec
jmp 0x42ab1f
mov esi, 0x42ac40
mov edi, 0x42cd40
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
call fcn.0040d394
dec eax
sub eax, 2
jae 0x42aac4
mov eax, dword [0x42ba40]
mov byte [eax], 1
call fcn.0040bfb4
mov eax, dword [0x42ba40]
cmp byte [eax], 0
jne 0x42aaeb
push 0x42ad40
push 1
mov ecx, 0x42ad44
mov edx, 0x42ad4c
mov eax, 0x80000000
call fcn.0040e67c
jmp 0x42ab06
push 0x42ad5c
push 1
mov ecx, 0x42ad44
mov edx, 0x42ad4c
mov eax, 0x80000000
call fcn.0040e67c
mov eax, dword [0x42ba40]
mov byte [eax], 0
xor eax, eax
call fcn.0042993c
call fcn.0040ce30
call fcn.0042a320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ab44
lea eax, [ebp - 0x98]
mov edx, 0x22
call fcn.00404290
ret