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

Disassembly:
sub esp, 0x18
push ebx
push esi
lea eax, [esp + 0x24]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], esi
test eax, eax
jne 0x414ec5
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 [esp + ecx + 0x18], al
xor eax, eax
lea ecx, [esp + 0x18]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x4149e3
xor eax, eax
lea ecx, [esp + 0x18]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x4149f3
inc eax
cmp ax, 0x100
jl 0x4149d6
xor eax, eax
lea ecx, [esp + 0x18]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414a0a
mov byte [esp + 8], bl
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x14], bl
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414a30
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414a40
xor ecx, ecx
lea eax, [esp + 0x20]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x414a50
mov eax, dword [esp + 0x14]
xor ebx, ebx
movsx edx, cx
and eax, 0xff
and ebp, 0xff
lea esi, [esp + edx + 0x20]
mov bl, byte [eax + 0x384]
mov dl, byte [esi]
mov edi, edx
and edi, 0xff
add ebx, edi
add ebx, ebp
and ebx, 0x800000ff
jns 0x414a97
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov ebp, dword [esp + 0x10]
mov edi, ebp
and edi, 0xff
inc eax
mov bl, byte [esp + edi + 0x20]
lea edi, [esp + edi + 0x20]
mov byte [esi], bl
mov esi, 0x57
mov byte [edi], dl
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [esp + 0x14], dl
jl 0x414a2a
mov edi, ebp
and edi, 0xff
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414ada
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414aea
xor ecx, ecx
lea eax, [esp + 0x20]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x414afa
movsx eax, cx
mov dl, byte [esp + eax + 0x20]
xor ebx, ebx
lea esi, [esp + eax + 0x20]
mov eax, dword [esp + 0x14]
and eax, 0xff
mov ebp, edx
and ebp, 0xff
mov bl, byte [eax + 0x384]
add edi, ebx
add ebp, edi
mov ebx, ebp
and ebx, 0x800000ff
jns 0x414b3f
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov edi, dword [esp + 0x10]
and edi, 0xff
inc eax
mov bl, byte [esp + edi + 0x20]
mov byte [esi], bl
mov byte [esp + edi + 0x20], dl
cdq
mov esi, 0x57
idiv esi
inc ecx
cmp cx, 0x100
mov byte [esp + 0x14], dl
jl 0x414ad4
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 [esp + ecx + 0x20], al
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414b8c
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414b9c
inc eax
cmp ax, 0x100
jl 0x414b7f
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414bb3
mov byte [esp + 0x10], bl
mov byte [esp + 0x24], bl
mov ebp, dword [esp + 0x10]
mov byte [esp + 0x25], bl
mov byte [esp + 0x14], bl
jmp 0x414bd5
xor ebx, ebx
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414bdb
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414beb
xor ecx, ecx
lea eax, [esp + 0x20]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x414bfb
mov eax, dword [esp + 0x14]
xor ebx, ebx
movsx edx, cx
and eax, 0xff
and ebp, 0xff
lea esi, [esp + edx + 0x20]
mov bl, byte [eax + 0x384]
mov dl, byte [esi]
mov edi, edx
and edi, 0xff
add ebx, edi
add ebx, ebp
and ebx, 0x800000ff
jns 0x414c42
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov ebp, dword [esp + 0x10]
mov edi, ebp
and edi, 0xff
inc eax
mov bl, byte [esp + edi + 0x20]
lea edi, [esp + edi + 0x20]
mov byte [esi], bl
mov esi, 0x57
mov byte [edi], dl
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [esp + 0x14], dl
jl 0x414bd3
mov edi, ebp
and edi, 0xff
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414c85
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414c95
xor ecx, ecx
lea eax, [esp + 0x20]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x414ca5
movsx eax, cx
mov dl, byte [esp + eax + 0x20]
xor ebx, ebx
lea esi, [esp + eax + 0x20]
mov eax, dword [esp + 0x14]
and eax, 0xff
mov ebp, edx
and ebp, 0xff
mov bl, byte [eax + 0x384]
add edi, ebx
add ebp, edi
mov ebx, ebp
and ebx, 0x800000ff
jns 0x414cea
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov edi, dword [esp + 0x10]
and edi, 0xff
inc eax
mov bl, byte [esp + edi + 0x20]
mov byte [esi], bl
mov byte [esp + edi + 0x20], dl
cdq
mov esi, 0x57
idiv esi
inc ecx
cmp cx, 0x100
mov byte [esp + 0x14], dl
jl 0x414c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
xor eax, eax
movsx edx, ax
mov byte [esp + edx + 0x20], al
xor eax, eax
lea edx, [esp + 0x20]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x414d32
xor eax, eax
lea edx, [esp + 0x20]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x414d42
inc eax
cmp ax, 0x100
jl 0x414d25
xor eax, eax
lea edx, [esp + 0x20]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x414d59
mov byte [esp + 0x10], cl
mov byte [esp + 0x24], cl
mov ebp, dword [esp + 0x10]
mov byte [esp + 0x25], cl
mov byte [esp + 0x14], cl
jmp 0x414d7b
xor ecx, ecx
xor eax, eax
lea edx, [esp + 0x20]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x414d81
xor eax, eax
lea edx, [esp + 0x20]
mov byte [edx], al
inc eax
inc edx
cmp ax, 0x100
jl 0x414d91
lea eax, [esp + 0x20]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x414d9f
movsx eax, cx
mov dl, byte [esp + eax + 0x20]
xor ebx, ebx
lea esi, [esp + eax + 0x20]
mov eax, dword [esp + 0x14]
and eax, 0xff
mov edi, edx
and edi, 0xff
and ebp, 0xff
mov bl, byte [eax + 0x384]
add ebx, edi
add ebx, ebp
and ebx, 0x800000ff
jns 0x414de8
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov ebp, dword [esp + 0x10]
mov edi, ebp
and edi, 0xff
inc eax
mov bl, byte [esp + edi + 0x20]
lea edi, [esp + edi + 0x20]
mov byte [esi], bl
mov esi, 0x57
mov byte [edi], dl
cdq
idiv esi
inc ecx
cmp cx, 0x100
mov byte [esp + 0x14], dl
jl 0x414d79
mov edi, ebp
and edi, 0xff
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414e2b
xor eax, eax
lea ecx, [esp + 0x20]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x414e3b
xor ecx, ecx
lea eax, [esp + 0x20]
mov byte [eax], cl
inc ecx
inc eax
cmp cx, 0x100
jl 0x414e4b
mov eax, dword [esp + 0x14]
xor ebx, ebx
movsx edx, cx
and eax, 0xff
lea esi, [esp + edx + 0x20]
mov bl, byte [eax + 0x384]
mov dl, byte [esi]
add edi, ebx
mov ebp, edx
and ebp, 0xff
add ebp, edi
mov ebx, ebp
and ebx, 0x800000ff
jns 0x414e8e
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov edi, dword [esp + 0x10]
and edi, 0xff
inc eax
mov bl, byte [esp + edi + 0x20]
mov byte [esi], bl
mov byte [esp + edi + 0x20], dl
cdq
mov esi, 0x57
idiv esi
inc ecx
cmp cx, 0x100
mov byte [esp + 0x14], dl
jl 0x414e25
mov esi, dword [esp + 0x18]
pop edi
pop ebp
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
mov dword [esi + 0x20], eax
mov edx, dword [0x4353d0]
push 0x416890
push 0
push 0
call dword [edx + 0x34]
mov dword [esi + 0x1c], eax
pop esi
pop ebx
add esp, 0x18
ret 4