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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x42a56c
push ecx
push ebx
push esi
push edi
mov eax, 0x42a474
call fcn.004065b8
mov edi, dword [0x42b990]
xor eax, eax
push ebp
push 0x42aae5
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, 0x42aafc
call fcn.0040e348
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00404668
jne 0x42a60c
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 0x42a626
lea edx, [ebp - 0x28]
mov eax, 0x36
call fcn.0040c79c
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 - 0x30]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 0x42ab0c
call fcn.00407f7c
mov edx, dword [ebp - 0x2c]
mov eax, edi
call fcn.004042c0
lea ecx, [ebp - 0x34]
mov eax, dword [edi]
mov edx, 0x42ab0c
call fcn.00423168
mov edx, dword [ebp - 0x34]
mov eax, edi
call fcn.004042c0
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x38]
mov edx, dword [edi]
call fcn.00423548
test al, al
je 0x42a7e0
mov eax, dword [edi]
mov edx, 2
call fcn.00407df8
call fcn.00402970
mov esi, eax
test esi, esi
jle 0x42a6f7
mov ebx, 1
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.004029d0
mov eax, dword [ebp - 0x3c]
mov edx, 0x42ab1c
call fcn.00404668
jne 0x42a6d3
mov eax, dword [0x42b90c]
inc dword [eax]
jmp 0x42a6f7
push dword [edi]
push 0x42ab2c
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.004029d0
push dword [ebp - 0x40]
mov eax, edi
mov edx, 3
call fcn.004045e4
inc ebx
dec esi
jne 0x42a6b1
mov eax, dword [0x42b90c]
cmp dword [eax], 1
jle 0x42a719
mov eax, dword [0x42b82c]
cmp dword [eax], 0xf
jge 0x42aac7
call fcn.004240c0
jmp 0x42aac7
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 0x42a790
call fcn.004240c0
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 0x42aac7
mov eax, dword [edi]
call fcn.0040471c
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.0040445c
mov eax, dword [ebp - 0x44]
call fcn.00407f14
jmp 0x42aac7
mov eax, dword [0x42b90c]
mov dword [eax], 2
call fcn.00402970
mov esi, eax
test esi, esi
jle 0x42a821
mov ebx, 1
lea edx, [ebp - 0x48]
mov eax, ebx
call fcn.004029d0
mov eax, dword [ebp - 0x48]
mov edx, 0x42ab1c
call fcn.00404668
jne 0x42a81d
mov eax, dword [0x42b90c]
inc dword [eax]
jmp 0x42a821
inc ebx
dec esi
jne 0x42a7fb
push pe_nt_image_headers32
push 0x42cd3c
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
push 0
lea eax, [ebp - 0x50]
call fcn.0040d304
push dword [ebp - 0x50]
push 0x42ab38
push 0x42ab44
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x4c]
call fcn.0040471c
push eax
push 0x42cd3c
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x58]
call fcn.0040d304
push dword [ebp - 0x58]
push 0x42ab38
push 0x42ab44
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x54]
call fcn.0040471c
push eax
push 1
mov ecx, 0x42ab4c
mov edx, 0x42ab50
mov eax, 0x80000002
call fcn.0040e67c
lea eax, [ebp - 0x60]
call fcn.0040d304
push dword [ebp - 0x60]
push 0x42ab38
push 0x42ab44
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x5c]
call fcn.0040471c
push eax
push 1
mov ecx, 0x42ab4c
mov edx, 0x42ab88
mov eax, 0x80000001
call fcn.0040e67c
lea edx, [ebp - 0x68]
mov eax, 0x42cd3c
call fcn.0040c65c
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0040c214
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
call fcn.0040d304
push dword [ebp - 0x74]
push 0x42ab38
push 0x42ab44
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0040c214
mov edx, dword [ebp - 0x6c]
pop eax
call fcn.00404668
je 0x42a9bd
mov eax, dword [0x42b90c]
cmp dword [eax], 2
jg 0x42a980
push 5
lea eax, [ebp - 0x7c]
call fcn.0040d304
push dword [ebp - 0x7c]
push 0x42ab38
push 0x42ab44
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x78]
call fcn.0040471c
push eax
call sub.kernel32.dll_WinExec
jmp 0x42aac7
push 5
lea eax, [ebp - 0x84]
call fcn.0040d304
push dword [ebp - 0x84]
push 0x42ab38
push 0x42abc0
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x80]
call fcn.0040471c
push eax
call sub.kernel32.dll_WinExec
jmp 0x42aac7
mov eax, dword [0x42b90c]
cmp dword [eax], 2
jg 0x42aa30
lea edx, [ebp - 0x8c]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov edx, 0x42abd4
call fcn.00407f7c
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.004042c0
lea ecx, [ebp - 0x90]
mov eax, dword [edi]
mov edx, 0x42abd4
call fcn.00423168
mov edx, dword [ebp - 0x90]
mov eax, edi
call fcn.004042c0
lea edx, [ebp - 0x94]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x94]
mov edx, dword [edi]
call fcn.0042399c
mov esi, 0x42abdc
mov edi, 0x42cd3c
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
call fcn.0040d394
dec eax
sub eax, 2
jae 0x42aa59
mov eax, dword [0x42ba40]
mov byte [eax], 1
call fcn.0040bfb4
mov eax, dword [0x42ba40]
cmp byte [eax], 0
jne 0x42aa80
push 0x42acdc
push 1
mov ecx, 0x42ace0
mov edx, 0x42ace8
mov eax, 0x80000000
call fcn.0040e67c
jmp 0x42aa9b
push 0x42acf8
push 1
mov ecx, 0x42ace0
mov edx, 0x42ace8
mov eax, 0x80000000
call fcn.0040e67c
push 0x42ab4c
push 0x42acfc
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x42aac7
mov eax, dword [0x42ba40]
mov byte [eax], 0
xor eax, eax
call fcn.004298fc
call fcn.0040ce30
call fcn.0042a2e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aaec
lea eax, [ebp - 0x94]
mov edx, 0x21
call fcn.00404290
ret