Function at 0x4f3a10
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x910], 0
mov ecx, dword [ebp - 0x44]
mov dword [ecx], 0
cmp dword [ebp + 8], 0
jne 0x4f3a3f
xor eax, eax
jmp 0x4f3edb
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x808
push eax
call fcn.0041d007
add esp, 8
test eax, eax
jne 0x4f3a62
mov eax, 1
jmp 0x4f3edb
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417f40
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x808
push eax
call fcn.00419a50
add esp, 0xc
push 0x56fa80
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e1e40
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [0x592ee8]
mov dword [ebp - 8], edx
mov eax, dword [0x5acf2c]
mov dword [ebp - 4], eax
mov ecx, dword [0x5acf30]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x14], 0
je 0x4f3c52
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x193c]
push ecx
push 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x908]
push eax
call fcn.0041dbff
add esp, 0x10
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x90c], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x90c]
cmp ecx, dword [eax + 0x193c]
jl 0x4f3bd9
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x908]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00413327
add esp, 4
push 2
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041deb1
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041ddb9
add esp, 4
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004133fa
add esp, 4
mov edx, dword [ebp - 0x28]
add edx, 0x7ff
and edx, 0xfffffc00
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x193c], edx
xor ecx, ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x193c]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x908], ecx
push 0x56fa84
mov edx, dword [ebp + 8]
push edx
call fcn.004e1e40
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x193c]
push edx
push 4
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x908]
push ecx
call fcn.0041dbff
add esp, 0x10
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x90c], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x90c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x908]
mov dword [ebp - 0x20], ecx
push eax
push ebx
push ecx
push edx
push esi
push edi
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edi, 0
mov eax, dword [esi]
xor eax, ebx
add eax, edi
add ebx, edx
add edi, dword [ebp - 0x18]
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x4f3c14
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x928], 1
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x910], 0
mov ecx, dword [ebp - 0x44]
mov dword [ecx], 0
jmp 0x4f3c86
mov edx, dword [ebp + 8]
push edx
push str.Script_File_not_found:_s
mov eax, dword [ebp - 0x44]
add eax, 0x2544
push eax
call dword [0x55e2d0]
add esp, 0xc
mov ecx, dword [ebp - 0x44]
add ecx, 0x2544
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004f3620
xor eax, eax
jmp 0x4f3edb
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x908]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x91c], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x908]
mov edx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x914], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x908]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x920], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x908]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x918], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x908]
mov edx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x2660], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x908]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x48]
mov dword [eax + 0x924], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x908]
cmp dword [eax], 0x20
jl 0x4f3d68
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x908]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x2664], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x908]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x54]
mov dword [ecx + 0x2668], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x908]
mov edx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x58]
mov dword [edx + 0x266c], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x908]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x5c]
mov dword [eax + 0x2670], ecx
jmp 0x4f3d9c
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x2664], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x2668], 0
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x266c], 0
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x2670], 0
mov eax, 1
jmp 0x4f3edb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4