Function at 0x61347c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x88]
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 - 0x78]
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
cmp dword [ebp + 0x1c], 0
je 0x6149fe
mov dl, 7
mov eax, dword [ebp + 0x1c]
call fcn.00508604
lea eax, [ebp - 0x88]
mov dl, 1
call fcn.006bd050
push eax
lea eax, [ebp - 0x78]
mov dl, 1
call fcn.006bd050
pop edx
call fcn.0043b044
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x74]
mov eax, edi
call fcn.0043b044
mov edi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x84]
mov eax, edi
call fcn.0043b044
dec eax
mov edi, eax
test edi, edi
jl 0x6149fe
lea eax, [ebp - 0x88]
mov dl, 1
call fcn.006bd03c
push eax
lea eax, [ebp - 0x78]
mov dl, 1
call fcn.006bd03c
pop edx
call fcn.0043b044
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x28]
call fcn.0043b044
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x28]
call fcn.0043b044
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x6149fe
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x78]
jle 0x6135f1
cmp dword [ebp - 0x78], 0
jge 0x6135b1
mov eax, dword [ebp - 0x78]
neg eax
add dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
neg eax
sub dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x28]
call fcn.0043b044
dec eax
mov dword [ebp - 0x28], eax
jmp 0x6135f1
cmp dword [ebp - 0x88], 0
jge 0x6135f1
mov eax, dword [ebp - 0x88]
neg eax
add dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
neg eax
sub dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x28]
call fcn.0043b044
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x74]
jle 0x613672
cmp dword [ebp - 0x74], 0
jge 0x613635
mov eax, dword [ebp - 0x74]
neg eax
add dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
neg eax
sub edi, eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x84]
mov eax, edi
call fcn.0043b044
dec eax
mov edi, eax
jmp 0x613672
cmp dword [ebp - 0x84], 0
jge 0x613672
mov eax, dword [ebp - 0x84]
neg eax
add dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x84]
neg eax
sub edi, eax
xor eax, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x74]
mov eax, edi
call fcn.0043b044
dec eax
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x28]
call fcn.0043b044
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
sub edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x28]
call fcn.0043b044
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x70]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 0x1c]
call fcn.0060bc78
test al, al
je 0x6149fe
lea ecx, [ebp - 0x18]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0060bc78
test al, al
je 0x6149fe
cmp dword [ebp + 0x10], 0x1fffffff
je 0x6142ec
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
movzx edx, byte [ebp - 0x2f]
movzx eax, byte [ebp - 0x30]
call fcn.0043b10c
mov byte [ebp - 0x36], al
movzx edx, byte [ebp - 0x36]
movzx eax, byte [ebp - 0x2e]
call fcn.0043b10c
mov dl, 0xff
sub dl, al
mov byte [ebp - 0x36], dl
movzx eax, byte [ebp - 0x36]
add byte [ebp - 0x30], al
movzx eax, byte [ebp - 0x36]
add byte [ebp - 0x2f], al
movzx eax, byte [ebp - 0x36]
add byte [ebp - 0x2e], al
movzx eax, byte [ebp - 0x30]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fdiv dword [0x614a08]
fstp qword [ebp - 0x40]
wait
movzx eax, byte [ebp - 0x2f]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fdiv dword [0x614a08]
fstp qword [ebp - 0x48]
wait
movzx eax, byte [ebp - 0x2e]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fdiv dword [0x614a08]
fstp qword [ebp - 0x50]
wait
cmp dword [ebp + 0xc], 0
je 0x613bff
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x61396c
test edi, edi
jl 0x614062
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x61395b
inc esi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
add ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp - 0x31]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x36], al
movzx eax, byte [ebp - 0x32]
movzx edx, byte [ebp - 0x33]
add eax, edx
movzx edx, byte [ebp - 0x34]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea ebx, [eax + edx*4]
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x40]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [ebx + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [ebx + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [ebx + 2], al
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x48]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [ebx + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [ebx + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [ebx + 1], al
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x50]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [ebx]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [ebx]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [ebx], al
inc dword [ebp - 0x20]
dec esi
jne 0x6137d2
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x61379e
jmp 0x614062
test edi, edi
jl 0x614062
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x613bee
inc esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xff00ff
je 0x613b37
movzx eax, byte [ebp - 0x31]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x36], al
movzx eax, byte [ebp - 0x32]
movzx edx, byte [ebp - 0x33]
add eax, edx
movzx edx, byte [ebp - 0x34]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea edi, [eax + edx*4]
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x40]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi + 2], al
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x48]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi + 1], al
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x50]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi], al
jmp 0x613be3
cmp byte [ebp + 0x14], 0
je 0x613be3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x24]
cmp eax, edx
jle 0x613be7
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x2c]
cmp eax, edx
jle 0x613bee
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x613bee
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x2c]
test eax, eax
jl 0x613be7
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.005072ac
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx edx, byte [ebp - 0x30]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x58]
movzx edx, byte [ebp - 0x2f]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x58]
movzx edx, byte [ebp - 0x2e]
mov byte [eax], dl
inc dword [ebp - 0x2c]
inc ebx
dec esi
jne 0x6139b8
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x61397f
jmp 0x614062
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x613dd4
test edi, edi
jl 0x614062
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x613dc3
inc esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp - 0x32]
movzx edx, byte [ebp - 0x33]
add eax, edx
movzx edx, byte [ebp - 0x34]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea edi, [eax + edx*4]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x40]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi + 2], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x48]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi + 1], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x50]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi], al
inc dword [ebp - 0x2c]
inc ebx
dec esi
jne 0x613c58
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x613c1f
jmp 0x614062
test edi, edi
jl 0x614062
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x614056
inc esi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp - 0x32]
movzx edx, byte [ebp - 0x33]
add eax, edx
movzx edx, byte [ebp - 0x34]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x35], al
cmp dword [ebp - 0x34], 0xff00ff
je 0x613f99
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea edi, [eax + edx*4]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x40]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi + 2], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x48]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi + 1], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 3]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x50]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
movzx eax, byte [edi]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
movzx eax, byte [edi]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov byte [edi], al
jmp 0x614048
cmp byte [ebp + 0x14], 0
je 0x614048
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x24]
cmp eax, edx
jle 0x61404c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x2c]
cmp eax, edx
jle 0x614056
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x614056
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x2c]
test eax, eax
jl 0x61404c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.005072ac
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx edx, byte [ebp - 0x30]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x5c]
movzx edx, byte [ebp - 0x2f]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x5c]
movzx edx, byte [ebp - 0x2e]
mov byte [eax], dl
inc dword [ebp - 0x2c]
inc ebx
inc dword [ebp - 0x20]
dec esi
jne 0x613e27
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x613de7
cmp byte [ebp + 8], 0
je 0x6149fe
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x6c]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x614088
adc eax, 0
dec eax
pop edx
call fcn.0043b044
mov edi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x6140a0
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x30], 0xff
test edi, edi
jle 0x6149fe
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x24]
dec eax
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x6142d4
inc esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xff00ff
je 0x6142c9
cmp dword [ebp + 0xc], 0
jne 0x614134
movzx eax, byte [ebp - 0x31]
mov edx, edi
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x30]
imul edx
shr eax, 9
mov byte [ebp - 0x36], al
jmp 0x614160
movzx eax, byte [ebp - 0x31]
mov edx, edi
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x30]
imul edx
shr eax, 9
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x36], al
movzx eax, byte [ebp - 0x32]
movzx edx, byte [ebp - 0x33]
add eax, edx
movzx edx, byte [ebp - 0x34]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
mov dword [ebp - 0x60], eax
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x40]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax + 2]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov edx, dword [ebp - 0x60]
mov byte [edx + 2], al
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x48]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax + 1]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov edx, dword [ebp - 0x60]
mov byte [edx + 1], al
movzx eax, byte [ebp - 0x36]
xor edx, edx
push edx
push eax
movzx eax, byte [ebp - 0x35]
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fmul qword [ebp - 0x50]
call fcn.00406ef4
push edx
push eax
push 0
push 0xff
call fcn.0043b04c
push edx
push eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040b298
push edx
push eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shrd eax, edx, 8
shr edx, 8
mov edx, dword [ebp - 0x60]
mov byte [edx], al
inc dword [ebp - 0x2c]
inc ebx
dec esi
jne 0x6140fc
movzx eax, byte [ebp - 0x2d]
sub byte [ebp - 0x30], al
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x6140c5
jmp 0x6149fe
cmp dword [ebp + 0xc], 0
je 0x6145ad
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x6143ff
test edi, edi
jl 0x614883
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x6143ee
inc esi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
add ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp - 0x31]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
movzx edx, byte [ebp - 0x32]
movzx ecx, byte [eax + 2]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
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 - 0x33]
movzx ecx, byte [eax + 1]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
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 - 0x34]
movzx ecx, byte [eax]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
imul edx, ecx
movzx ecx, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc dword [ebp - 0x20]
dec esi
jne 0x61434a
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x614316
jmp 0x614883
test edi, edi
jl 0x614883
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x61459c
inc esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xff00ff
je 0x6144e5
movzx eax, byte [ebp - 0x31]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
movzx edx, byte [ebp - 0x32]
movzx ecx, byte [eax + 2]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
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 - 0x33]
movzx ecx, byte [eax + 1]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
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 - 0x34]
movzx ecx, byte [eax]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
imul edx, ecx
movzx ecx, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
jmp 0x614591
cmp byte [ebp + 0x14], 0
je 0x614591
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x24]
cmp eax, edx
jle 0x614595
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x2c]
cmp eax, edx
jle 0x61459c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x61459c
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x2c]
test eax, eax
jl 0x614595
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.005072ac
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx edx, byte [ebp - 0x30]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x64]
movzx edx, byte [ebp - 0x2f]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x64]
movzx edx, byte [ebp - 0x2e]
mov byte [eax], dl
inc dword [ebp - 0x2c]
inc ebx
dec esi
jne 0x61444b
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x614412
jmp 0x614883
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x6146b7
test edi, edi
jl 0x614883
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x6146a6
inc esi
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea edi, [eax + edx*4]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 2]
movzx edx, byte [edi + 2]
sub eax, edx
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
imul edx
movzx edx, byte [edi + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov byte [edi + 2], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 1]
movzx edx, byte [edi + 1]
sub eax, edx
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
imul edx
movzx edx, byte [edi + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov byte [edi + 1], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4]
movzx edx, byte [edi]
sub eax, edx
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
imul edx
movzx edx, byte [edi]
shl edx, 8
add eax, edx
shr eax, 8
mov byte [edi], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
movzx eax, byte [eax + edx*4 + 3]
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
call fcn.0043b10c
mov byte [edi + 3], al
inc dword [ebp - 0x2c]
inc ebx
dec esi
jne 0x614606
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x6145cd
jmp 0x614883
test edi, edi
jl 0x614883
inc edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x614877
inc esi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xff00ff
je 0x6147ba
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea edi, [eax + edx*4]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 2]
movzx edx, byte [edi + 2]
sub eax, edx
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
imul edx
movzx edx, byte [edi + 2]
shl edx, 8
add eax, edx
shr eax, 8
mov byte [edi + 2], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4 + 1]
movzx edx, byte [edi + 1]
sub eax, edx
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
imul edx
movzx edx, byte [edi + 1]
shl edx, 8
add eax, edx
shr eax, 8
mov byte [edi + 1], al
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + ebx*4]
movzx edx, byte [edi]
sub eax, edx
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
imul edx
movzx edx, byte [edi]
shl edx, 8
add eax, edx
shr eax, 8
mov byte [edi], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
movzx eax, byte [eax + edx*4 + 3]
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + ebx*4 + 3]
call fcn.0043b10c
mov byte [edi + 3], al
jmp 0x614869
cmp byte [ebp + 0x14], 0
je 0x614869
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x24]
cmp eax, edx
jle 0x61486d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x2c]
cmp eax, edx
jle 0x614877
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
test eax, eax
jl 0x614877
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x2c]
test eax, eax
jl 0x61486d
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.005072ac
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx edx, byte [ebp - 0x30]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x68]
movzx edx, byte [ebp - 0x2f]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x68]
movzx edx, byte [ebp - 0x2e]
mov byte [eax], dl
inc dword [ebp - 0x2c]
inc ebx
inc dword [ebp - 0x20]
dec esi
jne 0x61470a
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x6146ca
cmp byte [ebp + 8], 0
je 0x6149fe
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x6c]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x6148a9
adc eax, 0
dec eax
pop edx
call fcn.0043b044
mov edi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x30], 0xff
test edi, edi
jle 0x6149fe
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x24]
dec eax
imul dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x24]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x28]
test esi, esi
jl 0x6149eb
inc esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xff00ff
je 0x6149e0
cmp dword [ebp + 0xc], 0
jne 0x61494e
movzx eax, byte [ebp - 0x31]
mov edx, edi
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x30]
imul edx
shr eax, 9
mov byte [ebp - 0x36], al
jmp 0x61497a
movzx eax, byte [ebp - 0x31]
mov edx, edi
sub edx, dword [ebp - 0x24]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x30]
imul edx
shr eax, 9
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
movzx edx, byte [ebp - 0x32]
movzx ecx, byte [eax + 2]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
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 - 0x33]
movzx ecx, byte [eax + 1]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
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 - 0x34]
movzx ecx, byte [eax]
sub edx, ecx
movzx ecx, byte [ebp - 0x36]
imul edx, ecx
movzx ecx, byte [eax]
shl ecx, 8
add edx, ecx
shr edx, 8
mov byte [eax], dl
inc dword [ebp - 0x2c]
inc ebx
dec esi
jne 0x614916
movzx eax, byte [ebp - 0x2d]
sub byte [ebp - 0x30], al
inc dword [ebp - 0x24]
dec dword [ebp - 0x54]
jne 0x6148df
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18