Function at 0x539e8c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x114]
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 - 0x104]
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 edi, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0
je 0x53addf
mov dl, 7
mov eax, dword [ebp + 0x1c]
call fcn.00435bc8
lea eax, [ebp - 0x104]
mov dl, 1
call fcn.00553748
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x114]
mov dl, 1
call fcn.00553748
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jge 0x539efa
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
jmp 0x539f00
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x100]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x58]
jge 0x539f27
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
jmp 0x539f2d
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x60]
jge 0x539f54
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
jmp 0x539f5a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x53addf
lea eax, [ebp - 0x104]
mov dl, 1
call fcn.00553734
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x114]
mov dl, 1
call fcn.00553734
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jge 0x539f9b
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
jmp 0x539fa1
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x104]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x74]
jge 0x539fc8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
jmp 0x539fce
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x114]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x7c]
jge 0x539ff5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
jmp 0x539ffb
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x53addf
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x104]
jle 0x53a089
cmp dword [ebp - 0x104], 0
jge 0x53a0f3
mov eax, dword [ebp - 0x104]
neg eax
add dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x104]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x114]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x84]
jge 0x53a071
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
jmp 0x53a07d
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x18], eax
jmp 0x53a0f3
cmp dword [ebp - 0x114], 0
jge 0x53a0f3
mov eax, dword [ebp - 0x114]
neg eax
add dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x114]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x104]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x8c]
jge 0x53a0dd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
jmp 0x53a0e9
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x100]
jle 0x53a171
cmp dword [ebp - 0x100], 0
jge 0x53a1db
mov eax, dword [ebp - 0x100]
neg eax
add dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x100]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x94]
jge 0x53a159
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x98], eax
jmp 0x53a165
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x14], eax
jmp 0x53a1db
cmp dword [ebp - 0x110], 0
jge 0x53a1db
mov eax, dword [ebp - 0x110]
neg eax
add dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x110]
neg eax
sub dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x100]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x9c]
jge 0x53a1c5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
jmp 0x53a1d1
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x104]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xa4]
jge 0x53a205
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa8], eax
jmp 0x53a211
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebp - 0x114]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xac]
jge 0x53a244
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb0], eax
jmp 0x53a250
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0x1fffffff
je 0x53a4a2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp - 0x24]
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fdiv dword [0x53ade8]
fstp qword [ebp - 0x30]
wait
movzx eax, byte [ebp - 0x23]
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fdiv dword [0x53ade8]
fstp qword [ebp - 0x38]
wait
movzx eax, byte [ebp - 0x22]
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fdiv dword [0x53ade8]
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x53a4a2
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x110]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00434c64
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53a496
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x28], eax
mov eax, dword [0x639d78]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
je 0x53a48c
movzx eax, byte [ebp - 0x26]
movzx edx, byte [ebp - 0x27]
add eax, edx
movzx edx, byte [ebp - 0x28]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov ebx, eax
movzx eax, bl
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fmul qword [ebp - 0x30]
call fcn.004035d8
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
jne 0x53a364
cmp dword [ebp - 0xb8], 0xff
jae 0x53a380
jmp 0x53a366
jge 0x53a380
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
jmp 0x53a394
mov dword [ebp - 0xc0], 0xff
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xc0]
mov byte [ebp - 0x26], al
movzx eax, bl
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fmul qword [ebp - 0x38]
call fcn.004035d8
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0
jne 0x53a3d7
cmp dword [ebp - 0xc8], 0xff
jae 0x53a3f3
jmp 0x53a3d9
jge 0x53a3f3
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
jmp 0x53a407
mov dword [ebp - 0xd0], 0xff
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xd0]
mov byte [ebp - 0x27], al
movzx eax, bl
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fmul qword [ebp - 0x40]
call fcn.004035d8
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
cmp dword [ebp - 0xd4], 0
jne 0x53a44a
cmp dword [ebp - 0xd8], 0xff
jae 0x53a466
jmp 0x53a44c
jge 0x53a466
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
jmp 0x53a47a
mov dword [ebp - 0xe0], 0xff
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword [eax + esi*4], edx
inc esi
dec dword [ebp - 0x48]
jne 0x53a2f6
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x53a2d1
cmp dword [ebp + 0xc], 0
je 0x53a7e4
cmp byte [edi + 0x10], 0
jne 0x53a5ed
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x53ab62
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x100]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00434c64
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x110]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00434c64
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53a5dc
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
mov eax, dword [ebp - 0x104]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x114]
add eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp - 0x25]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov ebx, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax + 2]
movzx ecx, byte [ebp - 0x26]
sub ecx, edx
movzx edx, bl
imul ecx, edx
mov edx, dword [ebp - 0x1c]
lea edx, [edx + edx*2]
mov edi, dword [ebp - 8]
movzx edx, byte [edi + edx + 2]
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax + 2], cl
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax + 1]
movzx ecx, byte [ebp - 0x27]
sub ecx, edx
movzx edx, bl
imul ecx, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax + 1]
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax + 1], cl
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax]
movzx ecx, byte [ebp - 0x28]
sub ecx, edx
movzx edx, bl
imul ecx, edx
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax]
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax], cl
inc esi
dec dword [ebp - 0x48]
jne 0x53a505
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x53a4cc
jmp 0x53ab62
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x53ab62
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x100]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00434c64
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x110]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00434c64
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53a7d3
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xff00ff
je 0x53a721
movzx eax, byte [ebp - 0x25]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov ebx, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax + 2]
movzx ecx, byte [ebp - 0x26]
sub ecx, edx
movzx edx, bl
imul ecx, edx
mov edx, dword [ebp - 0x1c]
lea edx, [edx + edx*2]
mov esi, dword [ebp - 8]
movzx edx, byte [esi + edx + 2]
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax + 2], cl
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax + 1]
movzx ecx, byte [ebp - 0x27]
sub ecx, edx
movzx edx, bl
imul ecx, edx
mov edx, dword [ebp - 0x1c]
lea edx, [edx + edx*2]
mov esi, dword [ebp - 8]
movzx edx, byte [esi + edx + 1]
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax + 1], cl
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax]
movzx ecx, byte [ebp - 0x28]
sub ecx, edx
movzx edx, bl
imul ecx, edx
mov edx, dword [ebp - 0x1c]
lea edx, [edx + edx*2]
mov ebx, dword [ebp - 8]
movzx edx, byte [ebx + edx]
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax], cl
jmp 0x53a7c4
cmp byte [ebp + 0x14], 0
je 0x53a7c4
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [edi + 8]
add edx, dword [ebp - 0x100]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x53a7ca
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [edi + 4]
add edx, dword [ebp - 0x1c]
cmp eax, edx
jle 0x53a7d3
mov eax, dword [edi + 8]
add eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x53a7d3
mov eax, dword [edi + 4]
add eax, dword [ebp - 0x1c]
test eax, eax
jl 0x53a7ca
mov eax, dword [edi]
call fcn.00434af4
mov ecx, dword [edi + 8]
add ecx, dword [ebp - 0x100]
add ecx, dword [ebp - 0x10]
mov edx, dword [edi + 4]
add edx, dword [ebp - 0x1c]
call fcn.0042fe4c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x24]
mov byte [edx + eax + 2], cl
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x23]
mov byte [edx + eax + 1], cl
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x22]
mov byte [edx + eax], cl
inc dword [ebp - 0x1c]
inc dword [ebp - 0x20]
dec dword [ebp - 0x48]
jne 0x53a64c
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x53a603
jmp 0x53ab62
cmp byte [edi + 0x10], 0
jne 0x53a950
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x53ab62
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x100]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00434c64
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x110]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00434c64
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53a93f
inc eax
mov dword [ebp - 0x48], eax
xor ecx, ecx
push ebp
push 0x53a8a6
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
movzx ecx, byte [ecx + ebx*4 + 2]
mov edx, dword [ebp - 0x1c]
lea edx, [edx + edx*2]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx + 2]
movzx ebx, al
sub ecx, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebx + esi*4 + 3]
imul ecx, ebx
movzx eax, al
shl eax, 8
add ecx, eax
shr ecx, 8
and cl, 0xff
mov eax, dword [ebp - 8]
mov byte [eax + edx + 2], cl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53a8b0
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
movzx ecx, byte [ecx + ebx*4 + 1]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + eax + 1]
movzx ebx, dl
sub ecx, ebx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebx + esi*4 + 3]
imul ecx, ebx
movzx edx, dl
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax + 1], cl
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [edx + ecx*4]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
sub edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
movzx ecx, byte [ecx + ebx*4 + 3]
imul edx, ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + ecx*2]
mov ebx, dword [ebp - 8]
movzx ecx, byte [ebx + ecx]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
inc dword [ebp - 0x1c]
inc dword [ebp - 0x20]
dec dword [ebp - 0x48]
jne 0x53a84d
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x53a804
jmp 0x53ab62
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x53ab62
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x100]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00434c64
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x110]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
call fcn.00434c64
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53ab56
inc eax
mov dword [ebp - 0x48], eax
xor esi, esi
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xff00ff
je 0x53aa9a
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [edx + ecx*4 + 2]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax + 2]
sub edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
movzx ecx, byte [ecx + ebx*4 + 3]
imul edx, ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + ecx*2]
mov ebx, dword [ebp - 8]
movzx ecx, byte [ebx + ecx + 2]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 2], dl
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [edx + ecx*4 + 1]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax + 1]
sub edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
movzx ecx, byte [ecx + ebx*4 + 3]
imul edx, ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + ecx*2]
mov ebx, dword [ebp - 8]
movzx ecx, byte [ebx + ecx + 1]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 1], dl
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [edx + ecx*4]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
sub edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x20]
movzx ecx, byte [ecx + ebx*4 + 3]
imul edx, ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + ecx*2]
mov ebx, dword [ebp - 8]
movzx ecx, byte [ebx + ecx]
shl ecx, 8
add edx, ecx
shr edx, 8
and dl, 0xff
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
jmp 0x53ab46
cmp byte [ebp + 0x14], 0
je 0x53ab46
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [edi + 8]
add edx, dword [ebp - 0x100]
add edx, dword [ebp - 0x10]
cmp eax, edx
jle 0x53ab4c
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [edi + 4]
add edx, dword [ebp - 0x1c]
cmp eax, edx
jle 0x53ab56
mov eax, dword [edi + 8]
add eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x10]
test eax, eax
jl 0x53ab56
mov eax, dword [edi + 4]
add eax, dword [ebp - 0x1c]
test eax, eax
jl 0x53ab4c
mov eax, dword [edi]
call fcn.00434af4
mov ecx, dword [edi + 8]
add ecx, dword [ebp - 0x100]
add ecx, dword [ebp - 0x10]
mov edx, dword [edi + 4]
add edx, dword [ebp - 0x104]
add edx, esi
call fcn.0042fe4c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x24]
mov byte [edx + eax + 2], cl
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x23]
mov byte [edx + eax + 1], cl
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x22]
mov byte [edx + eax], cl
inc dword [ebp - 0x1c]
inc dword [ebp - 0x20]
inc esi
dec dword [ebp - 0x48]
jne 0x53a9b1
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x53a966
cmp byte [ebp + 8], 0
je 0x53addf
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x53ab7b
adc eax, 0
dec eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0xf8]
dec eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xe8]
jge 0x53abb3
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
jmp 0x53abbf
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x53abd7
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x21], al
mov byte [ebp - 0x24], 0xff
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x53addf
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0xf8]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00434c64
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x108]
sub edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.00434c64
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x53adcc
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xff00ff
je 0x53adbd
cmp dword [ebp + 0xc], 0
jne 0x53acbc
movzx eax, byte [ebp - 0x25]
mov ecx, 3
xor edx, edx
div ecx
movzx edx, byte [ebp - 0x24]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
test eax, eax
jle 0x53acac
movzx eax, byte [ebp - 0x25]
mov ecx, 3
xor edx, edx
div ecx
movzx edx, byte [ebp - 0x24]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
mov dword [ebp - 0xf0], eax
jmp 0x53acb4
xor eax, eax
mov dword [ebp - 0xf0], eax
mov ebx, dword [ebp - 0xf0]
jmp 0x53ad1e
movzx eax, byte [ebp - 0x25]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x12c
cdq
idiv ecx
movzx edx, byte [ebp - 0x24]
imul edx
mov ecx, 0xff
cdq
idiv ecx
test eax, eax
jle 0x53ad10
movzx eax, byte [ebp - 0x25]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x12c
cdq
idiv ecx
movzx edx, byte [ebp - 0x24]
imul edx
mov ecx, 0xff
cdq
idiv ecx
mov dword [ebp - 0xf4], eax
jmp 0x53ad18
xor eax, eax
mov dword [ebp - 0xf4], eax
mov ebx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax + 2]
push ecx
movzx ecx, byte [ebp - 0x26]
pop esi
sub ecx, esi
movzx edx, bl
imul ecx, edx
mov esi, dword [ebp - 0x1c]
lea esi, [esi + esi*2]
mov edi, dword [ebp - 8]
movzx esi, byte [edi + esi + 2]
shl esi, 8
add ecx, esi
shr ecx, 8
and cl, 0xff
mov esi, dword [ebp - 8]
mov byte [esi + eax + 2], cl
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax + 1]
push ecx
movzx ecx, byte [ebp - 0x27]
pop esi
sub ecx, esi
imul ecx, edx
mov esi, dword [ebp - 0x1c]
lea esi, [esi + esi*2]
mov edi, dword [ebp - 8]
movzx esi, byte [edi + esi + 1]
shl esi, 8
add ecx, esi
shr ecx, 8
and cl, 0xff
mov esi, dword [ebp - 8]
mov byte [esi + eax + 1], cl
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
push ecx
movzx ecx, byte [ebp - 0x28]
pop esi
sub ecx, esi
imul ecx, edx
mov edx, dword [ebp - 0x1c]
lea edx, [edx + edx*2]
mov ebx, dword [ebp - 8]
movzx edx, byte [ebx + edx]
shl edx, 8
add ecx, edx
shr ecx, 8
and cl, 0xff
mov edx, dword [ebp - 8]
mov byte [edx + eax], cl
inc dword [ebp - 0x1c]
inc dword [ebp - 0x20]
dec dword [ebp - 0x48]
jne 0x53ac49
movzx eax, byte [ebp - 0x21]
sub byte [ebp - 0x24], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x44]
jne 0x53abff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18