Function at 0x69b3e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x753a69
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00600b70
test eax, eax
jne 0x69b654
mov eax, dword [esi + 0x24]
mov edi, dword [eax]
mov edx, dword [esi]
sub esp, 8
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
mov ecx, esi
call dword [edx + 0x148]
mov ecx, dword [esi + 0x24]
call dword [edi + 0xa4]
test eax, eax
je 0x69b654
mov ecx, dword [esi + 0x128]
xor edi, edi
cmp ecx, edi
je 0x69b452
mov edx, dword [ecx]
call dword [edx + 0x28]
cmp eax, 7
je 0x69b909
mov eax, dword [esi + 0x128]
cmp eax, edi
je 0x69b472
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x128], edi
push 0x7f4928
push edi
call fcn.005d0140
mov ebx, eax
add esp, 8
cmp ebx, edi
mov dword [esp + 0x24], ebx
je 0x69b909
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push str.boat
mov ecx, ebx
call fcn.005ff9a0
test eax, eax
je 0x69b909
mov ecx, dword [esp + 0x14]
mov ax, word [esi + 0x9e]
cmp cx, ax
mov ebp, ecx
jb 0x69b4c1
mov ebp, eax
push 0x38
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov dword [esp + 0xa4], edi
je 0x69b4e5
push 1
mov ecx, eax
call fcn.005c0240
jmp 0x69b4e7
xor eax, eax
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x128], eax
mov dword [eax + 8], ecx
mov ax, word [esi + 0x9e]
mov ecx, dword [esi + 0x128]
mov edx, dword [ecx]
mov dword [esp + 0xa4], 0xffffffff
push eax
call dword [edx + 0x14]
cmp word [esi + 0x9e], 0
jbe 0x69b5af
movzx ecx, bp
mov dword [esp + 0x28], ecx
push 0
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
movzx ebx, di
mov eax, ebx
cdq
idiv dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], esp
sub esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
lea eax, [eax + edx*8]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.006062b0
mov ecx, dword [esi + 0x128]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
mov ebp, dword [esp + 0x34]
add esp, 0x18
add ecx, 0x18
push ebx
mov dword [esp + 0x38], edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x34]
add edi, 1
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
cmp di, word [esi + 0x9e]
jb 0x69b526
mov ebx, dword [esp + 0x24]
cmp dword [esi + 0x140], 0
jne 0x69b909
push 0
push esi
lea ecx, [esp + 0x38]
call fcn.00602940
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
and edx, 2
push edx
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esi + 0x2c]
mov dword [eax + 4], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], esp
push eax
push ebx
mov dword [esp + 0xbc], 1
call fcn.00603a80
push 0
push 0x86774c
push 0x85da04
push 0
push eax
call fcn.0071f44c
add esp, 0x2c
lea ecx, [esp + 0x30]
mov edi, eax
mov dword [esp + 0xa4], 0xffffffff
call fcn.00437a90
test edi, edi
je 0x69b909
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x140], ecx
mov edx, dword [edi]
mov dword [edi + 0xa8], 0x42c80000
mov eax, dword [esi + 0x60]
push eax
mov ecx, edi
call dword [edx + 0x1c0]
jmp 0x69b909
cmp word [esi + 0x64], 0
je 0x69b8e5
cmp word [esi + 0x9e], 0
je 0x69b8e5
mov ecx, dword [0x912e94]
cmp dword [ecx + 0x1c], 0
je 0x69b8e5
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x69b6cd
mov edx, dword [ecx]
call dword [edx + 0x48]
cmp eax, 2
jb 0x69b6cd
test byte [esi + 0x154], 1
jne 0x69b6cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
test eax, eax
je 0x69b6cd
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x68]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
mov ecx, dword [esi + 0x68]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
jmp 0x69b6dc
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x14c]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [esi + 0x128]
test eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
je 0x69b71c
mov dx, word [eax + 0x2c]
cmp dx, word [esi + 0x9e]
jb 0x69b71c
lea ecx, [esp + 0x18]
push ecx
lea ecx, [eax + 0xc]
call fcn.00558c00
test al, al
jne 0x69b909
mov eax, dword [esi + 0x128]
test eax, eax
je 0x69b742
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax + 4]
lea ecx, [ecx + eax + 4]
push 1
call dword [edx]
mov dword [esi + 0x128], 0
test edi, edi
je 0x69b909
push 0x38
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xa4], 2
je 0x69b772
push 1
mov ecx, eax
call fcn.005bf580
jmp 0x69b774
xor eax, eax
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x128], eax
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x128]
add eax, 0xc
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov ax, word [esi + 0x9e]
mov ecx, dword [esi + 0x128]
mov edx, dword [ecx]
mov dword [esp + 0xa4], 0xffffffff
push eax
call dword [edx + 0x14]
push 0
sub esp, 0xc
mov eax, esp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
push ecx
mov ecx, dword [0x912e94]
call fcn.005b0290
movzx edx, word [esi + 0x9e]
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], edi
call fcn.0069b370
mov ecx, dword [0x912e94]
mov edx, dword [ecx + 0x1c]
push 0x100
lea eax, [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0xb0], 3
call fcn.0063add0
cmp dword [esp + 0x88], 0
jne 0x69b836
sub esp, 0xc
mov eax, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
call fcn.006135c0
xor ebx, ebx
mov edi, dword [esp + 0x8c]
nop
mov eax, edi
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
movzx edx, bx
add ecx, 0x18
push edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
movzx eax, word [esi + 0x9e]
add ebx, 1
cmp ebx, eax
jae 0x69b88c
test edi, edi
jne 0x69b840
jmp 0x69b838
cmp dword [0x98be98], 0
je 0x69b8cf
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x69b8cf
mov ecx, dword [0x912e94]
mov edx, dword [ecx + 0x1c]
push 0xff
push 0xffffffffffffffff
push 0
push 0x1388
mov eax, esi
mov esi, dword [esi + 0xc]
push str.images_point.img
push eax
push edx
call fcn.005e7050
add esp, 0x1c
test esi, esi
jne 0x69b8a0
lea ecx, [esp + 0x48]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00699950
jmp 0x69b909
mov eax, dword [esi + 0x128]
test eax, eax
je 0x69b909
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x128], 0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret