Function at 0x709de4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], ecx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x70b1ec
mov eax, dword [ebp + 0xc]
mov edx, eax
shl eax, 8
sub eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov dl, 0xff
sub dl, al
mov byte [ebp - 0x4d], dl
mov dl, 7
mov eax, ebx
call fcn.004f0ff4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x38], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
je 0x709e86
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x48], eax
jmp 0x709e90
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xc4]
mov dl, 1
call fcn.0072fab4
push eax
lea eax, [ebp - 0xb4]
mov dl, 1
call fcn.0072fab4
pop edx
call fcn.0048eaec
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
call fcn.0048eaec
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
call fcn.0048eaec
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x70b1ec
lea eax, [ebp - 0xc4]
mov dl, 1
call fcn.0072faa0
push eax
lea eax, [ebp - 0xb4]
mov dl, 1
call fcn.0072faa0
pop edx
call fcn.0048eaec
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0048eaec
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0048eaec
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x70b1ec
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xb4]
jle 0x709fcf
cmp dword [ebp - 0xb4], 0
jge 0x709f90
mov eax, dword [ebp - 0xb4]
neg eax
add dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
neg eax
sub dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0048eaec
dec eax
mov dword [ebp - 0x30], eax
jmp 0x709fcf
cmp dword [ebp - 0xc4], 0
jge 0x709fcf
mov eax, dword [ebp - 0xc4]
neg eax
add dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc4]
neg eax
sub dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0048eaec
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0xb0]
jle 0x70a061
cmp dword [ebp - 0xb0], 0
jge 0x70a022
mov eax, dword [ebp - 0xb0]
neg eax
add dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
neg eax
sub dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
call fcn.0048eaec
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x70a061
cmp dword [ebp - 0xc0], 0
jge 0x70a061
mov eax, dword [ebp - 0xc0]
neg eax
add dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc0]
neg eax
sub dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
call fcn.0048eaec
dec eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.0048eaec
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x30]
call fcn.0048eaec
dec eax
mov dword [ebp - 0x30], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x74]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.006ffdf0
test al, al
je 0x70b1ec
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006ffdf0
test al, al
je 0x70b1ec
cmp dword [ebp + 0x10], 0x1fffffff
je 0x70a99c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
movzx edx, byte [ebp - 7]
movzx eax, byte [ebp - 8]
call fcn.0048eb94
mov byte [ebp - 0x4c], al
movzx edx, byte [ebp - 0x4c]
movzx eax, byte [ebp - 6]
call fcn.0048eb94
mov dl, 0xff
sub dl, al
mov byte [ebp - 0x4c], dl
movzx eax, byte [ebp - 0x4c]
add byte [ebp - 8], al
movzx eax, byte [ebp - 0x4c]
add byte [ebp - 7], al
movzx eax, byte [ebp - 0x4c]
add byte [ebp - 6], al
cmp dword [ebp + 0xc], 0
je 0x70a46d
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x70a265
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70a7d6
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70a254
inc ebx
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0xb4]
add edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc4]
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 3]
movzx edx, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
shr eax, 2
add cl, al
movzx eax, cl
movzx edx, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
movzx eax, cl
movzx edx, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
movzx eax, cl
movzx edx, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
movzx edx, byte [ebp - 0x49]
movzx ecx, byte [eax + 2]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
movzx edx, byte [ebp - 0x4a]
movzx ecx, byte [eax + 1]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
movzx edx, byte [ebp - 0x4b]
movzx ecx, byte [eax]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc dword [ebp - 0x24]
dec ebx
jne 0x70a16c
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70a135
jmp 0x70a7d6
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70a7d6
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70a45c
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0xff00ff
je 0x70a3bf
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 3], 0x10
jbe 0x70a3bf
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax + 3]
movzx edx, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
shr eax, 2
add cl, al
movzx eax, cl
movzx edx, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
movzx eax, cl
movzx edx, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
movzx eax, cl
movzx edx, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x60], eax
movzx eax, byte [ebp - 0x49]
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 2]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x60]
mov byte [edx + 2], al
movzx eax, byte [ebp - 0x4a]
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 1]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x60]
mov byte [edx + 1], al
movzx eax, byte [ebp - 0x4b]
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x60]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x60]
mov byte [edx], al
jmp 0x70a453
cmp byte [ebp + 0x14], 0
je 0x70a453
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x70a453
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x70a453
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x70a45c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x70a45c
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00653ec8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx edx, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x64]
movzx edx, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x64]
movzx edx, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x70a2b7
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70a27b
jmp 0x70a7d6
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x70a5cc
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70a7d6
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70a5bb
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
shr eax, 2
add cl, al
movzx eax, cl
movzx edx, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
movzx eax, cl
movzx edx, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
movzx eax, cl
movzx edx, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
movzx edx, byte [ebp - 0x49]
movzx ecx, byte [eax + 2]
sub edx, ecx
mov ecx, dword [ebp - 0x68]
movzx ecx, byte [ecx + 3]
imul edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
movzx edx, byte [ebp - 0x4a]
movzx ecx, byte [eax + 1]
sub edx, ecx
mov ecx, dword [ebp - 0x68]
movzx ecx, byte [ecx + 3]
imul edx, ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
movzx edx, byte [ebp - 0x4b]
movzx ecx, byte [eax]
sub edx, ecx
mov ecx, dword [ebp - 0x68]
movzx ecx, byte [ecx + 3]
imul edx, ecx
movzx ecx, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
movzx edx, byte [eax + 3]
mov ecx, 0xff
sub ecx, edx
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 3]
imul ecx, edx
movzx edx, byte [eax + 3]
shl edx, 8
add ecx, edx
shr ecx, 8
mov byte [eax + 3], cl
inc edi
inc esi
dec ebx
jne 0x70a4cc
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70a490
jmp 0x70a7d6
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70a7d6
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70a7ca
inc ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx ecx, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
shr eax, 2
add cl, al
movzx eax, cl
movzx edx, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
movzx eax, cl
movzx edx, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
movzx eax, cl
movzx edx, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0xff00ff
je 0x70a723
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 3], 0x10
jbe 0x70a723
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x70], eax
movzx eax, byte [ebp - 0x49]
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x70]
mov byte [edx + 2], al
movzx eax, byte [ebp - 0x4a]
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x70]
mov byte [edx + 1], al
movzx eax, byte [ebp - 0x4b]
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x6c]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x70]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x70]
mov byte [edx], al
jmp 0x70a7be
cmp byte [ebp + 0x14], 0
je 0x70a7be
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x70a7be
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x70a7be
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x70a7ca
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x70a7ca
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00653ec8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx edx, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x74]
movzx edx, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x74]
movzx edx, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x24]
dec ebx
jne 0x70a625
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70a5e2
cmp byte [ebp + 8], 0
je 0x70b1ec
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x70a7f4
adc eax, 0
dec eax
call fcn.0048eaec
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x70b1ec
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x28]
dec eax
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70a98b
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
cmp dword [eax], 0xff00ff
je 0x70a982
mov eax, dword [ebp - 0x78]
cmp byte [eax + 3], 0x10
jbe 0x70a982
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 2]
shr ecx, 2
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 1]
shr eax, 1
add cl, al
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
shr eax, 2
add cl, al
cmp dword [ebp + 0xc], 0
jne 0x70a8be
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
shr eax, 2
mov byte [ebp - 0x4c], al
jmp 0x70a8e0
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
shr eax, 2
movzx edx, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
movzx eax, cl
movzx edx, byte [ebp - 8]
imul edx
shr eax, 8
mov byte [ebp - 0x49], al
movzx eax, cl
movzx edx, byte [ebp - 7]
imul edx
shr eax, 8
mov byte [ebp - 0x4a], al
movzx eax, cl
movzx edx, byte [ebp - 6]
imul edx
shr eax, 8
mov byte [ebp - 0x4b], al
movzx eax, byte [ebp - 0x49]
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 2]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x7c]
mov byte [edx + 2], al
movzx eax, byte [ebp - 0x4a]
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 1]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x7c]
mov byte [edx + 1], al
movzx eax, byte [ebp - 0x4b]
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x7c]
mov byte [edx], al
inc edi
inc esi
dec ebx
jne 0x70a84f
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70a812
jmp 0x70b1ec
cmp dword [ebp + 0xc], 0
je 0x70acba
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x70aab4
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70b050
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70aaa3
inc ebx
mov dword [ebp - 0x24], 0
mov edi, dword [ebp - 0xb4]
add edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0xc4]
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax + 3]
movzx edx, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + 2]
movzx ecx, byte [eax + 2]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx + 1]
movzx ecx, byte [eax + 1]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, dword [ebp - 0x80]
movzx edx, byte [edx]
movzx ecx, byte [eax]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc dword [ebp - 0x24]
dec ebx
jne 0x70aa00
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70a9c9
jmp 0x70b050
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70b050
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70aca9
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp dword [eax], 0xff00ff
je 0x70abfc
mov eax, dword [ebp - 0x84]
cmp byte [eax + 3], 0x10
jbe 0x70abfc
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax + 3]
movzx edx, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 2]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x88]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 1]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x88]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx]
sub eax, edx
movzx edx, byte [ebp - 0x4c]
imul edx
mov edx, dword [ebp - 0x88]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x88]
mov byte [edx], al
jmp 0x70aca0
cmp byte [ebp + 0x14], 0
je 0x70aca0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x70aca0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x70aca0
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x70aca9
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x70aca9
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00653ec8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx edx, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x8c]
movzx edx, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x8c]
movzx edx, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x70ab06
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70aaca
jmp 0x70b050
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x70ae20
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70b050
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70ae0f
inc ebx
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x90]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x90]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x94]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x90]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x90]
mov byte [edx], al
mov eax, dword [ebp - 0x94]
movzx edx, byte [eax + 3]
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax + 3]
call fcn.0048eb94
mov edx, dword [ebp - 0x90]
mov byte [edx + 3], al
inc edi
inc esi
dec ebx
jne 0x70ad19
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70acdd
jmp 0x70b050
mov eax, dword [ebp - 0x2c]
test eax, eax
jl 0x70b050
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70b044
inc ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp dword [eax], 0xff00ff
je 0x70af8d
mov eax, dword [ebp - 0x98]
cmp byte [eax + 3], 0x10
jbe 0x70af8d
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 2]
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 2]
sub eax, edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x9c]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 1]
sub eax, edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x9c]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx]
sub eax, edx
mov edx, dword [ebp - 0x98]
movzx edx, byte [edx + 3]
imul edx
mov edx, dword [ebp - 0x9c]
movzx edx, byte [edx]
shl edx, 8
add eax, edx
shr eax, 8
mov edx, dword [ebp - 0x9c]
mov byte [edx], al
mov eax, dword [ebp - 0x98]
movzx edx, byte [eax + 3]
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax + 3]
call fcn.0048eb94
mov edx, dword [ebp - 0x9c]
mov byte [edx + 3], al
jmp 0x70b038
cmp byte [ebp + 0x14], 0
je 0x70b038
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jge 0x70b038
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
test eax, eax
jl 0x70b038
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, edi
cmp eax, dword [ebp - 0x48]
jge 0x70b044
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x28]
test eax, eax
jl 0x70b044
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00653ec8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
movzx edx, byte [ebp - 8]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0xa0]
movzx edx, byte [ebp - 7]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0xa0]
movzx edx, byte [ebp - 6]
mov byte [eax], dl
inc edi
inc esi
inc dword [ebp - 0x24]
dec ebx
jne 0x70ae79
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70ae36
cmp byte [ebp + 8], 0
je 0x70b1ec
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0xa8]
dec edx
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x70b06e
adc eax, 0
dec eax
call fcn.0048eaec
mov dword [ebp - 0x2c], eax
mov eax, 0xff
cdq
idiv dword [ebp - 0x3c]
mov byte [ebp - 5], al
mov byte [ebp - 8], 0xff
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x70b1ec
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x28]
dec eax
imul dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x28]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jl 0x70b1d9
inc ebx
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp dword [eax], 0xff00ff
je 0x70b1d0
mov eax, dword [ebp - 0xa4]
cmp byte [eax + 3], 0x10
jbe 0x70b1d0
cmp dword [ebp + 0xc], 0
jne 0x70b131
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
movzx edx, byte [ebp - 8]
imul edx
shr eax, 9
mov byte [ebp - 0x4c], al
jmp 0x70b15c
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax + 3]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
imul edx
cdq
idiv dword [ebp - 0x2c]
movzx edx, byte [ebp - 8]
imul edx
shr eax, 9
movzx edx, byte [ebp - 0x4d]
imul edx
shr eax, 8
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x18]
lea eax, [eax + edi*4]
mov edx, dword [ebp - 0xa4]
movzx edx, byte [edx + 2]
movzx ecx, byte [eax + 2]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov edx, dword [ebp - 0xa4]
movzx edx, byte [edx + 1]
movzx ecx, byte [eax + 1]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, dword [ebp - 0xa4]
movzx edx, byte [edx]
movzx ecx, byte [eax]
sub edx, ecx
movzx ecx, byte [ebp - 0x4c]
imul edx, ecx
movzx ecx, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc edi
inc esi
dec ebx
jne 0x70b0d9
movzx eax, byte [ebp - 5]
sub byte [ebp - 8], al
inc dword [ebp - 0x28]
dec dword [ebp - 0x54]
jne 0x70b09c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18