Function at 0x5b9ecc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x1e4]
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 - 0x1d4]
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 0x5bbb8e
mov dl, 7
mov eax, dword [ebp + 0x1c]
call fcn.004615e0
lea eax, [ebp - 0x1d4]
mov dl, 1
call fcn.005df3b4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x1e4]
mov dl, 1
call fcn.005df3b4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jge 0x5b9f37
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
jmp 0x5b9f3d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x58], eax
cmp edi, dword [ebp - 0x58]
jge 0x5b9f5b
mov dword [ebp - 0x5c], edi
jmp 0x5b9f61
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x60], eax
cmp edi, dword [ebp - 0x60]
jge 0x5b9f7f
mov dword [ebp - 0x64], edi
jmp 0x5b9f85
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov edi, dword [ebp - 0x64]
dec edi
test edi, edi
jl 0x5bbb8e
lea eax, [ebp - 0x1d4]
mov dl, 1
call fcn.005df3a0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x1e4]
mov dl, 1
call fcn.005df3a0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jge 0x5b9fc1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
jmp 0x5b9fc7
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x74]
jge 0x5b9fee
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
jmp 0x5b9ff4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
sub eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x7c]
jge 0x5ba01b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
jmp 0x5ba021
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x5bbb8e
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [ebp - 0x1d4]
jle 0x5ba0af
cmp dword [ebp - 0x1d4], 0
jge 0x5ba119
mov eax, dword [ebp - 0x1d4]
neg eax
add dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1d4]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
sub eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x84]
jge 0x5ba097
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
jmp 0x5ba0a3
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x14], eax
jmp 0x5ba119
cmp dword [ebp - 0x1e4], 0
jge 0x5ba119
mov eax, dword [ebp - 0x1e4]
neg eax
add dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1e4]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x8c]
jge 0x5ba103
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x90], eax
jmp 0x5ba10f
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1e0]
cmp eax, dword [ebp - 0x1d0]
jle 0x5ba18d
cmp dword [ebp - 0x1d0], 0
jge 0x5ba1ed
mov eax, dword [ebp - 0x1d0]
neg eax
add dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1d0]
neg eax
sub edi, eax
xor eax, eax
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x94], eax
cmp edi, dword [ebp - 0x94]
jge 0x5ba178
mov dword [ebp - 0x98], edi
jmp 0x5ba184
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov edi, dword [ebp - 0x98]
dec edi
jmp 0x5ba1ed
cmp dword [ebp - 0x1e0], 0
jge 0x5ba1ed
mov eax, dword [ebp - 0x1e0]
neg eax
add dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1e0]
neg eax
sub edi, eax
xor eax, eax
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x9c], eax
cmp edi, dword [ebp - 0x9c]
jge 0x5ba1da
mov dword [ebp - 0xa0], edi
jmp 0x5ba1e6
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov edi, dword [ebp - 0xa0]
dec edi
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xa4]
jge 0x5ba217
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa8], eax
jmp 0x5ba223
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
sub eax, dword [ebp - 0x1e4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xac]
jge 0x5ba256
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb0], eax
jmp 0x5ba262
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0x1fffffff
je 0x5bb392
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fdiv dword [0x5bbb98]
fstp qword [ebp - 0x30]
wait
movzx eax, byte [ebp - 0x1b]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fdiv dword [0x5bbb98]
fstp qword [ebp - 0x38]
wait
movzx eax, byte [ebp - 0x1a]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fdiv dword [0x5bbb98]
fstp qword [ebp - 0x40]
wait
cmp dword [ebp + 0xc], 0
je 0x5ba95c
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x5ba5cf
test edi, edi
jl 0x5bafe5
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5ba5be
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 0x1d4]
add ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1e4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x30]
call fcn.00404798
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
jne 0x5ba3c5
cmp dword [ebp - 0xb8], 0xff
jae 0x5ba3e1
jmp 0x5ba3c7
jge 0x5ba3e1
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
jmp 0x5ba3f5
mov dword [ebp - 0xc0], 0xff
mov dword [ebp - 0xbc], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xbc]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x38]
call fcn.00404798
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0
jne 0x5ba47e
cmp dword [ebp - 0xc8], 0xff
jae 0x5ba49a
jmp 0x5ba480
jge 0x5ba49a
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
jmp 0x5ba4ae
mov dword [ebp - 0xd0], 0xff
mov dword [ebp - 0xcc], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xcc]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x40]
call fcn.00404798
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0
jne 0x5ba537
cmp dword [ebp - 0xd8], 0xff
jae 0x5ba553
jmp 0x5ba539
jge 0x5ba553
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
jmp 0x5ba567
mov dword [ebp - 0xe0], 0xff
mov dword [ebp - 0xdc], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xdc]
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4]
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
and al, 0xff
mov byte [esi + ebx*4], al
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x5ba334
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5ba2f7
jmp 0x5bafe5
test edi, edi
jl 0x5bafe5
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5ba94b
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x5ba8a2
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x30]
call fcn.00404798
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
jne 0x5ba6b0
cmp dword [ebp - 0xe8], 0xff
jae 0x5ba6cc
jmp 0x5ba6b2
jge 0x5ba6cc
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
jmp 0x5ba6e0
mov dword [ebp - 0xf0], 0xff
mov dword [ebp - 0xec], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x30]
call fcn.00404798
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
cmp dword [ebp - 0xf4], 0
jne 0x5ba769
cmp dword [ebp - 0xf8], 0xff
jae 0x5ba785
jmp 0x5ba76b
jge 0x5ba785
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
jmp 0x5ba799
mov dword [ebp - 0x100], 0xff
mov dword [ebp - 0xfc], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x30]
call fcn.00404798
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0
jne 0x5ba822
cmp dword [ebp - 0x108], 0xff
jae 0x5ba83e
jmp 0x5ba824
jge 0x5ba83e
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
jmp 0x5ba852
mov dword [ebp - 0x110], 0xff
mov dword [ebp - 0x10c], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4]
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
and al, 0xff
mov byte [esi + ebx*4], al
jmp 0x5ba93e
cmp byte [ebp + 0x14], 0
je 0x5ba93e
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 - 0x1d0]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x5ba942
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, ebx
cmp eax, edx
jle 0x5ba94b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x1d0]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x5ba94b
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x5ba942
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00460284
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x1d0]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5ba627
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5ba5e2
jmp 0x5bafe5
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x5bac4c
test edi, edi
jl 0x5bafe5
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x70]
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bac3b
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x30]
call fcn.00404798
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
cmp dword [ebp - 0x114], 0
jne 0x5baa2c
cmp dword [ebp - 0x118], 0xff
jae 0x5baa48
jmp 0x5baa2e
jge 0x5baa48
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
jmp 0x5baa5c
mov dword [ebp - 0x120], 0xff
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x38]
call fcn.00404798
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 0
jne 0x5baaec
cmp dword [ebp - 0x128], 0xff
jae 0x5bab08
jmp 0x5baaee
jge 0x5bab08
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
jmp 0x5bab1c
mov dword [ebp - 0x130], 0xff
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x40]
call fcn.00404798
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
cmp dword [ebp - 0x134], 0
jne 0x5babac
cmp dword [ebp - 0x138], 0xff
jae 0x5babc8
jmp 0x5babae
jge 0x5babc8
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x13c], eax
jmp 0x5babdc
mov dword [ebp - 0x140], 0xff
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4]
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
and al, 0xff
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5ba9c9
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5ba97c
jmp 0x5bafe5
test edi, edi
jl 0x5bafe5
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bafd9
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
cmp dword [ebp - 0x20], 0xff00ff
je 0x5baf22
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x30]
call fcn.00404798
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
cmp dword [ebp - 0x144], 0
jne 0x5bad1b
cmp dword [ebp - 0x148], 0xff
jae 0x5bad37
jmp 0x5bad1d
jge 0x5bad37
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
jmp 0x5bad4b
mov dword [ebp - 0x150], 0xff
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14c]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x38]
call fcn.00404798
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 0
jne 0x5baddb
cmp dword [ebp - 0x158], 0xff
jae 0x5badf7
jmp 0x5baddd
jge 0x5badf7
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
jmp 0x5bae0b
mov dword [ebp - 0x160], 0xff
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x40]
call fcn.00404798
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
cmp dword [ebp - 0x164], 0
jne 0x5bae9b
cmp dword [ebp - 0x168], 0xff
jae 0x5baeb7
jmp 0x5bae9d
jge 0x5baeb7
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
jmp 0x5baecb
mov dword [ebp - 0x170], 0xff
mov dword [ebp - 0x16c], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0x16c]
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4]
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
and al, 0xff
mov byte [esi + ebx*4], al
jmp 0x5bafc9
cmp byte [ebp + 0x14], 0
je 0x5bafc9
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 - 0x1d0]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x5bafcd
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, ebx
cmp eax, edx
jle 0x5bafd9
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x1d0]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x5bafd9
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x5bafcd
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00460284
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x1d0]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x1d4]
add edx, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x5bacab
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5bac5f
cmp byte [ebp + 8], 0
je 0x5bbb8e
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x5baffe
adc eax, 0
dec eax
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x1c8]
dec eax
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x178]
jge 0x5bb036
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
jmp 0x5bb042
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov edi, dword [ebp - 0x17c]
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x5bb057
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x19], al
mov byte [ebp - 0x1c], 0xff
test edi, edi
jle 0x5bbb8e
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x1c8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1d8]
sub edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bb37a
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x5bb36d
cmp dword [ebp + 0xc], 0
jne 0x5bb0fd
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov byte [ebp - 0x22], al
jmp 0x5bb129
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [ebp - 0x1f]
add eax, edx
movzx edx, byte [ebp - 0x20]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x21], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x30]
call fcn.00404798
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], edx
cmp dword [ebp - 0x184], 0
jne 0x5bb180
cmp dword [ebp - 0x188], 0xff
jae 0x5bb19c
jmp 0x5bb182
jge 0x5bb19c
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
jmp 0x5bb1b0
mov dword [ebp - 0x190], 0xff
mov dword [ebp - 0x18c], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 2]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x38]
call fcn.00404798
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
cmp dword [ebp - 0x194], 0
jne 0x5bb239
cmp dword [ebp - 0x198], 0xff
jae 0x5bb255
jmp 0x5bb23b
jge 0x5bb255
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x19c], eax
jmp 0x5bb269
mov dword [ebp - 0x1a0], 0xff
mov dword [ebp - 0x19c], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x19c]
push edx
push eax
movzx eax, byte [esi + ebx*4 + 1]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4 + 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
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x21]
mov dword [ebp - 0x1e8], eax
fild dword [ebp - 0x1e8]
fmul qword [ebp - 0x40]
call fcn.00404798
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
cmp dword [ebp - 0x1a4], 0
jne 0x5bb2f2
cmp dword [ebp - 0x1a8], 0xff
jae 0x5bb30e
jmp 0x5bb2f4
jge 0x5bb30e
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1ac], eax
jmp 0x5bb322
mov dword [ebp - 0x1b0], 0xff
mov dword [ebp - 0x1ac], 0
movzx eax, byte [ebp - 0x22]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1ac]
push edx
push eax
movzx eax, byte [esi + ebx*4]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040825c
push edx
push eax
movzx eax, byte [esi + ebx*4]
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
and al, 0xff
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5bb0c2
movzx eax, byte [ebp - 0x19]
sub byte [ebp - 0x1c], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5bb07c
jmp 0x5bbb8e
cmp dword [ebp + 0xc], 0
je 0x5bb66b
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x5bb4b9
test edi, edi
jl 0x5bb9ca
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bb4a8
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 0x1d4]
add ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1e4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [esi + ebx*4 + 2]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1f]
movzx edx, byte [esi + ebx*4 + 1]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x20]
movzx edx, byte [esi + ebx*4]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x5bb3f9
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5bb3bc
jmp 0x5bb9ca
test edi, edi
jl 0x5bb9ca
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bb65a
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x5bb5b1
movzx eax, byte [ebp - 0x1d]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x1e]
movzx edx, byte [esi + ebx*4 + 2]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1f]
movzx edx, byte [esi + ebx*4 + 1]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x20]
movzx edx, byte [esi + ebx*4]
sub eax, edx
movzx edx, byte [ebp - 0x22]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
jmp 0x5bb64d
cmp byte [ebp + 0x14], 0
je 0x5bb64d
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 - 0x1d0]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x5bb651
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, ebx
cmp eax, edx
jle 0x5bb65a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x1d0]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x5bb65a
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x5bb651
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00460284
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x1d0]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5bb511
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5bb4cc
jmp 0x5bb9ca
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x20], 0
jne 0x5bb7bc
test edi, edi
jl 0x5bb9ca
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bb7ab
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 2]
movzx edx, byte [esi + ebx*4 + 2]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 2], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 1]
movzx edx, byte [esi + ebx*4 + 1]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 1], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4]
movzx edx, byte [esi + ebx*4]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
movzx edx, byte [esi + ebx*4 + 3]
cmp eax, edx
jge 0x5bb783
movzx eax, byte [esi + ebx*4 + 3]
mov dword [ebp - 0x1b4], eax
jmp 0x5bb794
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov byte [esi + ebx*4 + 3], al
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5bb6d0
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5bb68b
jmp 0x5bb9ca
test edi, edi
jl 0x5bb9ca
inc edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1d0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1e0]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bb9be
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x5bb907
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 2]
movzx edx, byte [esi + ebx*4 + 2]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 2], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 1]
movzx edx, byte [esi + ebx*4 + 1]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4 + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4 + 1], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4]
movzx edx, byte [esi + ebx*4]
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
movzx edx, byte [esi + ebx*4]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [esi + ebx*4], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
movzx edx, byte [esi + ebx*4 + 3]
cmp eax, edx
jge 0x5bb8e7
movzx eax, byte [esi + ebx*4 + 3]
mov dword [ebp - 0x1b8], eax
jmp 0x5bb8f8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx*4 + 3]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov byte [esi + ebx*4 + 3], al
jmp 0x5bb9ae
cmp byte [ebp + 0x14], 0
je 0x5bb9ae
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 - 0x1d0]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x5bb9b2
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, ebx
cmp eax, edx
jle 0x5bb9be
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x1d0]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x5bb9be
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, ebx
test eax, eax
jl 0x5bb9b2
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.00460284
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x1d0]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x1d4]
add edx, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x1c]
mov byte [esi + ebx*4 + 2], al
movzx eax, byte [ebp - 0x1b]
mov byte [esi + ebx*4 + 1], al
movzx eax, byte [ebp - 0x1a]
mov byte [esi + ebx*4], al
inc ebx
inc dword [ebp - 0x18]
inc dword [ebp - 0xc]
dec dword [ebp - 0x48]
jne 0x5bb81b
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5bb7cf
cmp byte [ebp + 8], 0
je 0x5bbb8e
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
sar eax, 1
jns 0x5bb9e3
adc eax, 0
dec eax
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
sub eax, dword [ebp - 0x1c8]
dec eax
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1bc]
cmp eax, dword [ebp - 0x1c0]
jge 0x5bba1b
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c4], eax
jmp 0x5bba27
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
mov edi, dword [ebp - 0x1c4]
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 - 0x19], al
mov byte [ebp - 0x1c], 0xff
test edi, edi
jle 0x5bbb8e
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x1c8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460408
mov esi, eax
mov edx, dword [ebp - 0x1d8]
sub edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.00460408
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x5bbb7b
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xff00ff
je 0x5bbb6e
cmp dword [ebp + 0xc], 0
jne 0x5bbadb
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov byte [ebp - 0x22], al
jmp 0x5bbb07
movzx eax, byte [ebp - 0x1d]
mov edx, edi
sub edx, dword [ebp - 0x10]
imul edx
cdq
idiv edi
movzx edx, byte [ebp - 0x1c]
imul edx
shr eax, 0xa
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x22], al
movzx edx, byte [ebp - 0x1e]
movzx ecx, byte [esi + ebx*4 + 2]
sub edx, ecx
movzx eax, byte [ebp - 0x22]
imul edx, eax
movzx ecx, byte [esi + ebx*4 + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4 + 2], dl
movzx edx, byte [ebp - 0x1f]
movzx ecx, byte [esi + ebx*4 + 1]
sub edx, ecx
imul edx, eax
movzx ecx, byte [esi + ebx*4 + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4 + 1], dl
movzx edx, byte [ebp - 0x20]
movzx ecx, byte [esi + ebx*4]
sub edx, ecx
imul edx, eax
movzx eax, byte [esi + ebx*4]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + ebx*4], dl
inc ebx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x5bbaa0
movzx eax, byte [ebp - 0x19]
sub byte [ebp - 0x1c], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x5bba5a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18