Function at 0x5a6b34
Capabilities:
Check for software breakpoints
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x438
push ebx
push esi
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x41]
mov edx, 0x100
xor ebx, ebx
mov dword [eax - 1], 0xff000000
lea eax, [eax + 4]
sub edx, 1
jne 0x5a6b4b
movzx ecx, byte [esp + 0x447]
mov eax, ebx
mov dword [esp + 0x20], ecx
mov esi, ebx
mov ecx, dword [esp + 0x444]
movzx edx, ch
mov dword [esp + 0x14], edx
movzx edx, byte [esp + 0x446]
push ebp
mov dword [esp + 0x14], edx
mov ebp, ebx
movzx edx, cl
mov ecx, ebx
push edi
mov edi, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], 0x33
cdq
idiv dword [esp + 0x14]
mov byte [esp + 0x10], al
mov eax, ecx
cdq
idiv dword [esp + 0x14]
add ecx, dword [esp + 0x18]
mov byte [esp + 0x12], al
mov eax, ebp
cdq
idiv dword [esp + 0x14]
add ebp, dword [esp + 0x1c]
mov byte [esp + 0x11], al
mov eax, edi
cdq
idiv dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add edi, edx
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [esp + esi*4 + 0x48], eax
inc esi
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp esi, 0x33
jle 0x5a6b9f
movzx eax, byte [esp + 0x453]
mov esi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x450]
sub esi, edx
movzx ecx, ah
mov edi, ecx
mov dword [esp + 0x30], ecx
movzx ecx, byte [esp + 0x452]
sub edi, dword [esp + 0x1c]
mov ebp, ecx
sub ebp, dword [esp + 0x18]
movzx eax, al
mov dword [esp + 0x34], eax
sub eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ebx, eax
mov ecx, dword [esp + 0x44c]
mov dword [esp + 0x28], 0x34
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
cdq
idiv dword [esp + 0x14]
add al, cl
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x18], ebp
add al, byte [esp + 0x44e]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x1c], edi
add al, ch
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x20]
cdq
idiv dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add al, byte [esp + 0x44f]
add dword [esp + 0x20], esi
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [esp + edx*4 + 0x48], eax
inc edx
mov eax, dword [esp + 0x24]
add eax, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
cmp edx, 0x66
jle 0x5a6c53
movzx eax, byte [esp + 0x457]
mov esi, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x454]
sub esi, dword [esp + 0x2c]
movzx ecx, ah
mov edi, ecx
mov dword [esp + 0x2c], ecx
movzx ecx, byte [esp + 0x456]
sub edi, dword [esp + 0x30]
mov ebp, ecx
sub ebp, dword [esp + 0x3c]
movzx eax, al
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x450]
mov dword [esp + 0x28], 0x67
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
cdq
idiv dword [esp + 0x14]
add al, cl
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x20]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x20], ebp
add al, byte [esp + 0x452]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x1c], edi
add al, ch
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add al, byte [esp + 0x453]
add dword [esp + 0x18], esi
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [esp + edx*4 + 0x48], eax
inc edx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
cmp edx, 0x99
jle 0x5a6d29
movzx eax, byte [esp + 0x45b]
mov ecx, dword [esp + 0x458]
mov esi, eax
sub esi, dword [esp + 0x40]
mov dword [esp + 0x34], eax
movzx eax, ch
mov edi, eax
mov dword [esp + 0x38], eax
movzx eax, byte [esp + 0x45a]
sub edi, dword [esp + 0x2c]
mov ebp, eax
sub ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
movzx eax, cl
mov ecx, dword [esp + 0x454]
mov dword [esp + 0x30], eax
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x28], 0x9a
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
cdq
idiv dword [esp + 0x14]
add al, cl
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x20]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x20], ebp
add al, byte [esp + 0x456]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x1c], edi
add al, ch
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add al, byte [esp + 0x457]
add dword [esp + 0x18], esi
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [esp + edx*4 + 0x48], eax
inc edx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
cmp edx, 0xcc
jle 0x5a6e02
mov eax, dword [esp + 0x45c]
movzx esi, byte [esp + 0x45f]
movzx ebp, byte [esp + 0x45e]
sub esi, dword [esp + 0x34]
sub ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x458]
movzx edi, ah
sub edi, dword [esp + 0x38]
movzx eax, al
sub eax, dword [esp + 0x30]
mov dword [esp + 0x28], 0xcd
mov ebx, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
cdq
idiv dword [esp + 0x14]
add al, cl
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x20]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x20], ebp
add al, byte [esp + 0x45a]
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x14]
add dword [esp + 0x1c], edi
add al, ch
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add al, byte [esp + 0x45b]
add dword [esp + 0x18], esi
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x10]
mov dword [esp + edx*4 + 0x48], eax
inc edx
mov eax, dword [esp + 0x24]
add eax, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
cmp edx, 0xff
jle 0x5a6ec3
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x48]
push 0
mov dword [esp + 0x3c], eax
pop ebx
mov ecx, dword [ecx + 0x20]
mov esi, ecx
neg esi
pop edi
sbb esi, esi
lea eax, [ecx + 0xc]
and esi, eax
pop ebp
test ecx, ecx
je 0x5a6f6f
mov ebx, dword [ecx + 4]
add ebx, 3
lea ebx, [ecx + ebx*4]
jmp 0x5a6f6f
push esi
lea ecx, [esp + 0x34]
call fcn.005a6f7c
add esi, 4
cmp esi, ebx
jb 0x5a6f62
pop esi
pop ebx
add esp, 0x438
ret