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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x42c5ec
push ecx
push ebx
push esi
push edi
mov eax, 0x42c4e4
call fcn.00406650
mov edi, dword [0x42d994]
xor eax, eax
push ebp
push 0x42cb9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x42d940]
call fcn.00404304
mov eax, dword [0x42d964]
mov byte [eax], 0
lea edx, [ebp - 0x14]
mov eax, 0x34
call fcn.0040e05c
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, 0x42cbb4
call fcn.0040ee50
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00404700
jne 0x42c68a
mov eax, dword [0x42d964]
mov byte [eax], 1
lea edx, [ebp - 0x24]
mov eax, 0x35
call fcn.0040e05c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040ee50
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040ed74
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x42d940]
call fcn.00404358
jmp 0x42c6af
lea edx, [ebp - 0x2c]
mov eax, 0x36
call fcn.0040e05c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040ee50
mov eax, dword [ebp - 0x28]
mov edx, 4
call fcn.00423f34
mov eax, dword [0x42d910]
mov dword [eax], 1
mov eax, dword [0x42d988]
mov dword [eax], 1
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00402a10
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov edx, 0x42cbc4
call fcn.0040804c
mov edx, dword [ebp - 0x30]
mov eax, edi
call fcn.00404358
lea ecx, [ebp - 0x38]
mov eax, dword [edi]
mov edx, 0x42cbc4
call fcn.00423df0
mov edx, dword [ebp - 0x38]
mov eax, edi
call fcn.00404358
lea edx, [ebp - 0x3c]
xor eax, eax
call fcn.00402a10
mov eax, dword [ebp - 0x3c]
mov edx, dword [edi]
call fcn.004241dc
test al, al
je 0x42c869
mov eax, dword [edi]
mov edx, 2
call fcn.00407ec8
call fcn.004029b0
mov esi, eax
test esi, esi
jle 0x42c780
mov ebx, 1
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00402a10
mov eax, dword [ebp - 0x40]
mov edx, 0x42cbd4
call fcn.00404700
jne 0x42c75c
mov eax, dword [0x42d910]
inc dword [eax]
jmp 0x42c780
push dword [edi]
push 0x42cbe4
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.00402a10
push dword [ebp - 0x44]
mov eax, edi
mov edx, 3
call fcn.0040467c
inc ebx
dec esi
jne 0x42c73a
mov eax, dword [0x42d910]
cmp dword [eax], 1
jle 0x42c7a2
mov eax, dword [0x42d834]
cmp dword [eax], 0xf
jge 0x42cb7f
call fcn.00424dac
jmp 0x42cb7f
mov eax, dword [0x42d9c4]
xor ecx, ecx
mov edx, 0x44
call fcn.00402ec4
mov eax, dword [0x42d9c4]
mov dword [eax], 0x44
mov eax, dword [0x42d9c4]
mov dword [eax + 0x2c], 1
mov eax, dword [0x42d9c4]
mov word [eax + 0x30], 1
mov eax, dword [0x42d8d0]
push eax
mov eax, dword [0x42d9c4]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [edi]
call fcn.004047b4
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
mov eax, dword [edi]
mov edx, 0x10
call fcn.00407da8
mov ebx, eax
mov eax, dword [0x42d834]
cmp dword [eax], 0xf
jge 0x42c819
call fcn.00424dac
push 0xffffffffffffffff
mov eax, dword [0x42d8d0]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, ebx
call fcn.00407ec0
mov eax, dword [0x42d8d0]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [edi]
call fcn.0040dcbc
test al, al
je 0x42cb7f
mov eax, dword [edi]
call fcn.004047b4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004044f4
mov eax, dword [ebp - 0x48]
call fcn.00407fe4
jmp 0x42cb7f
mov eax, dword [0x42d910]
mov dword [eax], 2
call fcn.004029b0
mov esi, eax
test esi, esi
jle 0x42c8aa
mov ebx, 1
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.00402a10
mov eax, dword [ebp - 0x4c]
mov edx, 0x42cbd4
call fcn.00404700
jne 0x42c8a6
mov eax, dword [0x42d910]
inc dword [eax]
jmp 0x42c8aa
inc ebx
dec esi
jne 0x42c884
mov eax, dword [0x42d910]
cmp dword [eax], 2
jg 0x42c905
lea edx, [ebp - 0x54]
xor eax, eax
call fcn.00402a10
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov edx, 0x42cbf0
call fcn.0040804c
mov edx, dword [ebp - 0x50]
mov eax, edi
call fcn.00404358
lea ecx, [ebp - 0x58]
mov eax, dword [edi]
mov edx, 0x42cbf0
call fcn.00423df0
mov edx, dword [ebp - 0x58]
mov eax, edi
call fcn.00404358
lea edx, [ebp - 0x5c]
xor eax, eax
call fcn.00402a10
mov eax, dword [ebp - 0x5c]
mov edx, dword [edi]
call fcn.00424638
push 0x42cbf8
push 0x42cbfc
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x42cb7f
push 0x105
push 0x42ed3c
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
xor eax, eax
push ebp
push 0x42c981
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x68]
call fcn.0040eb3c
push dword [ebp - 0x68]
push 0x42cc08
push 0x42cc14
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.0040467c
mov eax, dword [ebp - 0x64]
call fcn.004047b4
mov edx, eax
lea eax, [ebp - 0x60]
call fcn.004044f4
mov eax, dword [ebp - 0x60]
call fcn.00407fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42c98b
push 0
lea eax, [ebp - 0x70]
call fcn.0040eb3c
push dword [ebp - 0x70]
push 0x42cc08
push 0x42cc14
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.0040467c
mov eax, dword [ebp - 0x6c]
call fcn.004047b4
push eax
push 0x42ed3c
call sub.KERNEL32.DLL_CopyFileA
lea eax, [ebp - 0x78]
call fcn.0040eb3c
push dword [ebp - 0x78]
push 0x42cc08
push 0x42cc14
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.0040467c
mov eax, dword [ebp - 0x74]
call fcn.004047b4
push eax
push 1
mov ecx, 0x42cbf8
mov edx, 0x42cc1c
mov eax, 0x80000002
call fcn.0040f168
lea eax, [ebp - 0x80]
call fcn.0040eb3c
push dword [ebp - 0x80]
push 0x42cc08
push 0x42cc14
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.0040467c
mov eax, dword [ebp - 0x7c]
call fcn.004047b4
push eax
push 1
mov ecx, 0x42cbf8
mov edx, 0x42cc1c
mov eax, 0x80000001
call fcn.0040f168
lea edx, [ebp - 0x88]
mov eax, 0x42ed3c
call fcn.0040dee8
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0040dd14
mov eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x94]
call fcn.0040eb3c
push dword [ebp - 0x94]
push 0x42cc08
push 0x42cc14
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.0040467c
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.0040dd14
mov edx, dword [ebp - 0x8c]
pop eax
call fcn.00404700
je 0x42cb44
mov eax, dword [0x42d910]
cmp dword [eax], 2
jg 0x42cb04
push 5
lea eax, [ebp - 0x9c]
call fcn.0040eb3c
push dword [ebp - 0x9c]
push 0x42cc08
push 0x42cc14
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.0040467c
mov eax, dword [ebp - 0x98]
call fcn.004047b4
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x42cb7f
push 5
lea eax, [ebp - 0xa4]
call fcn.0040eb3c
push dword [ebp - 0xa4]
push 0x42cc08
push 0x42cc54
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.0040467c
mov eax, dword [ebp - 0xa0]
call fcn.004047b4
push eax
call sub.KERNEL32.DLL_WinExec
jmp 0x42cb7f
call fcn.0040ebe4
dec eax
sub eax, 2
jae 0x42cb54
call fcn.0040da74
call fcn.0040e070
xor eax, eax
call fcn.0042bb3c
xor eax, eax
mov dword [0x42f140], eax
mov byte [0x42f144], 0
mov byte [0x42f145], 1
call fcn.0042b4b0
call fcn.0042b394
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cba4
lea eax, [ebp - 0xa4]
mov edx, 0x25
call fcn.00404328
ret