Function at 0x49abd8
Capabilities:
Copy file
Create process on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2d
push 0
push 0
dec ecx
jne 0x49abe0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49b17f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x14]
mov edx, dword [0x4a36c4]
mov edx, dword [edx]
call fcn.004048d8
mov eax, dword [ebp - 0x14]
call fcn.0045e4f8
lea edx, [ebp - 0x10]
call fcn.0045d338
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [0x4a39fc]
mov edx, dword [edx]
call fcn.004048d8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 8]
pop edx
call fcn.004049ec
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402b48
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00408cfc
test eax, eax
je 0x49b14c
xor eax, eax
push ebp
push 0x49acd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0045e994
test al, al
je 0x49ac9f
mov eax, dword [ebp - 8]
call fcn.00409490
mov eax, dword [ebp - 8]
call fcn.0045e994
test al, al
je 0x49ac9f
xor eax, eax
call fcn.00404624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b14c
push 0
mov eax, dword [ebp - 8]
call fcn.00404ba0
mov ebx, eax
push ebx
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402b48
mov eax, dword [ebp - 0x20]
call fcn.00404ba0
push eax
call sub.kernel32.dll_CopyFileA
push 4
push ebx
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49ace0
xor eax, eax
push ebp
push 0x49b13d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49ad38
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call fcn.0045feac
mov eax, dword [ebp - 0x24]
mov edx, 0x49b198
call fcn.00404aec
je 0x49ad2a
lea eax, [ebp - 0x28]
call fcn.0045feac
mov eax, dword [ebp - 0x28]
mov edx, 0x49b1a8
call fcn.00404aec
jne 0x49ad2e
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49ad42
lea eax, [ebp - 0x128]
mov edx, dword [0x4a399c]
mov edx, dword [edx]
call fcn.004033d8
lea eax, [ebp - 0x128]
mov edx, 0x49b1b0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004030fc
jne 0x49af08
cmp byte [ebp - 9], 0
jne 0x49ae68
xor eax, eax
push ebp
push 0x49adb0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x12c]
mov edx, dword [0x4a3544]
mov edx, dword [edx]
call fcn.004048d8
mov eax, dword [ebp - 0x12c]
call fcn.00486d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49adba
push 0x3e8
call sub.kernel32.dll_Sleep_1
xor eax, eax
push ebp
push 0x49ae59
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x130]
mov edx, dword [0x4a39e4]
mov edx, dword [edx]
call fcn.004048d8
mov eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
call fcn.0045def0
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 8]
call fcn.004049ec
mov eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x13c]
mov edx, dword [0x4a38a4]
mov edx, dword [edx]
call fcn.004048d8
mov eax, dword [ebp - 0x13c]
push eax
lea eax, [ebp - 0x140]
mov edx, dword [0x4a3544]
mov edx, dword [edx]
call fcn.004048d8
mov eax, dword [ebp - 0x140]
pop edx
pop ecx
call fcn.00486bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49af08
xor eax, eax
push ebp
push 0x49aefe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49b1bc
push dword [ebp - 8]
push 0x49b1bc
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404a60
mov eax, dword [ebp - 0x144]
call fcn.00404ba0
push eax
lea eax, [ebp - 0x14c]
mov edx, dword [0x4a39fc]
mov edx, dword [edx]
call fcn.004048d8
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
xor edx, edx
call fcn.00409528
mov eax, dword [ebp - 0x148]
call fcn.00404ba0
push eax
lea eax, [ebp - 0x150]
call fcn.0045df98
mov eax, dword [ebp - 0x150]
call fcn.00404ba0
mov edx, eax
mov eax, 0x80000002
pop ecx
call fcn.0045ea5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49af08
lea eax, [ebp - 0x128]
mov edx, dword [0x4a399c]
mov edx, dword [edx]
call fcn.004033d8
lea eax, [ebp - 0x128]
mov edx, 0x49b1c0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004030fc
jne 0x49afd6
xor eax, eax
push ebp
push 0x49afcc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49b1bc
push dword [ebp - 8]
push 0x49b1bc
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00404a60
mov eax, dword [ebp - 0x154]
call fcn.00404ba0
push eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x4a39fc]
mov edx, dword [edx]
call fcn.004048d8
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
xor edx, edx
call fcn.00409528
mov eax, dword [ebp - 0x158]
call fcn.00404ba0
push eax
lea eax, [ebp - 0x160]
call fcn.0045df98
mov eax, dword [ebp - 0x160]
call fcn.00404ba0
mov edx, eax
mov eax, 0x80000002
pop ecx
call fcn.0045ea5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49afd6
lea edx, [ebp - 0x164]
mov eax, 1
call fcn.00402b48
cmp dword [ebp - 0x164], 0
jne 0x49b0b9
lea eax, [ebp - 0x128]
mov edx, dword [0x4a399c]
mov edx, dword [edx]
call fcn.004033d8
lea eax, [ebp - 0x128]
mov edx, 0x49b1b0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004030fc
jne 0x49b0a9
cmp byte [ebp - 9], 0
jne 0x49b097
call fcn.0045fe64
cmp eax, 2
jne 0x49b085
xor eax, eax
push ebp
push 0x49b069
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
mov edx, dword [0x4a3544]
mov edx, dword [edx]
call fcn.004048d8
mov edx, dword [ebp - 0x168]
xor eax, eax
call fcn.00486df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b0b9
push 0
mov eax, dword [ebp - 8]
call fcn.00404ba0
push eax
call sub.kernel32.dll_WinExec
jmp 0x49b0b9
push 0
mov eax, dword [ebp - 8]
call fcn.00404ba0
push eax
call sub.kernel32.dll_WinExec
jmp 0x49b0b9
push 0
mov eax, dword [ebp - 8]
call fcn.00404ba0
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x128]
mov edx, dword [0x4a36e0]
mov edx, dword [edx]
call fcn.004033d8
lea eax, [ebp - 0x128]
mov edx, 0x49b1b0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004030fc
jne 0x49b126
lea edx, [ebp - 0x16c]
mov eax, 1
call fcn.00402b48
cmp dword [ebp - 0x16c], 0
jne 0x49b126
xor eax, eax
push ebp
push 0x49b11c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049a860
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b126
call fcn.0040454c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b14c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b186
lea eax, [ebp - 0x16c]
mov edx, 0x11
call fcn.00404704
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00404704
lea eax, [ebp - 8]
call fcn.004046e0
ret