Function at 0x401000
Capabilities:
Encrypt data using rc4 ksa
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d8eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
lea eax, [ebp + 0x14]
push edi
test eax, eax
mov dword [ebp - 0x10], esp
jne 0x4014e7
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LockFile]
xor eax, eax
movsx ecx, ax
mov byte [ebp + ecx - 0x2c], al
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401047
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401056
inc eax
cmp ax, 0x100
jl 0x40103b
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x40106c
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x14], bl
jmp 0x401086
xor ebx, ebx
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x40108b
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x40109a
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x4010a9
mov eax, dword [ebp - 0x18]
xor ebx, ebx
movsx edx, cx
and eax, 0xff
lea esi, [ebp + edx - 0x2c]
mov bl, byte [eax + 0x384]
mov dl, byte [esi]
mov edi, edx
and edi, 0xff
add ebx, edi
mov edi, dword [ebp - 0x14]
and edi, 0xff
add ebx, edi
and ebx, 0x800000ff
jns 0x4010f2
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [ebp - 0x14], bl
mov edi, dword [ebp - 0x14]
and edi, 0xff
inc eax
mov bl, byte [ebp + edi - 0x2c]
lea edi, [ebp + edi - 0x2c]
mov byte [esi], bl
mov esi, 0x57
mov byte [edi], dl
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [ebp - 0x18], dl
jl 0x401084
mov edi, dword [ebp - 0x14]
and edi, 0xff
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401130
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x40113f
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x40114e
movsx eax, cx
mov dl, byte [ebp + eax - 0x2c]
xor ebx, ebx
lea esi, [ebp + eax - 0x2c]
mov eax, dword [ebp - 0x18]
and eax, 0xff
mov byte [ebp - 0x24], dl
and edx, 0xff
mov bl, byte [eax + 0x384]
add edi, ebx
add edx, edi
and edx, 0x800000ff
jns 0x401191
dec edx
or edx, 0xffffff00
inc edx
mov byte [ebp - 0x14], dl
mov edi, dword [ebp - 0x14]
and edi, 0xff
inc eax
mov dl, byte [ebp + edi - 0x2c]
mov byte [esi], dl
mov dl, byte [ebp - 0x24]
mov byte [ebp + edi - 0x2c], dl
mov esi, 0x57
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [ebp - 0x18], dl
jl 0x40112b
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
movsx ecx, ax
mov byte [ebp + ecx - 0x2c], al
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x4011dd
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x4011ec
inc eax
cmp ax, 0x100
jl 0x4011d1
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401202
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x14], bl
jmp 0x40121c
xor ebx, ebx
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401221
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401230
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x40123f
mov eax, dword [ebp - 0x18]
xor ebx, ebx
movsx edx, cx
and eax, 0xff
lea esi, [ebp + edx - 0x2c]
mov bl, byte [eax + 0x384]
mov dl, byte [esi]
mov edi, edx
and edi, 0xff
add ebx, edi
mov edi, dword [ebp - 0x14]
and edi, 0xff
add ebx, edi
and ebx, 0x800000ff
jns 0x401288
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [ebp - 0x14], bl
mov edi, dword [ebp - 0x14]
and edi, 0xff
inc eax
mov bl, byte [ebp + edi - 0x2c]
lea edi, [ebp + edi - 0x2c]
mov byte [esi], bl
mov esi, 0x57
mov byte [edi], dl
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [ebp - 0x18], dl
jl 0x40121a
mov edi, dword [ebp - 0x14]
and edi, 0xff
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x4012c6
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x4012d5
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x4012e4
movsx eax, cx
mov dl, byte [ebp + eax - 0x2c]
xor ebx, ebx
lea esi, [ebp + eax - 0x2c]
mov eax, dword [ebp - 0x18]
and eax, 0xff
mov byte [ebp - 0x24], dl
and edx, 0xff
mov bl, byte [eax + 0x384]
add edi, ebx
add edx, edi
and edx, 0x800000ff
jns 0x401327
dec edx
or edx, 0xffffff00
inc edx
mov byte [ebp - 0x14], dl
mov edi, dword [ebp - 0x14]
and edi, 0xff
inc eax
mov dl, byte [ebp + edi - 0x2c]
mov byte [esi], dl
mov dl, byte [ebp - 0x24]
mov byte [ebp + edi - 0x2c], dl
mov esi, 0x57
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [ebp - 0x18], dl
jl 0x4012c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
xor eax, eax
movsx edx, ax
mov byte [ebp + edx - 0x2c], al
xor eax, eax
lea edx, [ebp - 0x2c]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x40136e
xor eax, eax
lea edx, [ebp - 0x2c]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x40137d
inc eax
cmp ax, 0x100
jl 0x401362
xor eax, eax
lea edx, [ebp - 0x2c]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x401393
mov byte [ebp - 0x28], cl
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x14], cl
jmp 0x4013ad
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x2c]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x4013b2
xor eax, eax
lea edx, [ebp - 0x2c]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x4013c1
lea eax, [ebp - 0x2c]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x4013ce
movsx eax, cx
mov dl, byte [ebp + eax - 0x2c]
xor ebx, ebx
lea esi, [ebp + eax - 0x2c]
mov eax, dword [ebp - 0x18]
and eax, 0xff
mov edi, edx
and edi, 0xff
mov bl, byte [eax + 0x384]
add ebx, edi
mov edi, dword [ebp - 0x14]
and edi, 0xff
add ebx, edi
and ebx, 0x800000ff
jns 0x401419
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [ebp - 0x14], bl
mov edi, dword [ebp - 0x14]
and edi, 0xff
inc eax
mov bl, byte [ebp + edi - 0x2c]
lea edi, [ebp + edi - 0x2c]
mov byte [esi], bl
mov esi, 0x57
mov byte [edi], dl
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [ebp - 0x18], dl
jl 0x4013ab
mov edi, dword [ebp - 0x14]
and edi, 0xff
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401457
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x401466
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x401475
mov eax, dword [ebp - 0x18]
xor ebx, ebx
movsx edx, cx
and eax, 0xff
lea esi, [ebp + edx - 0x2c]
mov bl, byte [eax + 0x384]
mov dl, byte [esi]
add edi, ebx
mov byte [ebp - 0x24], dl
and edx, 0xff
add edx, edi
and edx, 0x800000ff
jns 0x4014b6
dec edx
or edx, 0xffffff00
inc edx
mov byte [ebp - 0x14], dl
mov edi, dword [ebp - 0x14]
and edi, 0xff
inc eax
mov dl, byte [ebp + edi - 0x2c]
mov byte [esi], dl
mov dl, byte [ebp - 0x24]
mov byte [ebp + edi - 0x2c], dl
mov esi, 0x57
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [ebp - 0x18], dl
jl 0x401452
mov eax, dword [0x4353d0]
mov dword [ebp - 4], 0
call dword [eax + 0x8c]
jmp 0x403d03
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10