Function at 0x45a580
Capabilities:
Check if file exists
Delete file
Encode data using xor
Encrypt data using rc4 ksa
Get file attributes
Get number of processors
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b1631
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
mov eax, dword [str.SystemFileData.dat]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ecx
xor ebp, ebp
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebp
call fcn.004a6b87
lea ecx, [esp + 0x24]
push ecx
call fcn.00411130
mov esi, dword [eax]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x20]
call fcn.004a6b19
call fcn.0043e0f0
mov edx, dword [0x4d8cb8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
mov eax, dword [str.SystemFileData.z]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x21c], ebp
call fcn.004a6b87
lea ecx, [esp + 0x30]
push ecx
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [esp + 0x214], 1
call fcn.00414f10
mov esi, eax
push ebp
push esi
xor edi, edi
call fcn.004911a3
add esp, 8
cmp eax, 0xffffffff
jne 0x45a669
cmp edi, 2
je 0x45a78b
push 0x14
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push esi
call fcn.004911a3
add esp, 8
cmp eax, 0xffffffff
je 0x45a648
mov eax, 1
cmp eax, 1
lea ecx, [esp + 0x2c]
sete byte [esp + 0x13]
mov byte [esp + 0x214], 0
call fcn.004a6b19
mov al, byte [esp + 0x13]
test al, al
je 0x45a8ea
mov edx, dword [ebx + 4]
push str.Loading_Local_Crc_Info
push edx
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov al, byte [esp + 0x1f]
add esp, 0xc
mov byte [esp + 0x38], al
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov eax, dword [str.SystemFileData.z]
lea ecx, [esp + 0x58]
push ebp
lea edx, [esp + 0x3c]
push ecx
push edx
push ecx
mov byte [esp + 0x224], 2
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004a6b87
lea ecx, [esp + 0x3c]
push ecx
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [esp + 0x220], 3
call fcn.00414f10
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004a6b87
mov ecx, ebx
call fcn.0045afa0
cmp eax, ebp
lea ecx, [esp + 0x2c]
sete byte [esp + 0x13]
mov byte [esp + 0x214], 2
call fcn.004a6b19
mov al, byte [esp + 0x13]
test al, al
je 0x45a792
mov edx, dword [ebx + 4]
push str.Loading_Local_Crc_Info_Faile.
push edx
call fcn.0044f8c0
push eax
call fcn.0044fb50
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
add esp, 0xc
cmp esi, edi
mov byte [esp + 0x214], 0
je 0x45a771
push ebp
mov ecx, esi
call fcn.0045f5d0
add esi, 8
cmp esi, edi
jne 0x45a75e
mov esi, dword [esp + 0x3c]
push esi
call fcn.004a6883
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
jmp 0x45af09
xor eax, eax
jmp 0x45a66e
push 0x4dca10
lea ecx, [esp + 0x1c]
call fcn.004a6b87
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
mov byte [esp + 0x214], 4
je 0x45a888
lea edi, [ebx + 0x40]
push esi
lea ecx, [esp + 0x4c]
call fcn.004a688e
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x214], 5
push ecx
lea ecx, [esp + 0x1c]
call fcn.004a6c52
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x214], 4
call fcn.004a6b19
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.004a6c52
lea ecx, [esp + 0x14]
call fcn.004a701b
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x60]
call fcn.004a688e
lea edx, [esp + 0x18]
lea ecx, [esp + 0x60]
push edx
mov byte [esp + 0x218], 6
call fcn.004a688e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x21c], 7
call fcn.0045e490
lea ecx, [esp + 0x60]
mov byte [esp + 0x214], 8
call fcn.004a6b19
lea ecx, [esp + 0x5c]
mov byte [esp + 0x214], 4
call fcn.004a6b19
mov eax, dword [esp + 0x40]
add esi, 8
cmp esi, eax
jne 0x45a7bb
mov eax, dword [esp + 0x58]
mov ecx, dword [ebx + 4]
push eax
push str.Crc_Info_Loding_Success.__d
push ecx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x214], 2
call fcn.004a6b19
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp esi, edi
mov byte [esp + 0x214], 0
je 0x45a8dc
push ebp
mov ecx, esi
call fcn.0045f5d0
add esi, 8
cmp esi, edi
jne 0x45a8c9
mov esi, dword [esp + 0x3c]
push esi
call fcn.004a6883
add esp, 4
jmp 0x45ae6e
mov edi, dword [esp + 0x21c]
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x45a8fe
mov dword [esp + 0x34], ebp
jmp 0x45a90c
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x34], eax
mov ebp, eax
mov ecx, dword [esp + 0x20]
call fcn.0043e140
mov edx, dword [ebx + 4]
push ebp
push str.Make_Local_Crc_Info._Size_:__d
push edx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0x10
mov eax, dword [str.SystemFileData.dat]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004a6b87
lea ecx, [esp + 0x3c]
push ecx
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [esp + 0x22c], 9
call fcn.00414f10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
mov byte [esp + 0x214], 0
call fcn.004a6b19
lea ecx, [esp + 0x68]
call fcn.00473460
test esi, esi
mov byte [esp + 0x214], 0xa
mov dword [esp + 0x2c], 0
je 0x45aee1
push ebp
lea edx, [esp + 0x18]
push str._d_r_n
push edx
call fcn.004a1aae
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, dword [eax - 8]
push 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x34]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x54], ebp
jle 0x45ad3c
jmp 0x45a9fd
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x21c]
mov esi, dword [esp + 0x30]
mov ecx, ebx
call fcn.0045c570
test eax, eax
jne 0x45ae8c
push 0x4dca10
lea ecx, [esp + 0x1c]
call fcn.004a6b87
mov eax, dword [edi + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x214], 0xb
lea esi, [eax + ebp*8]
push esi
call fcn.004a6c52
mov eax, dword [esi + 4]
push ebp
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0045e470
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.004a688e
lea ecx, [esp + 0x28]
push ecx
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [esp + 0x214], 0xc
call fcn.00414f10
xor edi, edi
mov esi, eax
push edi
push esi
call fcn.004911a3
add esp, 8
cmp eax, 0xffffffff
jne 0x45aa9f
cmp edi, 2
je 0x45ab65
push 0x14
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call fcn.004911a3
add esp, 8
cmp eax, 0xffffffff
je 0x45aa7d
mov eax, 1
cmp eax, 1
lea ecx, [esp + 0x24]
sete bl
mov byte [esp + 0x214], 0xb
call fcn.004a6b19
test bl, bl
je 0x45ab6c
mov ebp, dword [esp + 0x18]
call fcn.0043a620
mov ebx, eax
mov ecx, 0x2000
xor eax, eax
mov edi, 0x4f6fc0
push 0x4d12f8
push ebp
rep stosd dword es:[edi], eax
xor esi, esi
call fcn.00490fb7
mov edi, eax
add esp, 8
test edi, edi
je 0x45ab5b
push edi
push 0x8000
push 1
push 0x4f6fc0
call fcn.004921db
add esp, 0x10
test eax, eax
je 0x45ab52
not esi
test eax, eax
mov edx, 0x4f6fc0
mov ecx, esi
je 0x45ab35
lea esi, [eax]
mov ebp, ecx
xor eax, eax
mov al, byte [edx]
and ebp, 0xff
xor ebp, eax
shr ecx, 8
mov eax, dword [ebx + ebp*4 + 4]
xor ecx, eax
inc edx
dec esi
jne 0x45ab1a
push edi
push 0x8000
not ecx
push 1
push 0x4f6fc0
mov esi, ecx
call fcn.004921db
add esp, 0x10
test eax, eax
jne 0x45ab0b
push edi
call fcn.00490ccd
add esp, 4
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x1c], esi
jmp 0x45ab96
xor eax, eax
jmp 0x45aaa4
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
mov eax, dword [edx + 4]
push str.Find_MakeLocalCrc_Not_exist_:__s__lu
push eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.004a6c52
lea ecx, [esp + 0x14]
call fcn.004a701b
lea edx, [esp + 0x14]
lea ecx, [esp + 0x38]
push edx
call fcn.004a688e
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x218], 0xd
call fcn.004a688e
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x38]
lea eax, [esp + 0x5c]
push edx
push eax
add ecx, 0x40
mov byte [esp + 0x21c], 0xe
call fcn.0045e490
lea ecx, [esp + 0x3c]
mov byte [esp + 0x214], 0xf
call fcn.004a6b19
lea ecx, [esp + 0x38]
mov byte [esp + 0x214], 0xb
call fcn.004a6b19
call fcn.0040c220
mov esi, eax
mov eax, dword [0x4eefa0]
test eax, eax
jne 0x45ac93
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x34]
add eax, 0x228
push str.Analyzing...
lea ecx, [esp + 0x24]
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], ebx
call fcn.004a6b87
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 4]
push edx
add ecx, 0x130
mov byte [esp + 0x218], 0x10
call fcn.004a612d
mov ecx, dword [esi + 4]
call fcn.004184f0
lea ecx, [esp + 0x20]
mov dword [0x4eefa0], 1
mov byte [esp + 0x214], 0xb
call fcn.004a6b19
jmp 0x45ac97
mov ebx, dword [esp + 0x34]
mov eax, ebp
xor edx, edx
mov ecx, 0x64
div ecx
test edx, edx
jne 0x45acbe
mov eax, dword [esi + 4]
push 1
add eax, 0x228
push edx
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x44], ebp
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea edi, [ebp + 1]
cmp ebx, edi
jne 0x45ace0
mov ecx, dword [esi + 4]
push 0x4dca10
add ecx, 0x130
call fcn.004a612d
mov ecx, dword [esi + 4]
call fcn.004184f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
push str._s__lu_r_n
push edx
call fcn.004a1aae
mov eax, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x2c]
mov ecx, dword [eax - 8]
push 0
push edx
push ecx
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x18]
mov byte [esp + 0x214], 0xa
call fcn.004a6b19
cmp edi, ebx
mov dword [esp + 0x54], edi
jl 0x45a9ea
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [str.SystemFileData.z]
push 0
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.004a6b87
lea eax, [esp + 0x30]
push eax
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [esp + 0x21c], 0x11
call fcn.00414f10
push eax
lea ecx, [esp + 0x74]
call fcn.004737d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x214], 0xa
call fcn.004a6b19
mov ecx, dword [str.dhelsaktmxj]
push ecx
lea ecx, [esp + 0x6c]
call fcn.004764e0
mov edx, dword [str.SystemFileData.dat]
push 0x10000
push 7
push 1
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004a6b87
lea eax, [esp + 0x38]
push eax
call fcn.00411130
add esp, 8
mov ecx, eax
mov byte [esp + 0x224], 0x12
call fcn.00414f10
push eax
lea ecx, [esp + 0x7c]
call fcn.004754a0
lea ecx, [esp + 0x24]
mov byte [esp + 0x214], 0xa
call fcn.004a6b19
push 0
push 0
lea ecx, [esp + 0x70]
call fcn.00473f00
mov edx, dword [str.SystemFileData.dat]
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004a6b87
lea eax, [esp + 0x34]
push eax
call fcn.00411130
mov esi, dword [eax]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
call fcn.004a6b19
mov ecx, dword [ebx + 4]
push str.Crc_Info_Make_Success.
push ecx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
lea ecx, [esp + 0x68]
mov byte [esp + 0x214], 0
call fcn.004736c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x214], 0xffffffff
call fcn.004a6b19
mov eax, 1
jmp 0x45af1f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [str.SystemFileData.dat]
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004a6b87
lea eax, [esp + 0x28]
push eax
call fcn.00411130
mov esi, dword [eax]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x24]
call fcn.004a6b19
mov ecx, dword [ebx + 4]
push str.For_ing_MakeLocalCrcInfoList
push ecx
jmp 0x45aeea
mov edx, dword [ebx + 4]
push str.Crc_Info_TempFile_Make_Faile.
push edx
call fcn.0044f8c0
push eax
call fcn.0044fb50
add esp, 0xc
lea ecx, [esp + 0x68]
mov byte [esp + 0x214], 0
call fcn.004736c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x214], 0xffffffff
call fcn.004a6b19
xor eax, eax
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x208
ret 4