Function at 0x461a94
Capabilities:
Copy file
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x461a9c
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040494c
xor eax, eax
push ebp
push 0x461dec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x40
je 0x461ad7
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0046086c
jmp 0x461dd1
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404544
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 8]
mov cl, 0x20
mov eax, dword [ebp - 0x1c]
call fcn.0045e9fc
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00404544
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0xc]
mov cl, 0x20
mov eax, dword [ebp - 0x1c]
call fcn.0045e9fc
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
call fcn.00404544
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x10]
mov cl, 0x20
mov eax, dword [ebp - 0x1c]
call fcn.0045e9fc
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.00404544
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x14]
mov cl, 0x20
mov eax, dword [ebp - 0x1c]
call fcn.0045e9fc
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
call fcn.00404544
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x18]
mov cl, 0x20
mov eax, dword [ebp - 0x1c]
call fcn.0045e9fc
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
call fcn.00404544
mov eax, dword [ebp - 8]
mov edx, 0x461e04
call fcn.004048a8
jne 0x461b9f
mov eax, dword [ebp - 0xc]
call fcn.0045e878
mov edx, eax
mov eax, dword [ebx + 0x330]
call fcn.00458e38
xor edx, edx
mov eax, dword [ebx + 0x330]
call fcn.00458ee8
mov eax, dword [ebp - 8]
mov edx, 0x461e18
call fcn.004048a8
jne 0x461bd7
mov eax, dword [ebp - 0x10]
call fcn.0045e878
lea ecx, [ebx + 0x33d]
mov edx, eax
mov eax, dword [ebx + 0x9c4342]
call fcn.0045f740
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x9c4342]
call fcn.0045f67c
mov eax, dword [ebp - 8]
mov edx, 0x461e2c
call fcn.004048a8
jne 0x461c02
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x9c4346]
call fcn.0045faac
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x9c4346]
call fcn.0045fb28
mov eax, dword [ebp - 8]
mov edx, 0x461e44
call fcn.004048a8
jne 0x461c1f
lea eax, [ebx + 0x335]
mov edx, dword [ebp - 0xc]
call fcn.00404500
mov eax, dword [ebp - 8]
mov edx, 0x461e5c
call fcn.004048a8
jne 0x461c41
mov byte [ebx + 0x334], 1
mov eax, ebx
call fcn.00453474
jmp 0x461dd1
mov eax, dword [ebp - 8]
mov edx, 0x461e78
call fcn.004048a8
jne 0x461c5d
mov dl, 1
mov eax, dword [ebx + 0x2f8]
call fcn.0043031c
mov eax, dword [ebp - 8]
mov edx, 0x461e90
call fcn.004048a8
jne 0x461c94
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x339]
call fcn.00408758
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x461eac
call fcn.004047b0
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.00460a04
mov eax, dword [ebp - 8]
mov edx, 0x461ebc
call fcn.004048a8
jne 0x461cae
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00408a78
mov eax, dword [ebp - 8]
mov edx, 0x461ed0
call fcn.004048a8
jne 0x461cc5
mov eax, dword [ebp - 0xc]
call fcn.00408a60
mov eax, dword [ebp - 8]
mov edx, 0x461ee4
call fcn.004048a8
jne 0x461ce4
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040495c
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 8]
mov edx, 0x461ef8
call fcn.004048a8
jne 0x461d0c
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040495c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040495c
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 8]
mov edx, 0x461f0c
call fcn.004048a8
jne 0x461d32
mov eax, dword [ebp - 0x10]
call fcn.0040495c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040495c
push eax
call sub.kernel32.dll_MoveFileA
mov eax, dword [ebp - 8]
mov edx, 0x461f20
call fcn.004048a8
jne 0x461d83
mov eax, dword [ebp - 0xc]
call fcn.00408a50
test al, al
je 0x461d69
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x461f34
call fcn.004047b0
mov edx, dword [ebp - 0x3c]
mov eax, ebx
call fcn.00460a04
jmp 0x461d83
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov edx, 0x461f48
call fcn.004047b0
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.00460a04
mov eax, dword [ebp - 8]
mov edx, 0x461f60
call fcn.004048a8
jne 0x461dd1
mov eax, dword [ebp - 0xc]
call fcn.0045e878
mov dword [ebx + 0x339], eax
push 0xffff
mov ecx, 0x461f78
mov dl, 1
mov eax, dword [0x4185e0]
call fcn.0041cb14
mov esi, eax
lea edx, [ebx + 0x339]
mov ecx, 4
mov eax, esi
call fcn.0041c868
mov eax, esi
call fcn.00403740
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461df3
lea eax, [ebp - 0x40]
mov edx, 0x10
call fcn.004044d0
ret