Function at 0x5461fc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x70]
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 - 0x60]
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 0x546ecf
mov dl, 7
mov eax, dword [ebp + 0x1c]
call fcn.0042ea20
lea eax, [ebp - 0x70]
mov dl, 1
call fcn.00557870
push eax
lea eax, [ebp - 0x60]
mov dl, 1
call fcn.00557870
pop edx
call fcn.0042fbd4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
call fcn.0042fbd4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
call fcn.0042fbd4
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x546ecf
lea eax, [ebp - 0x70]
mov dl, 1
call fcn.0055783c
push eax
lea eax, [ebp - 0x60]
mov dl, 1
call fcn.0055783c
pop edx
call fcn.0042fbd4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x1c]
call fcn.0042fbd4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
call fcn.0042fbd4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x546ecf
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x70]
jge 0x54631d
cmp dword [ebp - 0x60], 0
jge 0x546351
mov eax, dword [ebp - 0x60]
neg eax
add dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
neg eax
sub dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
call fcn.0042fbd4
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x546351
cmp dword [ebp - 0x70], 0
jge 0x546351
mov eax, dword [ebp - 0x70]
neg eax
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
neg eax
sub dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x1c]
call fcn.0042fbd4
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x6c]
jge 0x54638f
cmp dword [ebp - 0x5c], 0
jge 0x5463c3
mov eax, dword [ebp - 0x5c]
neg eax
add dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
neg eax
sub dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
call fcn.0042fbd4
dec eax
mov dword [ebp - 0x18], eax
jmp 0x5463c3
cmp dword [ebp - 0x6c], 0
jge 0x5463c3
mov eax, dword [ebp - 0x6c]
neg eax
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x6c]
neg eax
sub dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
sub edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
call fcn.0042fbd4
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x1c]
call fcn.0042fbd4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
sub edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
call fcn.0042fbd4
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0x1fffffff
je 0x54654e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
xor eax, eax
mov al, byte [ebp - 0x28]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fdiv dword [0x546ed8]
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x27]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fdiv dword [0x546ed8]
fstp qword [ebp - 0x40]
wait
xor eax, eax
mov al, byte [ebp - 0x26]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fdiv dword [0x546ed8]
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x54654e
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042daa0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x546542
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5a6d30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
je 0x546536
xor eax, eax
mov al, byte [ebp - 0x2a]
xor edx, edx
mov dl, byte [ebp - 0x2b]
add eax, edx
xor edx, edx
mov dl, byte [ebp - 0x2c]
add eax, edx
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebp - 0x2d], al
xor eax, eax
mov al, byte [ebp - 0x2d]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fmul qword [ebp - 0x38]
call fcn.00402ffc
push edx
push eax
push 0
push 0xff
call fcn.0042fbdc
mov byte [ebp - 0x2a], al
xor eax, eax
mov al, byte [ebp - 0x2d]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fmul qword [ebp - 0x40]
call fcn.00402ffc
push edx
push eax
push 0
push 0xff
call fcn.0042fbdc
mov byte [ebp - 0x2b], al
xor eax, eax
mov al, byte [ebp - 0x2d]
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fmul qword [ebp - 0x48]
call fcn.00402ffc
push edx
push eax
push 0
push 0xff
call fcn.0042fbdc
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x10]
dec dword [ebp - 0x50]
jne 0x546483
inc dword [ebp - 0x14]
dec dword [ebp - 0x4c]
jne 0x54645c
cmp dword [ebp + 0xc], 0
je 0x5468ff
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x10], 0
jne 0x5466ce
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x546cc0
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042daa0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042daa0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x5466bd
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov al, byte [ebp - 0x29]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 2]
xor edx, edx
mov dl, byte [ebp - 0x2a]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 2], dl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
xor edx, edx
mov dl, byte [ebp - 0x2b]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax + 1]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 1], dl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
xor edx, edx
mov dl, byte [ebp - 0x2c]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
inc dword [ebp - 0x10]
dec dword [ebp - 0x50]
jne 0x5465b3
inc dword [ebp - 0x14]
dec dword [ebp - 0x4c]
jne 0x54657b
jmp 0x546cc0
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x546cc0
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042daa0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042daa0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x5468ee
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xff00ff
je 0x546826
xor eax, eax
mov al, byte [ebp - 0x29]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 2]
xor edx, edx
mov dl, byte [ebp - 0x2a]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 2], dl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
xor edx, edx
mov dl, byte [ebp - 0x2b]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax + 1]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 1], dl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
xor edx, edx
mov dl, byte [ebp - 0x2c]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
jmp 0x5468dc
cmp byte [ebp + 0x14], 0
je 0x5468dc
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jle 0x5468e2
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x20]
cmp eax, edx
jle 0x5468ee
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x14]
test eax, eax
jl 0x5468ee
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x20]
test eax, eax
jl 0x5468e2
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0042d930
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x20]
call fcn.00429288
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x28]
mov byte [edx + eax + 2], cl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x27]
mov byte [edx + eax + 1], cl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x26]
mov byte [edx + eax], cl
inc dword [ebp - 0x20]
inc dword [ebp - 0x24]
inc dword [ebp - 0x10]
dec dword [ebp - 0x50]
jne 0x546728
inc dword [ebp - 0x14]
dec dword [ebp - 0x4c]
jne 0x5466e4
jmp 0x546cc0
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0x10], 0
jne 0x546a8e
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x546cc0
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042daa0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042daa0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x546a7d
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0
xor eax, eax
push ebp
push 0x5469cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4 + 2]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 2]
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx + 2], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5469d5
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4 + 1]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 1]
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx + 1], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx]
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx], al
inc dword [ebp - 0x20]
inc dword [ebp - 0x24]
inc dword [ebp - 0x10]
dec dword [ebp - 0x50]
jne 0x546966
inc dword [ebp - 0x14]
dec dword [ebp - 0x4c]
jne 0x546922
jmp 0x546cc0
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x546cc0
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042daa0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x1c]
call fcn.0042daa0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x546cb4
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xff00ff
je 0x546be9
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4 + 2]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 2]
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 2]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx + 2], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4 + 1]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 1]
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx + 1]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx + 1], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4]
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx]
sub eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [edx + ecx*4 + 3]
imul edx
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x20]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x546ca2
cmp byte [ebp + 0x14], 0
je 0x546ca2
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
add edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jle 0x546ca8
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x20]
cmp eax, edx
jle 0x546cb4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x14]
test eax, eax
jl 0x546cb4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x20]
test eax, eax
jl 0x546ca8
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
call fcn.0042d930
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x10]
call fcn.00429288
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x28]
mov byte [edx + eax + 2], cl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x27]
mov byte [edx + eax + 1], cl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cl, byte [ebp - 0x26]
mov byte [edx + eax], cl
inc dword [ebp - 0x20]
inc dword [ebp - 0x24]
inc dword [ebp - 0x10]
dec dword [ebp - 0x50]
jne 0x546ae8
inc dword [ebp - 0x14]
dec dword [ebp - 0x4c]
jne 0x546aa4
cmp byte [ebp + 8], 0
je 0x546ecf
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, dword [ebp - 0x54]
dec eax
push eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x546ce6
adc eax, 0
dec eax
pop edx
call fcn.0042fbd4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x546cff
adc eax, 0
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
mov byte [ebp - 0x25], al
mov byte [ebp - 0x28], 0xff
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x546ecf
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042daa0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x64]
sub edx, dword [ebp - 0x14]
dec edx
mov eax, dword [ebp + 0x1c]
call fcn.0042daa0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jl 0x546ebd
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xff00ff
je 0x546eab
cmp dword [ebp + 0xc], 0
jne 0x546db5
xor eax, eax
mov al, byte [ebp - 0x29]
mov ecx, 3
xor edx, edx
div ecx
xor edx, edx
mov dl, byte [ebp - 0x28]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
xor edx, edx
call fcn.0042fc50
mov byte [ebp - 0x2d], al
jmp 0x546de5
xor eax, eax
mov al, byte [ebp - 0x29]
mov edx, 0x64
sub edx, dword [ebp + 0xc]
imul edx
mov ecx, 0x12c
cdq
idiv ecx
xor edx, edx
mov dl, byte [ebp - 0x28]
imul edx
mov ecx, 0xff
cdq
idiv ecx
xor edx, edx
call fcn.0042fc50
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 2]
xor edx, edx
mov dl, byte [ebp - 0x2a]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax + 2]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 2], dl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
xor edx, edx
mov dl, byte [ebp - 0x2b]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax + 1]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax + 1], dl
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax]
xor edx, edx
mov dl, byte [ebp - 0x2c]
sub edx, eax
xor eax, eax
mov al, byte [ebp - 0x2d]
imul edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
shl eax, 8
add edx, eax
shr edx, 8
and dl, 0xff
mov eax, dword [ebp - 0x20]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], dl
inc dword [ebp - 0x20]
inc dword [ebp - 0x24]
inc dword [ebp - 0x10]
dec dword [ebp - 0x50]
jne 0x546d6c
mov al, byte [ebp - 0x25]
sub byte [ebp - 0x28], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x4c]
jne 0x546d27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18