Function at 0x4a8a30
Capabilities:
Encrypt data using rc4 ksa
Read file on windows
Resolve function by parsing pe exports
Timestomp file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x525f96
mov eax, dword fs:[0]
push eax
sub esp, 0xa24
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0xa20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0xa38]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa48]
imul eax, eax, 0xea60
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xa4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ecx
xor eax, eax
jmp 0x4a8aa0
movzx ecx, word [eax + str.SoftwareCodeminion]
mov word [esp + eax + 0x5d4], cx
add eax, 2
cmp cx, bx
jne 0x4a8aa0
lea edi, [esp + 0x5d4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4a8ac1
mov ebp, dword [0x543520]
mov dword [edi], ebp
mov eax, edx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a8ad7
lea edi, [esp + 0x5d4]
sub eax, edx
add edi, 0xfffffffe
mov edi, edi
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4a8af0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x5d4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4a8b16
mov eax, dword [esp + 0x28]
mov dword [edi], ebp
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a8b30
lea edi, [esp + 0x5d4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4a8b50
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4a8b50
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x40]
push eax
push ebx
push 0xf003f
push ebx
and ecx, 3
push 0x5430d0
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x5f0]
push ecx
push SysReAllocString
call dword [0x57642c]
cmp eax, ebx
jne 0x4a8c35
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x558]
push eax
push ebx
push ebx
push 0x543574
push ecx
mov dword [esp + 0x44], 0x80
call dword [0x576438]
cmp eax, ebx
jne 0x4a8be0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x558]
push eax
call fcn.004a8780
add esp, 8
jmp 0x4a8c2a
mov ecx, dword [esp + 0x38]
push ecx
lea edi, [esp + 0x4d8]
call fcn.004a86f0
mov eax, edi
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4a8c00
sub eax, edx
add eax, 1
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x4d8]
push edx
push 1
push ebx
push 0x543574
push eax
call dword [0x57643c]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.shell32.dll
call dword [0x5764bc]
push 0x104
lea edx, [esp + 0x2d0]
push edx
mov esi, eax
call dword [0x5764b0]
cmp esi, ebx
je 0x4a8c7f
push str.SHGetSpecialFolderPathW
push esi
call dword [0x5764a0]
cmp eax, ebx
je 0x4a8c78
push 1
push 0x1a
lea ecx, [esp + 0x2d4]
push ecx
push ebx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x2cc]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4a8c90
mov edx, dword [0x5435ac]
mov cx, word [0x5435b0]
mov dword [eax], edx
mov word [eax + 4], cx
mov eax, dword [esp + 0x20]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a8cb5
lea edi, [esp + 0x2cc]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4a8cd0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x2cc]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4a8cf6
mov edx, dword [str..dat]
mov ecx, dword [0x5435b8]
mov dword [eax], edx
mov dx, word [0x5435bc]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x2d0]
push ecx
call dword [0x576464]
cmp eax, 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x4a8dad
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [esp + 0x7c], 0x10
jne 0x4a8dad
mov edi, dword [0x576458]
push ebx
push 6
push 3
push ebx
push ebx
push SysReAllocString
lea edx, [esp + 0x2e4]
push edx
call edi
mov esi, eax
cmp esi, ebx
je 0x4a8ecf
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax]
push ebx
push ebx
add ecx, 0xf
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call fcn.004a8860
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a8ecf
mov edi, dword [0x576458]
push ebx
push 6
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [esp + 0x2e4]
push ecx
call edi
mov esi, eax
cmp esi, ebx
je 0x4a8ecf
mov edx, dword [esp + 0x1c]
movzx eax, word [edx]
add eax, 0xf
xor edi, edi
test eax, eax
jle 0x4a8e15
call fcn.004e0031
cdq
mov ecx, 0xff
idiv ecx
push ebx
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], dl
lea edx, [esp + 0x30]
push edx
push 1
push eax
push esi
call ebp
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx]
add edi, 1
add edx, 0xf
cmp edi, edx
jl 0x4a8de3
push ebx
lea eax, [esp + 0x30]
push eax
push 4
lea ecx, [esp + 0x3c]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
add eax, 0x19
xor edi, edi
test eax, eax
jle 0x4a8e69
call fcn.004e0031
cdq
mov ecx, 0xff
idiv ecx
push ebx
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], dl
lea edx, [esp + 0x30]
push edx
push 1
push eax
push esi
call ebp
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx + 2]
add edi, 1
add edx, 0x19
cmp edi, edx
jl 0x4a8e36
mov eax, 1
mov word [esp + 0x44], ax
mov word [esp + 0x46], ax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
mov word [esp + 0x48], 0x7d2
mov word [esp + 0x4a], 7
mov word [esp + 0x50], 0xe
mov word [esp + 0x52], 0xd
mov word [esp + 0x54], 0x1e
mov word [esp + 0x56], bx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [esp + 0x20]
push edx
mov eax, edx
push eax
mov ecx, edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [0x576458]
push 4
push str.c:__
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
call fcn.004a7a90
push 0x104
lea edx, [esp + 0x830]
push edx
mov dword [esp + 0xa48], ebx
call dword [0x5764b0]
test eax, eax
je 0x4a8f82
lea eax, [esp + 0x82c]
lea edx, [eax + 2]
jmp 0x4a8f20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a8f20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x830]
push eax
lea ecx, [esp + 0x68]
call fcn.004a7a90
push 3
push ebx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x6c]
call fcn.004aa930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4c], 1
call fcn.004a79a0
mov byte [esp + 0xa40], bl
cmp dword [esp + 0x58], 8
jb 0x4a8f82
mov edx, dword [esp + 0x44]
push edx
call fcn.004e001f
add esp, 4
mov esi, dword [esp + 0x28]
mov eax, esi
lea edx, [eax + 2]
jmp 0x4a8f90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a8f90
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
cmp dword [esp + 0x78], 8
jae 0x4a8fae
lea edx, [esp + 0x64]
movzx ecx, word [esi + 4]
lea eax, [esi + eax*2 - 8]
push eax
movzx eax, word [esi]
push eax
push ecx
push ecx
push edx
push str._s_c_c_c__s.sys
lea edx, [esp + 0x2e4]
call fcn.004a0e70
lea ecx, [esp + 0x2e4]
push ecx
call fcn.005211eb
add esp, 0x1c
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x2d0]
push eax
call dword [0x576464]
cmp eax, 0xffffffff
je 0x4a905c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [esp + 0x7c], 0x10
jne 0x4a905c
push ebx
push 6
push 3
push ebx
push ebx
push SysReAllocString
lea ecx, [esp + 0x2e4]
push ecx
call edi
mov esi, eax
cmp esi, ebx
je 0x4a9175
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
push ebx
push ebx
add eax, 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea ecx, [esp + 0x24]
push ecx
push 4
lea edx, [esp + 0x40]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call fcn.004a8860
add esp, 4
jmp 0x4a916e
push ebx
push 6
push 2
push ebx
push ebx
push 0x40000000
lea eax, [esp + 0x2e4]
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x4a9175
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx + 2]
add edx, 0xa
xor edi, edi
test edx, edx
jle 0x4a90c3
lea ecx, [ecx]
call fcn.004e0031
cdq
mov ecx, 0xff
idiv ecx
push ebx
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], dl
lea edx, [esp + 0x2c]
push edx
push 1
push eax
push esi
call ebp
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx + 2]
add edi, 1
add edx, 0xa
cmp edi, edx
jl 0x4a9090
push ebx
lea eax, [esp + 0x2c]
push eax
push 4
lea ecx, [esp + 0x40]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x1c]
movzx eax, word [edx]
add eax, 5
xor edi, edi
test eax, eax
jle 0x4a9115
call fcn.004e0031
cdq
mov ecx, 0xff
idiv ecx
push ebx
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], dl
lea edx, [esp + 0x2c]
push edx
push 1
push eax
push esi
call ebp
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx]
add edi, 1
add edx, 5
cmp edi, edx
jl 0x4a90e3
mov eax, 1
mov word [esp + 0x44], ax
mov word [esp + 0x46], ax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
mov word [esp + 0x48], 0x7d2
mov word [esp + 0x4a], 7
mov word [esp + 0x50], 0xe
mov word [esp + 0x52], 0xd
mov word [esp + 0x54], 0x1e
mov word [esp + 0x56], bx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [esp + 0x20]
push edx
mov eax, edx
push eax
mov ecx, edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp ecx, edx
mov eax, ecx
jb 0x4a9185
mov eax, edx
mov esi, dword [esp + 0x30]
cmp esi, eax
jb 0x4a9195
cmp ecx, edx
mov esi, ecx
jb 0x4a9195
mov esi, edx
cmp dword [esp + 0x78], 8
jb 0x4a91a9
mov edx, dword [esp + 0x64]
push edx
call fcn.004e001f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa20]
xor ecx, esp
call fcn.004e0010
add esp, 0xa30
ret